Integrate uACPI
This commit is contained in:
18
kernel/hal/x86_64/uACPI/tests/test-cases/references-8.asl
Normal file
18
kernel/hal/x86_64/uACPI/tests/test-cases/references-8.asl
Normal file
@ -0,0 +1,18 @@
|
||||
// Name: ArgX reference is not rebindable via Store
|
||||
// Expect: int => 0xDEADBEEF
|
||||
|
||||
DefinitionBlock ("", "DSDT", 2, "uTEST", "TESTTABL", 0xF0F0F0F0)
|
||||
{
|
||||
Method (TEST, 1, NotSerialized)
|
||||
{
|
||||
Store(0xDEADC0DE, Arg0)
|
||||
Store(0xDEADBEEF, Arg0)
|
||||
}
|
||||
|
||||
Method (MAIN, 0, NotSerialized)
|
||||
{
|
||||
Local0 = "MyString"
|
||||
TEST(RefOf(Local0))
|
||||
Return (Local0)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user