misc fixed
This commit is contained in:
@@ -17,6 +17,7 @@ void ap_idle(void)
|
||||
static void ap_wait(void)
|
||||
{
|
||||
while (ap_stop) {
|
||||
barrier();
|
||||
cpu_pause();
|
||||
}
|
||||
|
||||
@@ -44,7 +45,7 @@ void ap_init(void)
|
||||
return;
|
||||
}
|
||||
|
||||
kprintf("BSP HW ID = %d\n", bsp_hw_id);
|
||||
kprintf("BSP HW ID = %d, ", bsp_hw_id);
|
||||
kprintf("AP Booting :");
|
||||
for (i = 0; i < cpu_info->ncpus; i++) {
|
||||
if (cpu_info->hw_ids[i] == bsp_hw_id) {
|
||||
|
||||
@@ -46,6 +46,7 @@ static void page_fault_handler(unsigned long address, void *regs)
|
||||
{
|
||||
kprintf("Page fault for %016lx\n", address);
|
||||
/* TODO */
|
||||
aal_mc_debug_show_interrupt_context(regs);
|
||||
panic("page fault");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user