1 Commits

Author SHA1 Message Date
04d5d52ad8 [img] Warn about unexisting tools for image generation
By the way added few notes and fixed the fat32_test0.raw
generation.
2023-09-03 11:44:12 +03:00
181 changed files with 115 additions and 177144 deletions

View File

@@ -26,8 +26,26 @@ QCOW2_OPTS="compat=v3,compression_type=zlib,encryption=off,extended_l2=off,preal
NBD_DEV=/dev/nbd0 # FIXME NBD_DEV=/dev/nbd0 # FIXME
SGDISK="sgdisk --align-end --disk-guid=abcdefff-0123-4554-3210-ffeeddccbbaa" SGDISK="sgdisk --align-end --disk-guid=abcdefff-0123-4554-3210-ffeeddccbbaa"
check_command () {
if [ "$#" -ne 2 ]; then
echo "Usage: $FUNCNAME <command> <for_what>"
fi
if ! command -v "$1" &> /dev/null
then
echo "*** WARNING: Skipping $2 (command $1 not found)"
return 1
fi
return 0
}
gpt_large.qcow2 () { gpt_large.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
if [ ! -f $NBD_DEV ]; then
echo "*** WARNING: Skipping $FUNCNAME (network block device $NBD_DEV not found)"
return
fi
qemu-img create -f qcow2 -o $QCOW2_OPTS,cluster_size=2097152 $img 2E > /dev/null qemu-img create -f qcow2 -o $QCOW2_OPTS,cluster_size=2097152 $img 2E > /dev/null
sudo qemu-nbd -c $NBD_DEV $img sudo qemu-nbd -c $NBD_DEV $img
@@ -78,6 +96,10 @@ gpt_partitions_s4k.qcow2 () {
kolibri.raw () { kolibri.raw () {
local img=$FUNCNAME local img=$FUNCNAME
if ! check_command mkfs.fat $FUNCNAME; then return; fi
if ! check_command mcopy $FUNCNAME; then return; fi
touch $img touch $img
fallocate -z -o 0 -l 1440KiB $img fallocate -z -o 0 -l 1440KiB $img
mkfs.fat -n KOLIBRIOS -F 12 $img > /dev/null mkfs.fat -n KOLIBRIOS -F 12 $img > /dev/null
@@ -86,13 +108,15 @@ kolibri.raw () {
mcopy -moi $img ../spray.cur ::SPRAY.CUR mcopy -moi $img ../spray.cur ::SPRAY.CUR
mcopy -moi $img ../apps/board_cycle ::LOADER mcopy -moi $img ../apps/board_cycle ::LOADER
mmd -i $img ::LIB mmd -i $img ::LIB
# mcopy -moi $img ../network.obj ::LIB/NETWORK.OBJ mcopy -moi $img ../network.obj ::LIB/NETWORK.OBJ
} }
jfs.qcow2 () { jfs.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.jfs $FUNCNAME; then return; fi
fallocate -l 16MiB $img_raw fallocate -l 16MiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -110,6 +134,8 @@ xfs_lookup_v4.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l 3GiB $img_raw fallocate -l 3GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -151,6 +177,8 @@ xfs_lookup_v5.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l 5GiB $img_raw fallocate -l 5GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -192,6 +220,8 @@ xfs_nrext64.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l 3GiB $img_raw fallocate -l 3GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -230,6 +260,8 @@ xfs_bigtime.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -269,6 +301,8 @@ xfs_borg_bit.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -286,9 +320,17 @@ xfs_short_dir_i8.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
# echo -en "\x00" > $img_raw # echo -en "\x00" > $img_raw
fallocate -l 1MiB $img_raw fallocate -l 1MiB $img_raw
fallocate -i -o 0 -l 42TiB $img_raw
if ! fallocate -i -o 0 -l 42TiB $img_raw; then
rm $img_raw
echo "*** WARNING: Skipping $FUNCNAME (no disk space)"
return
fi
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
local p1="$LOOP_DEV"p1 local p1="$LOOP_DEV"p1
@@ -315,6 +357,8 @@ xfs_v4_ftype0_s05k_b2k_n8k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -356,6 +400,8 @@ xfs_v4_ftype1_s05k_b2k_n8k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -397,6 +443,8 @@ xfs_v4_xattr.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -430,6 +478,8 @@ xfs_v4_btrees_l2.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -461,6 +511,8 @@ xfs_v4_files_s05k_b4k_n8k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -506,6 +558,8 @@ xfs_v4_ftype0_s4k_b4k_n8k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
sudo losetup -b 4096 $LOOP_DEV $img_raw sudo losetup -b 4096 $LOOP_DEV $img_raw
$SGDISK --clear --new=0:0:0 $LOOP_DEV > /dev/null $SGDISK --clear --new=0:0:0 $LOOP_DEV > /dev/null
@@ -549,6 +603,8 @@ xfs_v4_ftype0_s05k_b2k_n8k_xattr.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -597,6 +653,8 @@ xfs_v4_unicode.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -631,6 +689,8 @@ xfs_v5_ftype1_s05k_b2k_n8k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -672,6 +732,8 @@ xfs_v5_files_s05k_b4k_n8k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -710,6 +772,8 @@ xfs_v5_files_s05k_b4k_n8k.qcow2 () {
fat32_test0.raw () { fat32_test0.raw () {
local img=$FUNCNAME local img=$FUNCNAME
if ! check_command mkfs.fat $FUNCNAME; then return; fi
fallocate -l 64MiB $img fallocate -l 64MiB $img
$SGDISK --clear --new=0:0:0 $img > /dev/null $SGDISK --clear --new=0:0:0 $img > /dev/null
sudo losetup -P $LOOP_DEV $img sudo losetup -P $LOOP_DEV $img
@@ -719,7 +783,7 @@ fat32_test0.raw () {
sudo mount -o codepage=866,iocharset=utf8,umask=111,dmask=000 $p1 $TEMP_DIR sudo mount -o codepage=866,iocharset=utf8,umask=111,dmask=000 $p1 $TEMP_DIR
$RANDDIR $TEMP_DIR 1000 8 255 65536 $RANDDIR $TEMP_DIR 1000 8 255 65536
$DIRTOTEST $TEMP_DIR $img hd0 > "../test/045/run.us" $DIRTOTEST $TEMP_DIR $img hd0 > "../test/t045/run.us"
# tree $TEMP_DIR # tree $TEMP_DIR
# du -sh $TEMP_DIR # du -sh $TEMP_DIR
@@ -732,6 +796,8 @@ exfat_s05k_c16k_b16k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.exfat $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -761,6 +827,8 @@ exfat_s05k_c8k_b8k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.exfat $FUNCNAME; then return; fi
fallocate -l $XFS_MIN_DISK_SIZE $img_raw fallocate -l $XFS_MIN_DISK_SIZE $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -845,6 +913,13 @@ xfs_samehash_s05k.raw () {
# local img_raw=$(basename $img .qcow2).raw # local img_raw=$(basename $img .qcow2).raw
local img_raw=$img local img_raw=$img
if ! check_command mkfs.xfs $FUNCNAME; then return; fi
if [ ! -f $NBD_DEV ]; then
echo "*** WARNING: Skipping $FUNCNAME (FIXME: it takes too long)"
return
fi
fallocate -l 1GiB $img_raw fallocate -l 1GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -882,6 +957,8 @@ ext2_s05k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.ext2 $FUNCNAME; then return; fi
fallocate -l 5GiB $img_raw fallocate -l 5GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -921,6 +998,10 @@ ext4_s05k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.ext4 $FUNCNAME; then return; fi
echo "This one is VERY long, it's OK."
fallocate -l 5GiB $img_raw fallocate -l 5GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -963,6 +1044,8 @@ fat12_s05k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.fat $FUNCNAME; then return; fi
fallocate -l 256MiB $img_raw fallocate -l 256MiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -997,6 +1080,10 @@ fat16_s05k.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
if ! check_command mkfs.fat $FUNCNAME; then return; fi
echo "This one is long too."
fallocate -l 4GiB $img_raw fallocate -l 4GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
@@ -1048,7 +1135,6 @@ LOOP_DEV=$(losetup --find)
for image in ${images[*]}; do for image in ${images[*]}; do
if [ -f "$image" ]; then if [ -f "$image" ]; then
echo "skipping $image"
continue continue
else else
echo "generate $image" echo "generate $image"

View File

@@ -1,15 +0,0 @@
acpi_set_usage 1
acpi_preload_table /data/work/mirror/acpica/tests/aslts/tmp/aml/20201217/nopt/64/arithmetic.aml
acpi_enable
acpi_get_node_alloc_cnt
acpi_get_node_free_cnt
acpi_get_node_cnt
acpi_call \MAIN
acpi_get_node_alloc_cnt
acpi_get_node_free_cnt
acpi_get_node_cnt

View File

@@ -1 +0,0 @@
acpi: aml

View File

@@ -1 +0,0 @@
10s

View File

@@ -1,17 +0,0 @@
acpi_set_usage 1
acpi_preload_table machines/008/acpi/dsdt.dat
acpi_preload_table machines/008/acpi/ssdt1.dat
acpi_preload_table machines/008/acpi/ssdt2.dat
acpi_preload_table machines/008/acpi/ssdt3.dat
acpi_preload_table machines/008/acpi/ssdt4.dat
acpi_preload_table machines/008/acpi/ssdt5.dat
acpi_preload_table machines/008/acpi/ssdt6.dat
acpi_preload_table machines/008/acpi/ssdt7.dat
acpi_preload_table machines/008/acpi/ssdt8.dat
acpi_enable
acpi_get_node_alloc_cnt
acpi_get_node_free_cnt
acpi_get_node_cnt

View File

@@ -1 +0,0 @@
acpi: aml

View File

@@ -1 +0,0 @@
10s

View File

@@ -1,422 +0,0 @@
/> acpi_set_usage 1
/> acpi_preload_table machines/unit/acpi/alloc_free.aml
table #0
/> acpi_enable
acpi.aml.process_table begin
table length 0x0000012C
Table signature: 'DSDT'
Table length (with header): 0x0000012C
Revision: 0x01
OEM ID: 'UMKA '
OEM Table ID: 'UMKADSDT'
OEM Table Revision: 0x00000001
table/position: [0x00000024]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.name begin
aml._.name_string begin
aml._.name_string begin again
offset: 0x00000025
aml._.name_path begin
aml._.name_path end
name_string: INT5
aml._.name_string end
aml._.get_node_by_name begin
name: ''
aml._.get_node_by_name end
aml._.data_ref_object begin
aml._.data_object begin
aml._.computational_data begin
aml._.byte_const begin
aml._.byte_const end
aml._.computational_data end
aml._.data_object end
aml._.data_ref_object end
aml._.name end
aml._.namespace_modifier_obj end
aml._.object end
aml._.term_obj end
table/position: [0x0000002B]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.name begin
aml._.name_string begin
aml._.name_string begin again
offset: 0x0000002C
aml._.name_path begin
aml._.name_path end
name_string: REF5
aml._.name_string end
aml._.get_node_by_name begin
name: ''
aml._.get_node_by_name end
aml._.data_ref_object begin
aml._.data_object begin
aml._.computational_data begin
aml._.byte_const begin
aml._.byte_const end
aml._.computational_data end
aml._.data_object end
aml._.data_ref_object end
aml._.name end
aml._.namespace_modifier_obj end
aml._.object end
aml._.term_obj end
table/position: [0x00000032]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.method begin
pkg_length: 0x000000EA
aml._.name_string begin
aml._.name_string begin again
offset: 0x00000035
aml._.name_path begin
aml._.name_path end
name_string: AREF
aml._.name_string end
aml._.attach_node begin
aml._.get_node_by_name begin
name: ''
aml._.get_node_by_name end
aml._.attach_node end
aml._.method end
aml._.named_obj end
aml._.object end
aml._.term_obj end
table/position: [0x0000011D]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.method begin
pkg_length: 0x0000000E
aml._.name_string begin
aml._.name_string begin again
offset: 0x0000011F
aml._.name_path begin
aml._.name_path end
name_string: MAIN
aml._.name_string end
aml._.attach_node begin
aml._.get_node_by_name begin
name: ''
aml._.get_node_by_name end
aml._.attach_node end
aml._.method end
aml._.named_obj end
aml._.object end
aml._.term_obj end
==========ACPI_TREE==========
\MAIN Method length:0x00000008 Args:0 serialize:0 sync_level:0
\AREF Method length:0x000000E3 Args:1 serialize:0 sync_level:0
\REF5 Integer = 0x0000000000000002
\INT5 Integer = 0x0000000000000005
\_TZ_ Scope
\_SI_ Scope
\_SB_ Scope
\_PR_ Scope
\_GPE Scope
-----------------------------
acpi.aml.process_table end
==========ACPI_TREE==========
\MAIN Method length:0x00000008 Args:0 serialize:0 sync_level:0
\AREF Method length:0x000000E3 Args:1 serialize:0 sync_level:0
\REF5 Integer = 0x0000000000000002
\INT5 Integer = 0x0000000000000005
\_TZ_ Scope
\_SI_ Scope
\_SB_ Scope
\_PR_ Scope
\_GPE Scope
-----------------------------
/> acpi_get_node_alloc_cnt
nodes allocated: 11
/> acpi_get_node_free_cnt
nodes freed: 0
/> acpi_get_node_cnt
nodes in namespace: 11
/> acpi_call \MAIN
acpi.call_name begin
aml._.get_node_by_name begin
name: '\MAIN'
aml._.get_node_by_name end
acpi.call_node begin
# func name MAIN
# bytes 0x46455241
# bytes 0x35544E49
# bytes 0x0001DE69
table/position: [0x00000124]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.named_obj end
aml._.object end
aml._.type1opcode begin
aml._.type1opcode end
aml._.name_string begin
aml._.name_string begin again
offset: 0x00000124
aml._.name_path begin
aml._.name_path end
name_string: AREF
aml._.name_string end
aml._.get_node_by_name begin
name: 'AREF'
aml._.get_node_by_name end
aml._.method_invocation begin
arg_count: 1
aml._.term_arg begin
aml._.name_string begin
aml._.name_string begin again
offset: 0x00000128
aml._.name_path begin
aml._.name_path end
name_string: INT5
aml._.name_string end
aml._.get_node_by_name begin
name: 'INT5'
aml._.get_node_by_name end
aml._.data_object begin
aml._.computational_data begin
aml._.computational_data end
aml._.data_object end
aml._.name_string begin
aml._.name_string begin again
offset: 0x00000128
aml._.name_path begin
aml._.name_path end
name_string: INT5
aml._.name_string end
aml._.get_node_by_name begin
name: 'INT5'
aml._.get_node_by_name end
aml._.term_arg end
table/position: [0x0000003A]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.named_obj end
aml._.object end
aml._.type1opcode begin
aml._.type1opcode end
aml._.store begin
aml._.term_arg begin
aml._.name_string begin
aml._.name_string begin again
offset: 0x0000003B
aml._.name_path begin
aml._.name_path end
name_string: INT5
aml._.name_string end
aml._.get_node_by_name begin
name: 'INT5'
aml._.get_node_by_name end
aml._.data_object begin
aml._.computational_data begin
aml._.computational_data end
aml._.data_object end
aml._.name_string begin
aml._.name_string begin again
offset: 0x0000003B
aml._.name_path begin
aml._.name_path end
name_string: INT5
aml._.name_string end
aml._.get_node_by_name begin
name: 'INT5'
aml._.get_node_by_name end
aml._.term_arg end
aml._.super_name begin
aml._.simple_name begin
aml._.name_string begin
aml._.name_string end
aml._.simple_name end
aml._.debug_obj begin
aml._.debug_obj end
aml._.super_name end
aml._.store_table begin
types 2 to 19
aml._.store_table.integer_to_debug_object begin
AML_DBG: 0x0000000000000005
aml._.store_table.integer_to_debug_object end
aml._.store_table end
aml._.store end
aml._.term_obj end
table/position: [0x00000041]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.named_obj end
aml._.object end
aml._.type1opcode begin
aml._.type1opcode end
aml._.store begin
aml._.term_arg begin
aml._.name_string begin
aml._.name_string end
aml._.data_object begin
aml._.computational_data begin
aml._.computational_data end
aml._.data_object end
aml._.arg_obj begin
aml._.arg_obj end
aml._.term_arg end
aml._.super_name begin
aml._.simple_name begin
aml._.name_string begin
aml._.name_string end
aml._.simple_name end
aml._.debug_obj begin
aml._.debug_obj end
aml._.super_name end
aml._.store_table begin
types 2 to 19
aml._.store_table.integer_to_debug_object begin
AML_DBG: 0x0000000000000005
aml._.store_table.integer_to_debug_object end
aml._.store_table end
aml._.store end
aml._.term_obj end
table/position: [0x00000045]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.named_obj end
aml._.object end
aml._.type1opcode begin
aml._.type1opcode end
aml._.store begin
aml._.term_arg begin
aml._.name_string begin
aml._.name_string begin again
offset: 0x00000046
aml._.name_path begin
aml._.name_path end
name_string: REF5
aml._.name_string end
aml._.get_node_by_name begin
name: 'REF5'
aml._.get_node_by_name end
aml._.data_object begin
aml._.computational_data begin
aml._.computational_data end
aml._.data_object end
aml._.name_string begin
aml._.name_string begin again
offset: 0x00000046
aml._.name_path begin
aml._.name_path end
name_string: REF5
aml._.name_string end
aml._.get_node_by_name begin
name: 'REF5'
aml._.get_node_by_name end
aml._.term_arg end
aml._.super_name begin
aml._.simple_name begin
aml._.name_string begin
aml._.name_string end
aml._.simple_name end
aml._.debug_obj begin
aml._.debug_obj end
aml._.super_name end
aml._.store_table begin
types 2 to 19
aml._.store_table.integer_to_debug_object begin
AML_DBG: 0x0000000000000002
aml._.store_table.integer_to_debug_object end
aml._.store_table end
aml._.store end
aml._.term_obj end
table/position: [0x0000004C]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.named_obj end
aml._.object end
aml._.type1opcode begin
aml._.type1opcode end
aml._.store begin
aml._.term_arg begin
aml._.name_string begin
aml._.name_string end
aml._.data_object begin
aml._.computational_data begin
aml._.string begin
aml._.string end
aml._.computational_data end
aml._.data_object end
aml._.term_arg end
aml._.super_name begin
aml._.simple_name begin
aml._.name_string begin
aml._.name_string end
aml._.simple_name end
aml._.debug_obj begin
aml._.debug_obj end
aml._.super_name end
aml._.store_table begin
types 3 to 19
aml._.store_table.string_to_debug_object begin
AML_DBG:
aml._.store_table.string_to_debug_object end
aml._.store_table end
aml._.store end
aml._.term_obj end
table/position: [0x00000052]
aml._.term_obj begin
aml._.object begin
aml._.namespace_modifier_obj begin
aml._.namespace_modifier_obj end
aml._.named_obj begin
aml._.named_obj end
aml._.object end
aml._.type1opcode begin
aml._.type1opcode end
aml._.store begin
aml._.term_arg begin
aml._.name_string begin
aml._.name_string end
aml._.data_object begin
aml._.computational_data begin
aml._.computational_data end
aml._.data_object end
aml._.name_string begin
aml._.name_string end
error: unknown term_arg: 0x71
aml._.term_arg end
aml._.super_name begin
aml._.simple_name begin
aml._.name_string begin
aml._.name_string end
aml._.simple_name end
aml._.name_string begin
aml._.name_string end
aml._.super_name end
aml._.store end
aml._.name_string begin
aml._.name_string end
aml._.term_obj end
error: unknown bytes: 0x7168

View File

@@ -1,15 +0,0 @@
acpi_set_usage 1
acpi_preload_table machines/unit/acpi/alloc_free.aml
acpi_enable
acpi_get_node_alloc_cnt
acpi_get_node_free_cnt
acpi_get_node_cnt
acpi_call \MAIN
acpi_get_node_alloc_cnt
acpi_get_node_free_cnt
acpi_get_node_cnt

View File

@@ -1 +0,0 @@
acpi: aml

View File

@@ -1 +0,0 @@
10s

File diff suppressed because it is too large Load Diff

View File

@@ -1,23 +0,0 @@
umka_init
pci_set_path machines/013/pci
acpi_set_usage 2
acpi_preload_table machines/013/acpi/dsdt.dat
acpi_preload_table machines/013/acpi/ssdt1.dat
acpi_preload_table machines/013/acpi/ssdt2.dat
acpi_preload_table machines/013/acpi/ssdt3.dat
acpi_preload_table machines/013/acpi/ssdt4.dat
acpi_preload_table machines/013/acpi/ssdt5.dat
acpi_preload_table machines/013/acpi/ssdt6.dat
acpi_preload_table machines/013/acpi/ssdt7.dat
acpi_preload_table machines/013/acpi/ssdt8.dat
acpi_preload_table machines/013/acpi/ssdt9.dat
acpi_preload_table machines/013/acpi/ssdt10.dat
acpi_preload_table machines/013/acpi/ssdt11.dat
acpi_preload_table machines/013/acpi/ssdt12.dat
acpi_enable
acpi_get_node_alloc_cnt
acpi_get_node_free_cnt
acpi_get_node_cnt

View File

@@ -1 +0,0 @@
acpi: aml

View File

@@ -1 +0,0 @@
10s

View File

@@ -1,2 +0,0 @@
name:
owner: Doczom

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,2 +0,0 @@
name:
owner: Vitaly K

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More