From: John Hodge Date: Mon, 23 Sep 2013 14:56:29 +0000 (+0800) Subject: Kernel/x86 - Some extra logging in ACPICA shim X-Git-Tag: rel0.15~173 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=35fee1ef2ccac7de86e2d98bc44cbbde9e20375e;p=tpg%2Facess2.git Kernel/x86 - Some extra logging in ACPICA shim --- diff --git a/KernelLand/Kernel/arch/x86/acpica.c b/KernelLand/Kernel/arch/x86/acpica.c index 726feb71..45a73172 100644 --- a/KernelLand/Kernel/arch/x86/acpica.c +++ b/KernelLand/Kernel/arch/x86/acpica.c @@ -531,6 +531,8 @@ ACPI_STATUS AcpiOsReadMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 *Value, UINT3 MM_FreeTemp(ptr); } + LOG("*%P = [%i]%X", Address, Width, *Value); + return AE_OK; } @@ -554,7 +556,7 @@ ACPI_STATUS AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 Value, UINT3 return AE_BAD_PARAMETER; } - if( Address >= 1024*1024 ) { + if( Address >= ONEMEG ) { MM_FreeTemp(ptr); }