ls1bdev: format code in startup.c
This commit is contained in:
parent
bfc140826a
commit
39ac8baeac
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue