This commit is contained in:
Taku Shimosawa
2011-10-02 22:35:38 +09:00
parent b06523ebf4
commit a252743223
2 changed files with 13 additions and 3 deletions

View File

@ -8,6 +8,7 @@ extern void arch_init(void);
extern void kmsg_init(void);
extern void mem_init(void);
extern void ikc_master_init(void);
extern void arch_ready(void);
int main(void)
{
@ -21,8 +22,9 @@ int main(void)
ikc_master_init();
cpu_enable_interrupt();
arch_ready();
cpu_enable_interrupt();
while (1) {
cpu_halt();
kprintf("back from halt.\n");