Ignore:
Timestamp:
Jun 22, 2017, 3:13:14 PM (7 years ago)
Author:
max@…
Message:

Parse RSDP->RSDT->MADT, and get the LAPIC PA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/x86_printf.c

    r32 r39  
    2323#include <hal_types.h>
    2424#include <hal_boot.h>
     25#include <hal_internal.h>
    2526
    2627#include <memcpy.h>
     
    3940extern intptr_t iom_base;
    4041size_t cons_ptr __in_kdata = 0;
     42
     43void x86_panic(char *msg)
     44{
     45        x86_printf("!!!!! PANIC !!!!!\n");
     46        x86_printf("-> %s\n", msg);
     47        x86_printf("!!!!!!!!!!!!!!!!!\n");
     48        while (1);
     49}
    4150
    4251static void x86_putc(char c)
Note: See TracChangeset for help on using the changeset viewer.