From 0a3e6ddf63a30ba6a69d8bbf665fc3233f6525e9 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Thu, 9 Jun 2011 15:01:35 +0000 Subject: [PATCH] Add a comment so this doesn't happen anymore git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42069 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/bios_ia32/acpi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/boot/platform/bios_ia32/acpi.cpp b/src/system/boot/platform/bios_ia32/acpi.cpp index 7022be73dd..74bedf873b 100644 --- a/src/system/boot/platform/bios_ia32/acpi.cpp +++ b/src/system/boot/platform/bios_ia32/acpi.cpp @@ -83,6 +83,7 @@ acpi_find_table(const char* signature) + sizeof(acpi_descriptor_header)); for (int32 j = 0; j < sNumEntries; j++, pointer++) { + // Map B_PAGE_SIZE, since the table is bigger than the acpi_descriptor_header acpi_descriptor_header* header = (acpi_descriptor_header*) mmu_map_physical_memory(*pointer, B_PAGE_SIZE, kDefaultPageFlags);