Parse ACPI MADT table

This commit is contained in:
2025-12-14 01:18:57 +01:00
parent 56f997ba38
commit 9424083576
10 changed files with 461 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/pic.h>
#include <sys/pit.h>
#include <sys/isr.h>
#include <acpi/acpi.h>
#include <mm/pmm.h>
#include <mm/bba.h>
#include <mm/liballoc.h>
@@ -136,16 +137,18 @@ void bootmain(void *mbootptr) {
#if CFG_I386_PC_DEBUG == CFG_I386_PC_DEBUG_SERIAL
serialdbg_init();
dbgf("dbgf() test...\n");
#endif
dbgf("dbgf() test...\n");
dbgf("-------------------------------------------------------------\n");
dump_multiboot_header();
mregmap_init1();
pmm_init1();
bba_init();
mm_init();
ramdisk_init();
pit_init();
acpi_init();
/* ramdisk_init(); */
/* pit_init(); */
__asm__ volatile("sti");