4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-30 16:30:27 +08:00

ls1bdev: format code in startup.c

This commit is contained in:
Grissiom 2014-08-18 15:19:06 +08:00
parent bfc140826a
commit 39ac8baeac

View File

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