Integrate uACPI

This commit is contained in:
2025-12-21 22:24:23 +01:00
parent c3123192d8
commit 8794a61073
167 changed files with 42535 additions and 4 deletions

View File

@@ -0,0 +1,31 @@
// Name: CopyObject to predefined works
// Expect: str => HelloWorld
DefinitionBlock ("x.aml", "SSDT", 1, "uTEST", "TESTTABL", 0xF0F0F0F0)
{
Method (HELO) {
Return ("Hello")
}
Method (WRLD) {
Return ("World")
}
Method (MAIN) {
OperationRegion(NVSM, SystemMemory, 0x100000, 128)
Field (NVSM, ByteAcc, Lock, WriteAsZeros) {
FILD, 8,
}
FILD = 0xFF
CopyObject(HELO, \)
CopyObject(WRLD, _GL)
If (FILD != 0xFF) {
Return ("Locked field read-back failed")
}
Return (Concatenate(\(), _GL()))
}
}