ls1bdev: format code in startup.c

This commit is contained in:
Grissiom 2014-08-18 15:19:06 +08:00
parent bfc140826a
commit 39ac8baeac
1 changed files with 27 additions and 27 deletions

View File

@ -47,9 +47,9 @@ void rtthread_startup(void)
rt_hw_interrupt_init(); rt_hw_interrupt_init();
/* copy vector */ /* copy vector */
memcpy((void *)A_K0BASE, tlb_refill_exception, 0x20); rt_memcpy((void *)A_K0BASE, tlb_refill_exception, 0x20);
memcpy((void *)(A_K0BASE + 0x180), general_exception, 0x20); rt_memcpy((void *)(A_K0BASE + 0x180), general_exception, 0x20);
memcpy((void *)(A_K0BASE + 0x200), irq_exception, 0x20); rt_memcpy((void *)(A_K0BASE + 0x200), irq_exception, 0x20);
/* init board */ /* init board */
rt_hw_board_init(); rt_hw_board_init();