X-Git-Url: https://jxself.org/git/?p=open-ath9k-htc-firmware.git;a=blobdiff_plain;f=target_firmware%2Fmagpie_fw_dev%2Ftarget%2Finc%2Fmagpie%2Fathos_api.h;h=dc7d682f29f4a9171bea3bc500d276ba101b5f0b;hp=010dd638d55c0ec118c6e78966698b96d5388242;hb=6f2219c1ab25d1dfbb5d2de6508212a27f9d7e9c;hpb=7f95fac61c96c91198ad65198c2fa30dfc936286 diff --git a/target_firmware/magpie_fw_dev/target/inc/magpie/athos_api.h b/target_firmware/magpie_fw_dev/target/inc/magpie/athos_api.h index 010dd63..dc7d682 100755 --- a/target_firmware/magpie_fw_dev/target/inc/magpie/athos_api.h +++ b/target_firmware/magpie_fw_dev/target/inc/magpie/athos_api.h @@ -74,11 +74,11 @@ /* HIF support */ #define HIF_MODULE_INSTALL() hif_module_install(&_A_OS_INDIRECTION_TABLE->hif) #define HIF_init(pConfig) A_INDIR(hif._init(pConfig)) -#define HIF_start() A_INDIR(hif._start()) -#define HIF_config_pipe(pipe, desc_list) A_INDIR(hif._config_pipe(pipe, desc_list)) -#define HIF_send_buffer(pipe, buf) A_INDIR(hif._send_buffer(pipe, buf)) -#define HIF_return_recv_buf(pipe, buf) A_INDIR(hif._return_recv_buf(pipe, buf)) -#define HIF_isr_handler() A_INDIR(hif._isr_handler()) +#define HIF_start() A_INDIR(hif._start()) +#define HIF_config_pipe(pipe, desc_list) A_INDIR(hif._config_pipe(pipe, desc_list)) +#define HIF_send_buffer(pipe, buf) A_INDIR(hif._send_buffer(pipe, buf)) +#define HIF_return_recv_buf(pipe, buf) A_INDIR(hif._return_recv_buf(pipe, buf)) +#define HIF_isr_handler() A_INDIR(hif._isr_handler()) #define HIF_is_pipe_supported(pipe) A_INDIR(hif._is_pipe_supported(pipe)) /* VBUF APIs */ @@ -125,13 +125,13 @@ */ typedef struct _A_athos_indirection_table { _A_cmnos_indirection_table_t cmnos; - + /* TBD: to be added */ struct hif_api hif; struct vbuf_api vbuf; struct vdesc_api vdesc; struct htc_apis htc; - //WMI_SVC_APIS wmi_svc_api; + //WMI_SVC_APIS wmi_svc_api; } _A_athos_indirection_table_t; #if 1 @@ -167,7 +167,7 @@ struct _A_os_linkage_check { }; -/* +/* * A_INIT() handles any initialization needed by the OS abstraction, * and it clears the application's BSS, if necessary. (Application BSS * is not cleared if the application is linked into a single image that @@ -181,7 +181,7 @@ A_INIT(void) { struct _A_os_linkage_check link_check; unsigned int *clrptr; - + if (&START_BSS != _A_MAGPIE_INDIRECTION_TABLE->cmnos.start_bss) { /* Clear BSS */ for (clrptr = &START_BSS; clrptr < &END_BSS; clrptr++) {