From 35fee1ef2ccac7de86e2d98bc44cbbde9e20375e Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 23 Sep 2013 22:56:29 +0800 Subject: [PATCH] Kernel/x86 - Some extra logging in ACPICA shim --- KernelLand/Kernel/arch/x86/acpica.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.20.1