Add two new test acpi+pci configurations.
qemu -M pc, kolibrios.org server
This commit is contained in:
parent
6d302f27fe
commit
811cc93c5c
@ -9,7 +9,7 @@ table length 0x00000084
|
||||
Table signature: 'DSDT'
|
||||
Table length (with header): 0x00000084
|
||||
Revision: 0x01
|
||||
Checksum: 0x8B
|
||||
Checksum: 0xA6
|
||||
OEM ID: 'UMKA '
|
||||
OEM Table ID: 'UMKADSDT'
|
||||
OEM Table Revision: 0x00000001
|
||||
@ -66,7 +66,7 @@ aml._.name_string begin again
|
||||
offset: 0x00000034
|
||||
aml._.name_path begin
|
||||
aml._.name_path end
|
||||
name_string: TEST
|
||||
name_string: MAIN
|
||||
aml._.name_string end
|
||||
aml._.attach_node begin
|
||||
aml._.get_node_by_name begin
|
||||
@ -78,7 +78,7 @@ aml._.named_obj end
|
||||
aml._.object end
|
||||
aml._.term_obj end
|
||||
==========ACPI_TREE==========
|
||||
\TEST Method length:0x0000004B Args:0 serialize:0 sync_level:0
|
||||
\MAIN Method length:0x0000004B Args:0 serialize:0 sync_level:0
|
||||
\BUFF Buffer Len:0x00000004
|
||||
\_TZ_ Scope
|
||||
\_SI_ Scope
|
||||
@ -88,7 +88,7 @@ aml._.term_obj end
|
||||
-----------------------------
|
||||
acpi.aml.process_table end
|
||||
==========ACPI_TREE==========
|
||||
\TEST Method length:0x0000004B Args:0 serialize:0 sync_level:0
|
||||
\MAIN Method length:0x0000004B Args:0 serialize:0 sync_level:0
|
||||
\BUFF Buffer Len:0x00000004
|
||||
\_TZ_ Scope
|
||||
\_SI_ Scope
|
||||
@ -97,13 +97,13 @@ acpi.aml.process_table end
|
||||
\_GPE Scope
|
||||
-----------------------------
|
||||
|
||||
/> acpi_call \TEST
|
||||
/> acpi_call \MAIN
|
||||
acpi.call_name begin
|
||||
aml._.get_node_by_name begin
|
||||
name: '\TEST'
|
||||
name: '\MAIN'
|
||||
aml._.get_node_by_name end
|
||||
acpi.call_node begin
|
||||
# func name TEST
|
||||
# func name MAIN
|
||||
# bytes 0x65680D70
|
||||
# bytes 0x006F6C6C
|
||||
# bytes 0x0A70315B
|
||||
@ -403,5 +403,5 @@ aml._.store end
|
||||
aml._.term_obj end
|
||||
acpi.call_node end
|
||||
acpi.call_name end
|
||||
calling acpi method: '\TEST'
|
||||
calling acpi method: '\MAIN'
|
||||
acpi method returned
|
||||
|
@ -4,4 +4,4 @@ acpi_preload_table machines/unit/acpi/debug_object.aml
|
||||
|
||||
acpi_enable
|
||||
|
||||
acpi_call \TEST
|
||||
acpi_call \MAIN
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,4 +4,4 @@ acpi_preload_table machines/unit/acpi/field.aml
|
||||
|
||||
acpi_enable
|
||||
|
||||
acpi_call \TEST
|
||||
acpi_call \MAIN
|
||||
|
8859
test/035_#acpi_m006.ref.log
Normal file
8859
test/035_#acpi_m006.ref.log
Normal file
File diff suppressed because it is too large
Load Diff
6
test/035_#acpi_m006.t
Normal file
6
test/035_#acpi_m006.t
Normal file
@ -0,0 +1,6 @@
|
||||
pci_set_path machines/006/pci
|
||||
acpi_set_usage 2
|
||||
|
||||
acpi_preload_table machines/006/acpi/DSDT
|
||||
|
||||
acpi_enable
|
49450
test/036_#acpi_m007.ref.log
Normal file
49450
test/036_#acpi_m007.ref.log
Normal file
File diff suppressed because it is too large
Load Diff
7
test/036_#acpi_m007.t
Normal file
7
test/036_#acpi_m007.t
Normal file
@ -0,0 +1,7 @@
|
||||
pci_set_path machines/007/pci
|
||||
acpi_set_usage 2
|
||||
|
||||
acpi_preload_table machines/007/acpi/DSDT
|
||||
acpi_preload_table machines/007/acpi/SSDT
|
||||
|
||||
acpi_enable
|
BIN
test/machines/006/acpi/DSDT
Normal file
BIN
test/machines/006/acpi/DSDT
Normal file
Binary file not shown.
2
test/machines/006/description.txt
Normal file
2
test/machines/006/description.txt
Normal file
@ -0,0 +1,2 @@
|
||||
name: QEMU
|
||||
command: qemu-system-x86_64 -M pc -m 1024 -sdl -hda /data/work/distr/archlinux-2020.10.01-x86_64.iso -hdb hdd.raw
|
BIN
test/machines/006/pci/0000:00:00.0/config
Normal file
BIN
test/machines/006/pci/0000:00:00.0/config
Normal file
Binary file not shown.
BIN
test/machines/006/pci/0000:00:01.0/config
Normal file
BIN
test/machines/006/pci/0000:00:01.0/config
Normal file
Binary file not shown.
BIN
test/machines/006/pci/0000:00:01.1/config
Normal file
BIN
test/machines/006/pci/0000:00:01.1/config
Normal file
Binary file not shown.
BIN
test/machines/006/pci/0000:00:01.3/config
Normal file
BIN
test/machines/006/pci/0000:00:01.3/config
Normal file
Binary file not shown.
BIN
test/machines/006/pci/0000:00:02.0/config
Normal file
BIN
test/machines/006/pci/0000:00:02.0/config
Normal file
Binary file not shown.
BIN
test/machines/006/pci/0000:00:03.0/config
Normal file
BIN
test/machines/006/pci/0000:00:03.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/acpi/DSDT
Normal file
BIN
test/machines/007/acpi/DSDT
Normal file
Binary file not shown.
BIN
test/machines/007/acpi/SSDT
Normal file
BIN
test/machines/007/acpi/SSDT
Normal file
Binary file not shown.
1
test/machines/007/description.txt
Normal file
1
test/machines/007/description.txt
Normal file
@ -0,0 +1 @@
|
||||
name: kolibrios.org server 2020.10.08
|
BIN
test/machines/007/pci/0000:00:00.0/config
Normal file
BIN
test/machines/007/pci/0000:00:00.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:01.0/config
Normal file
BIN
test/machines/007/pci/0000:00:01.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:03.0/config
Normal file
BIN
test/machines/007/pci/0000:00:03.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:07.0/config
Normal file
BIN
test/machines/007/pci/0000:00:07.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:14.0/config
Normal file
BIN
test/machines/007/pci/0000:00:14.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:14.1/config
Normal file
BIN
test/machines/007/pci/0000:00:14.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:14.2/config
Normal file
BIN
test/machines/007/pci/0000:00:14.2/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:14.3/config
Normal file
BIN
test/machines/007/pci/0000:00:14.3/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1a.0/config
Normal file
BIN
test/machines/007/pci/0000:00:1a.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1a.1/config
Normal file
BIN
test/machines/007/pci/0000:00:1a.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1a.2/config
Normal file
BIN
test/machines/007/pci/0000:00:1a.2/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1a.7/config
Normal file
BIN
test/machines/007/pci/0000:00:1a.7/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1c.0/config
Normal file
BIN
test/machines/007/pci/0000:00:1c.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1c.4/config
Normal file
BIN
test/machines/007/pci/0000:00:1c.4/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1d.0/config
Normal file
BIN
test/machines/007/pci/0000:00:1d.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1d.1/config
Normal file
BIN
test/machines/007/pci/0000:00:1d.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1d.2/config
Normal file
BIN
test/machines/007/pci/0000:00:1d.2/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1d.7/config
Normal file
BIN
test/machines/007/pci/0000:00:1d.7/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1e.0/config
Normal file
BIN
test/machines/007/pci/0000:00:1e.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1f.0/config
Normal file
BIN
test/machines/007/pci/0000:00:1f.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1f.2/config
Normal file
BIN
test/machines/007/pci/0000:00:1f.2/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:00:1f.3/config
Normal file
BIN
test/machines/007/pci/0000:00:1f.3/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:02:00.0/config
Normal file
BIN
test/machines/007/pci/0000:02:00.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:06:00.0/config
Normal file
BIN
test/machines/007/pci/0000:06:00.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:00.0/config
Normal file
BIN
test/machines/007/pci/0000:ff:00.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:00.1/config
Normal file
BIN
test/machines/007/pci/0000:ff:00.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:02.0/config
Normal file
BIN
test/machines/007/pci/0000:ff:02.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:02.1/config
Normal file
BIN
test/machines/007/pci/0000:ff:02.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:03.0/config
Normal file
BIN
test/machines/007/pci/0000:ff:03.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:03.1/config
Normal file
BIN
test/machines/007/pci/0000:ff:03.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:03.4/config
Normal file
BIN
test/machines/007/pci/0000:ff:03.4/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:04.0/config
Normal file
BIN
test/machines/007/pci/0000:ff:04.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:04.1/config
Normal file
BIN
test/machines/007/pci/0000:ff:04.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:04.2/config
Normal file
BIN
test/machines/007/pci/0000:ff:04.2/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:04.3/config
Normal file
BIN
test/machines/007/pci/0000:ff:04.3/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:05.0/config
Normal file
BIN
test/machines/007/pci/0000:ff:05.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:05.1/config
Normal file
BIN
test/machines/007/pci/0000:ff:05.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:05.2/config
Normal file
BIN
test/machines/007/pci/0000:ff:05.2/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:05.3/config
Normal file
BIN
test/machines/007/pci/0000:ff:05.3/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:06.0/config
Normal file
BIN
test/machines/007/pci/0000:ff:06.0/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:06.1/config
Normal file
BIN
test/machines/007/pci/0000:ff:06.1/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:06.2/config
Normal file
BIN
test/machines/007/pci/0000:ff:06.2/config
Normal file
Binary file not shown.
BIN
test/machines/007/pci/0000:ff:06.3/config
Normal file
BIN
test/machines/007/pci/0000:ff:06.3/config
Normal file
Binary file not shown.
18
test/machines/unit/acpi/argx_deref.asl
Normal file
18
test/machines/unit/acpi/argx_deref.asl
Normal file
@ -0,0 +1,18 @@
|
||||
DefinitionBlock ("", "DSDT", 1, "BLAH", "BLAHDSDT", 0x00000001)
|
||||
{
|
||||
Name (INT5, 5)
|
||||
Name (INTX, 0)
|
||||
|
||||
Method (DRFA, 1) {
|
||||
printf("Arg0: %o", DeRefOf(Arg0))
|
||||
printf("Arg0: %o", Arg0)
|
||||
Store (DeRefOf(Arg0), INTX)
|
||||
Store (Arg0, INTX)
|
||||
Debug = INTX
|
||||
}
|
||||
|
||||
Method (MAIN, 0)
|
||||
{
|
||||
DRFA(RefOf(INT5))
|
||||
}
|
||||
}
|
@ -2,7 +2,7 @@ DefinitionBlock ("", "DSDT", 1, "UMKA ", "UMKADSDT", 0x00000001)
|
||||
{
|
||||
Name (BUFF, Buffer (4) {0x66, 0x72, 0x6F, 0x6D})
|
||||
|
||||
Method (TEST, 0, NotSerialized)
|
||||
Method (MAIN, 0, NotSerialized)
|
||||
{
|
||||
Debug = "hello"
|
||||
Debug = 0x42
|
||||
|
@ -1,16 +1,66 @@
|
||||
DefinitionBlock ("", "DSDT", 1, "UMKA ", "UMKADSDT", 0x00000001)
|
||||
{
|
||||
Name (BUFZ, Buffer (32) {})
|
||||
OperationRegion (M000, SystemMemory, 0xE001, 17)
|
||||
Field (M000, ByteAcc, NoLock, Preserve)
|
||||
{
|
||||
FM00, 1,
|
||||
FM01, 2
|
||||
Name (BUFZ, Buffer (32) {0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x99})
|
||||
CreateField (BUFZ, 0, 2, FBZ0)
|
||||
|
||||
Name (B000, Buffer (17) {0x06, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})
|
||||
CreateField (B000, 0, 1, FB00)
|
||||
CreateField (B000, 1, 1, FB01)
|
||||
CreateField (B000, 2, 1, FB02)
|
||||
CreateField (B000, 3, 1, FB03)
|
||||
CreateField (B000, 4, 1, FB04)
|
||||
CreateField (B000, 5, 1, FB05)
|
||||
CreateField (B000, 6, 1, FB06)
|
||||
CreateField (B000, 7, 1, FB07)
|
||||
|
||||
CreateField (B000, 8, 1, FB08)
|
||||
CreateField (B000, 9, 1, FB09)
|
||||
CreateField (B000, 10, 1, FB10)
|
||||
CreateField (B000, 11, 1, FB11)
|
||||
CreateField (B000, 12, 1, FB12)
|
||||
CreateField (B000, 13, 1, FB13)
|
||||
CreateField (B000, 14, 1, FB14)
|
||||
CreateField (B000, 15, 1, FB15)
|
||||
|
||||
Name (INT5, 5)
|
||||
Name (INTX, 0)
|
||||
|
||||
Method (PARG, 1) {
|
||||
Store (Arg0, INTX)
|
||||
printf("### %o\n", INTX)
|
||||
}
|
||||
|
||||
Method (TEST, 0, NotSerialized)
|
||||
Method (MAIN, 0)
|
||||
{
|
||||
// Local0 = Buffer (1) {0x77}
|
||||
// printf("%o", Local0)
|
||||
/*
|
||||
Debug = FB00
|
||||
Debug = FB01
|
||||
Debug = FB02
|
||||
Debug = FB03
|
||||
Debug = FB04
|
||||
Debug = FB05
|
||||
Debug = FB06
|
||||
Debug = FB07
|
||||
Debug = FB08
|
||||
Debug = FB09
|
||||
Debug = FB10
|
||||
Debug = FB11
|
||||
Debug = FB12
|
||||
Debug = FB13
|
||||
Debug = FB14
|
||||
Debug = FB15
|
||||
|
||||
Debug = BUFZ
|
||||
Debug = FBZ0
|
||||
BUFZ = B000
|
||||
Debug = BUFZ
|
||||
Debug = FBZ0
|
||||
FBZ0 = 0
|
||||
Debug = BUFZ
|
||||
Debug = FBZ0
|
||||
Debug = B000
|
||||
*/
|
||||
PARG(5)
|
||||
PARG(INT5)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user