some minor cosmetic fixes

This commit is contained in:
Markus Fröschle
2014-06-21 06:32:25 +00:00
parent bc478f0e0a
commit f61e97a7e0

View File

@@ -442,10 +442,11 @@ void BaS(void)
/* Jump into the OS */ /* Jump into the OS */
typedef void void_func(void); typedef void void_func(void);
typedef struct { struct rom_header
{
void *initial_sp; void *initial_sp;
void_func *initial_pc; void_func *initial_pc;
} ROM_HEADER; };
xprintf("BaS initialization finished, enable interrupts\r\n"); xprintf("BaS initialization finished, enable interrupts\r\n");
enable_coldfire_interrupts(); enable_coldfire_interrupts();
@@ -454,6 +455,6 @@ void BaS(void)
network_init(); network_init();
xprintf("call EmuTOS\r\n"); xprintf("call EmuTOS\r\n");
ROM_HEADER* os_header = (ROM_HEADER*)TOS; struct rom_header *os_header = (struct rom_header *) TOS;
os_header->initial_pc(); os_header->initial_pc();
} }