Make ACPI logs reproducible and add ACPI reference logs.
This commit is contained in:
parent
9abb53b2cd
commit
6f998c0a3a
2
shell.c
2
shell.c
@ -1076,7 +1076,7 @@ void shell_acpi_preload_table(int argc, char **argv) {
|
|||||||
uint8_t *table = (uint8_t*)malloc(fsize);
|
uint8_t *table = (uint8_t*)malloc(fsize);
|
||||||
fread(table, fsize, 1, f);
|
fread(table, fsize, 1, f);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
fprintf(fout, "# %zu\n", kos_acpi_ssdt_cnt);
|
fprintf(fout, "table #%zu\n", kos_acpi_ssdt_cnt);
|
||||||
kos_acpi_ssdt_base[kos_acpi_ssdt_cnt] = table;
|
kos_acpi_ssdt_base[kos_acpi_ssdt_cnt] = table;
|
||||||
kos_acpi_ssdt_size[kos_acpi_ssdt_cnt] = fsize;
|
kos_acpi_ssdt_size[kos_acpi_ssdt_cnt] = fsize;
|
||||||
kos_acpi_ssdt_cnt++;
|
kos_acpi_ssdt_cnt++;
|
||||||
|
141921
test/026_#acpi_m000.ref.log
Normal file
141921
test/026_#acpi_m000.ref.log
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
|||||||
acpi_preload_table ../../acpi/tables/2020hp_pavilion/DSDT
|
acpi_preload_table machines/000/acpi/DSDT
|
||||||
acpi_preload_table ../../acpi/tables/2020hp_pavilion/SSDT1
|
acpi_preload_table machines/000/acpi/SSDT1
|
||||||
acpi_preload_table ../../acpi/tables/2020hp_pavilion/SSDT2
|
acpi_preload_table machines/000/acpi/SSDT2
|
||||||
acpi_preload_table ../../acpi/tables/2020hp_pavilion/SSDT3
|
acpi_preload_table machines/000/acpi/SSDT3
|
||||||
acpi_preload_table ../../acpi/tables/2020hp_pavilion/SSDT4
|
acpi_preload_table machines/000/acpi/SSDT4
|
||||||
acpi_preload_table ../../acpi/tables/2020hp_pavilion/SSDT5
|
acpi_preload_table machines/000/acpi/SSDT5
|
||||||
acpi_preload_table ../../acpi/tables/2020hp_pavilion/SSDT6
|
acpi_preload_table machines/000/acpi/SSDT6
|
||||||
acpi_enable
|
acpi_enable
|
||||||
|
79998
test/027_#acpi_m001.ref.log
Normal file
79998
test/027_#acpi_m001.ref.log
Normal file
File diff suppressed because it is too large
Load Diff
4
test/027_#acpi_m001.t
Normal file
4
test/027_#acpi_m001.t
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
acpi_preload_table machines/001/acpi/DSDT
|
||||||
|
acpi_preload_table machines/001/acpi/SSDT1
|
||||||
|
acpi_preload_table machines/001/acpi/SSDT2
|
||||||
|
acpi_enable
|
306269
test/028_#acpi_m002.ref.log
Normal file
306269
test/028_#acpi_m002.ref.log
Normal file
File diff suppressed because it is too large
Load Diff
14
test/028_#acpi_m002.t
Normal file
14
test/028_#acpi_m002.t
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
acpi_preload_table machines/002/acpi/DSDT
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT1
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT2
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT3
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT4
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT5
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT6
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT7
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT8
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT9
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT10
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT11
|
||||||
|
acpi_preload_table machines/002/acpi/SSDT12
|
||||||
|
acpi_enable
|
2
test/029_#acpi_m003.d
Normal file
2
test/029_#acpi_m003.d
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
acpi_preload_table machines/003/acpi/DSDT
|
||||||
|
acpi_enable
|
10403
test/029_#acpi_m003.ref.log
Normal file
10403
test/029_#acpi_m003.ref.log
Normal file
File diff suppressed because it is too large
Load Diff
78563
test/030_#acpi_m004.ref.log
Normal file
78563
test/030_#acpi_m004.ref.log
Normal file
File diff suppressed because it is too large
Load Diff
5
test/030_#acpi_m004.t
Normal file
5
test/030_#acpi_m004.t
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
acpi_preload_table machines/004/acpi/DSDT
|
||||||
|
acpi_preload_table machines/004/acpi/SSDT1
|
||||||
|
acpi_preload_table machines/004/acpi/SSDT2
|
||||||
|
acpi_preload_table machines/004/acpi/SSDT3
|
||||||
|
acpi_enable
|
@ -22,8 +22,9 @@ coverage_tests := $(addsuffix .out.log, $(basename $(wildcard *\#coverage_*.t)))
|
|||||||
i40_tests := $(addsuffix .out.log, $(basename $(wildcard *\#i40_*.t)))
|
i40_tests := $(addsuffix .out.log, $(basename $(wildcard *\#i40_*.t)))
|
||||||
net_tests := $(addsuffix .out.log, $(basename $(wildcard *\#net_*.t)))
|
net_tests := $(addsuffix .out.log, $(basename $(wildcard *\#net_*.t)))
|
||||||
arp_tests := $(addsuffix .out.log, $(basename $(wildcard *\#arp_*.t)))
|
arp_tests := $(addsuffix .out.log, $(basename $(wildcard *\#arp_*.t)))
|
||||||
|
acpi_tests := $(addsuffix .out.log, $(basename $(wildcard *\#acpi_*.t)))
|
||||||
|
|
||||||
all: xfs s05k s4k f30 f70 f70s0 f70s1 f70s5 lookup bug xattr unicode v5 draw coverage i40 net arp
|
all: xfs s05k s4k f30 f70 f70s0 f70s1 f70s5 lookup bug xattr unicode v5 draw coverage i40 net arp acpi
|
||||||
@echo all tests passed
|
@echo all tests passed
|
||||||
|
|
||||||
xfs: $(xfs_tests)
|
xfs: $(xfs_tests)
|
||||||
@ -44,6 +45,7 @@ coverage: $(coverage_tests)
|
|||||||
i40: $(i40_tests)
|
i40: $(i40_tests)
|
||||||
net: $(net_tests)
|
net: $(net_tests)
|
||||||
arp: $(arp_tests)
|
arp: $(arp_tests)
|
||||||
|
acpi: $(acpi_tests)
|
||||||
|
|
||||||
%.out.log: %.t
|
%.out.log: %.t
|
||||||
$(UMKA_SHELL) < $*.t > $@
|
$(UMKA_SHELL) < $*.t > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user