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,26 @@
// Name: Store Copies The Buffer
// Expect: str => Hello
DefinitionBlock ("", "DSDT", 2, "uTEST", "TESTTABL", 0xF0F0F0F0)
{
Method (MODF, 0, NotSerialized)
{
Local1 = Store("Hello", Local0)
Return (Local1)
}
Method (MAIN, 0, NotSerialized)
{
Local1 = Store(MODF(), Local0)
// Modify the string at Local1
Local2 = RefOf(Local1)
Local2 = "Goodbye"
Debug = Local0
Debug = Local1
// Local0 should still have the same value
Return(Local0)
}
}