/* 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;
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
{
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++) {