mirror of
https://github.com/acpica/acpica/
synced 2025-02-23 08:54:16 +03:00
Modified to use new OsdMapMemory interface
date 2000.05.09.22.29.00; author mwalz; state Exp;
This commit is contained in:
parent
0456018231
commit
10d90b5716
@ -175,7 +175,12 @@ AmlSystemMemorySpaceHandler (
|
||||
DEBUG_PRINT ((TRACE_OPREGION | VERBOSE_INFO),
|
||||
("Read(%d width) Address:0x%08x\n", BitWidth, Address));
|
||||
|
||||
PhysicalAddrPtr = OsdMapMemory ((void *) Address, 4);
|
||||
Status = OsdMapMemory ((void *) Address, 4, &PhysicalAddrPtr);
|
||||
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
switch (BitWidth)
|
||||
{
|
||||
@ -212,8 +217,13 @@ AmlSystemMemorySpaceHandler (
|
||||
DEBUG_PRINT ((TRACE_OPREGION | VERBOSE_INFO),
|
||||
("Write(%d width) Address:0x%08x Value 0x%08x\n", BitWidth, Address, *Value));
|
||||
|
||||
PhysicalAddrPtr = OsdMapMemory ((void *) Address, 4);
|
||||
Status = OsdMapMemory ((void *) Address, 4, &PhysicalAddrPtr);
|
||||
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
switch (BitWidth)
|
||||
{
|
||||
case 8:
|
||||
|
Loading…
x
Reference in New Issue
Block a user