Integrate uACPI

This commit is contained in:
2025-08-17 18:37:57 +02:00
parent 069870cd0d
commit 92ccd189e7
166 changed files with 42104 additions and 33 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)
}
}