git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/PCnetFAST3 - Quieten
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86
/
acpica.c
diff --git
a/KernelLand/Kernel/arch/x86/acpica.c
b/KernelLand/Kernel/arch/x86/acpica.c
index
726feb7
..
433feaa
100644
(file)
--- a/
KernelLand/Kernel/arch/x86/acpica.c
+++ b/
KernelLand/Kernel/arch/x86/acpica.c
@@
-118,6
+118,7
@@
ACPI_STATUS AcpiOsPhysicalTableOverride(ACPI_TABLE_HEADER *ExisitingTable, ACPI_
}
// -- Memory Management ---
}
// -- Memory Management ---
+#if USE_ACESS_ACPI_CACHE
struct sACPICache
{
Uint16 nObj;
struct sACPICache
{
Uint16 nObj;
@@
-231,6
+232,7
@@
ACPI_STATUS AcpiOsReleaseObject(ACPI_CACHE_T *Cache, void *Object)
LEAVE('i', AE_OK);
return AE_OK;
}
LEAVE('i', AE_OK);
return AE_OK;
}
+#endif
void *AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress, ACPI_SIZE Length)
{
void *AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress, ACPI_SIZE Length)
{
@@
-531,6
+533,8
@@
ACPI_STATUS AcpiOsReadMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 *Value, UINT3
MM_FreeTemp(ptr);
}
MM_FreeTemp(ptr);
}
+ LOG("*%P = [%i]%X", Address, Width, *Value);
+
return AE_OK;
}
return AE_OK;
}
@@
-554,7
+558,7
@@
ACPI_STATUS AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 Value, UINT3
return AE_BAD_PARAMETER;
}
return AE_BAD_PARAMETER;
}
- if( Address >=
1024*1024
) {
+ if( Address >=
ONEMEG
) {
MM_FreeTemp(ptr);
}
MM_FreeTemp(ptr);
}
UCC
git Repository :: git.ucc.asn.au