misc fixed

This commit is contained in:
Taku Shimosawa
2011-11-13 14:43:28 +09:00
parent c264717d8e
commit c5cdd121f6
2 changed files with 3 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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");
}