[SOLVED] ACPICA Corrupted Tables on Qemu
Posted: Fri Dec 07, 2012 1:00 am
I've decided to add ACPICA to my OS, but despite having what seems to be correct implimetations of all the OS shim functions (linked below), the ACPI tables on qemu appear partially corrupted (despite the pointer being correct)
The shim code is avaliable at https://github.com/thepowersgang/acess2 ... 6/acpica.c
(Edit: On Bochs / VirtualBox the tables are sane, and I hit a page fault in the ACPICA code - somewhere around the AML VM from memory - I'm pretty sure that's my fault somehow)
Code: Select all
00000000000000 AcpiOsGetRootPointer[0]: val=FD8C0
ACPI: RSDP *0xFD8C0 00014 (v0 BOCHS )
00000000000000 AcpiOsMapMemory[0]: Map (0x7FFE550+1 pg) to *0xFE000550
ACPI: RSDT *0x7FFE550 00038 (v1 BOCHS BXPCRSDT 00000001 BXPC 00000001)
00000000000000 AcpiOsUnmapMemory[0]: *0xFE000550
00000000000000 AcpiOsMapMemory[0]: Map (0x7FFE550+1 pg) to *0xFE000550
00000000000000 AcpiOsUnmapMemory[0]: *0xFE000550
00000000000000 AcpiOsMapMemory[0]: Map (0x7FFFF80+1 pg) to *0xFE000F80
ACPI: _HID *0x7FFFF80 3D0410C (v3 ?_STA ????)_CR 54080053 MP_? 47150A18)
00000000000000 AcpiOsUnmapMemory[0]: *0xFE000F80
00000000000000 AcpiOsMapMemory[0]: Map (0x7FFFE40+1 pg) to *0xFE000E40
ACPI: ?[?? *0x7FFFE40 4D545048 (v19 END PR D_ ?6_ST 56700041 END` 44525070)
00000000000000 AcpiOsUnmapMemory[0]: *0xFE000E40
00000000000000 AcpiOsMapMemory[0]: Map (0x7FFFD50+1 pg) to *0xFE000D50
ACPI: LNKA *0x7FFFD50 40E1200 (v12 ?? NKB 0B015453 5010815B)
00000000000000 AcpiOsUnmapMemory[0]: *0xFE000D50
00000000000000 AcpiOsMapMemory[0]: Map (0x7FFFD10+1 pg) to *0xFE000D10
ACPI: ??? *0x7FFFD10 4E4C020A (v75 ?? 0D120041 ???? 4C00001F)
00000000000000 AcpiOsUnmapMemory[0]: *0xFE000D10
00000000000000 AcpiOsMapMemory[0]: Map (0x7FFF6C0+1 pg) to *0xFE0006C0
ACPI: KD *0x7FFF6C0 FF0C040E (v25 A 4C000003 NKC 0C040D12)
00000000000000 AcpiOsUnmapMemory[0]: *0xFE0006C0
ACPI Exception: AE_NO_ACPI_TABLES, While loading namespace from ACPI tables (20121114/tbxfload-161)
00000000000000e [ACPI ] 0 - AcpiLoadTables: 2
(Edit: On Bochs / VirtualBox the tables are sane, and I hit a page fault in the ACPICA code - somewhere around the AML VM from memory - I'm pretty sure that's my fault somehow)