X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=target_firmware%2Fmagpie_fw_dev%2Ftarget%2Finc%2Fk2%2Fathos_api.h;h=93188fb6d63d769e93722dac20cc67fe5b853077;hb=dff894e0a675f895af2fd827f125947f60147b23;hp=ed3ff66f6526f6d634efed55ff9b5030bcb7e136;hpb=e9e39b3bf6b4de3b609a5e4ec941254aecfe5cf4;p=open-ath9k-htc-firmware.git diff --git a/target_firmware/magpie_fw_dev/target/inc/k2/athos_api.h b/target_firmware/magpie_fw_dev/target/inc/k2/athos_api.h index ed3ff66..93188fb 100755 --- a/target_firmware/magpie_fw_dev/target/inc/k2/athos_api.h +++ b/target_firmware/magpie_fw_dev/target/inc/k2/athos_api.h @@ -56,7 +56,7 @@ /* ROM Patch API */ /* save the ROM printf function point */ -extern uint32_t save_cmnos_printf; +extern int (* save_cmnos_printf)(const char * fmt, ...); extern unsigned int _data_start_in_rom; extern unsigned int _data_start; @@ -82,7 +82,7 @@ struct _A_os_linkage_check { int table; }; -/* +/* * 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 @@ -96,7 +96,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++) {