Integrate uACPI
This commit is contained in:
23
kernel/hal/x86_64/uACPI/tests/test-cases/references-3.asl
Normal file
23
kernel/hal/x86_64/uACPI/tests/test-cases/references-3.asl
Normal file
@ -0,0 +1,23 @@
|
||||
// Name: Call-by-value w/ Store() modifies strings through a reference
|
||||
// Expect: str => WHY?
|
||||
// NOTE:
|
||||
// This test seems bogus but it's actually corrrect, it produces
|
||||
// the same output on NT.
|
||||
|
||||
DefinitionBlock ("", "DSDT", 2, "uTEST", "TESTTABL", 0xF0F0F0F0)
|
||||
{
|
||||
Method (TEST, 1, NotSerialized)
|
||||
{
|
||||
Local0 = RefOf(Arg0)
|
||||
|
||||
// WHY? in little-endian ASCII
|
||||
Local0 = 0x3F594857
|
||||
}
|
||||
|
||||
Method (MAIN, 0, NotSerialized)
|
||||
{
|
||||
Local0 = "MyST"
|
||||
TEST(Local0)
|
||||
Return (Local0)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user