Use B_ANY_KERNEL_ADDRESS when mapping physical memory as pointed out by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35588 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f6cace5aa2
commit
6799b0bfe4
@ -434,7 +434,7 @@ AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS where, ACPI_SIZE length)
|
||||
#ifdef _KERNEL_MODE
|
||||
void *there;
|
||||
area_id area = map_physical_memory("acpi_physical_mem_area", (void *)where,
|
||||
length, B_ANY_KERNEL_BLOCK_ADDRESS,
|
||||
length, B_ANY_KERNEL_ADDRESS,
|
||||
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA, &there);
|
||||
|
||||
DEBUG_FUNCTION_F("addr: 0x%08lx; length: %lu; mapped: %p; area: %ld",
|
||||
|
Loading…
Reference in New Issue
Block a user