acpi: remerge uacpi as inhouse

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
kaguya
2026-04-15 13:42:16 -04:00
parent d66e042ec1
commit 4f0480fa84
155 changed files with 43506 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
// Name: Event signal & wait
// Expect: int => 0
DefinitionBlock ("", "DSDT", 2, "uTEST", "TESTTABL", 0xF0F0F0F0)
{
Method (MAIN, 0, Serialized)
{
Event (EVET)
Local0 = 5
While (Local0--) {
Signal(EVET)
}
Local0 = 5
While (Local0--) {
Local1 = Wait(EVET, 0xFFFD + Local0)
If (Local1 != Zero) {
Return (Local1)
}
}
// This should fail
Local1 = Wait(EVET, Zero)
If (Local1 == Zero) {
Return (One)
}
Return (Zero)
}
}