Compare commits
10 Commits
mkostoevr/
...
acpi
Author | SHA1 | Date | |
---|---|---|---|
5393208094 | |||
180d2348e3 | |||
cca4c8e4d0 | |||
6e75385afc | |||
57ab9ce5b6 | |||
df0fbed343 | |||
256f9affcd | |||
c1886a27f8 | |||
307793332e | |||
0073eb0cc9 |
94
img/gen.sh
94
img/gen.sh
@@ -26,26 +26,8 @@ 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
|
||||||
|
|
||||||
@@ -96,10 +78,6 @@ 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
|
||||||
@@ -108,15 +86,13 @@ 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
|
||||||
@@ -134,8 +110,6 @@ 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
|
||||||
@@ -177,8 +151,6 @@ 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
|
||||||
@@ -220,8 +192,6 @@ 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
|
||||||
@@ -260,8 +230,6 @@ 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
|
||||||
@@ -301,8 +269,6 @@ 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
|
||||||
@@ -320,17 +286,9 @@ 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
|
||||||
@@ -357,8 +315,6 @@ 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
|
||||||
@@ -400,8 +356,6 @@ 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
|
||||||
@@ -443,8 +397,6 @@ 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
|
||||||
@@ -478,8 +430,6 @@ 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
|
||||||
@@ -511,8 +461,6 @@ 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
|
||||||
@@ -558,8 +506,6 @@ 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
|
||||||
@@ -603,8 +549,6 @@ 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
|
||||||
@@ -653,8 +597,6 @@ 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
|
||||||
@@ -689,8 +631,6 @@ 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
|
||||||
@@ -732,8 +672,6 @@ 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
|
||||||
@@ -772,8 +710,6 @@ 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
|
||||||
@@ -783,7 +719,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/t045/run.us"
|
$DIRTOTEST $TEMP_DIR $img hd0 > "../test/045/run.us"
|
||||||
|
|
||||||
# tree $TEMP_DIR
|
# tree $TEMP_DIR
|
||||||
# du -sh $TEMP_DIR
|
# du -sh $TEMP_DIR
|
||||||
@@ -796,8 +732,6 @@ 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
|
||||||
@@ -827,8 +761,6 @@ 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
|
||||||
@@ -913,13 +845,6 @@ 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
|
||||||
@@ -957,8 +882,6 @@ 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
|
||||||
@@ -998,10 +921,6 @@ 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
|
||||||
@@ -1044,8 +963,6 @@ 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
|
||||||
@@ -1080,10 +997,6 @@ 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
|
||||||
@@ -1135,6 +1048,7 @@ 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"
|
||||||
|
15
test/d037/run.us
Normal file
15
test/d037/run.us
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
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
|
1
test/d037/tags.txt
Normal file
1
test/d037/tags.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
acpi: aml
|
1
test/d037/timeout.txt
Normal file
1
test/d037/timeout.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
10s
|
17
test/d039/run.us
Normal file
17
test/d039/run.us
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
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
|
1
test/d039/tags.txt
Normal file
1
test/d039/tags.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
acpi: aml
|
1
test/d039/timeout.txt
Normal file
1
test/d039/timeout.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
10s
|
422
test/d041/ref.log
Normal file
422
test/d041/ref.log
Normal file
@@ -0,0 +1,422 @@
|
|||||||
|
/> 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
|
15
test/d041/run.us
Normal file
15
test/d041/run.us
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
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
|
1
test/d041/tags.txt
Normal file
1
test/d041/tags.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
acpi: aml
|
1
test/d041/timeout.txt
Normal file
1
test/d041/timeout.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
10s
|
161961
test/d048/ref.log
Normal file
161961
test/d048/ref.log
Normal file
File diff suppressed because it is too large
Load Diff
23
test/d048/run.us
Normal file
23
test/d048/run.us
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
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
|
1
test/d048/tags.txt
Normal file
1
test/d048/tags.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
acpi: aml
|
1
test/d048/timeout.txt
Normal file
1
test/d048/timeout.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
10s
|
2
test/machines/011/description.txt
Normal file
2
test/machines/011/description.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
name:
|
||||||
|
owner: Doczom
|
BIN
test/machines/011/pci/0000_00_00.0/config
Normal file
BIN
test/machines/011/pci/0000_00_00.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_01.0/config
Normal file
BIN
test/machines/011/pci/0000_00_01.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_01.1/config
Normal file
BIN
test/machines/011/pci/0000_00_01.1/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_05.0/config
Normal file
BIN
test/machines/011/pci/0000_00_05.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_10.0/config
Normal file
BIN
test/machines/011/pci/0000_00_10.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_11.0/config
Normal file
BIN
test/machines/011/pci/0000_00_11.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_12.0/config
Normal file
BIN
test/machines/011/pci/0000_00_12.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_12.2/config
Normal file
BIN
test/machines/011/pci/0000_00_12.2/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_14.0/config
Normal file
BIN
test/machines/011/pci/0000_00_14.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_14.2/config
Normal file
BIN
test/machines/011/pci/0000_00_14.2/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_14.3/config
Normal file
BIN
test/machines/011/pci/0000_00_14.3/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_14.4/config
Normal file
BIN
test/machines/011/pci/0000_00_14.4/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_14.7/config
Normal file
BIN
test/machines/011/pci/0000_00_14.7/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.0/config
Normal file
BIN
test/machines/011/pci/0000_00_18.0/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.1/config
Normal file
BIN
test/machines/011/pci/0000_00_18.1/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.2/config
Normal file
BIN
test/machines/011/pci/0000_00_18.2/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.3/config
Normal file
BIN
test/machines/011/pci/0000_00_18.3/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.4/config
Normal file
BIN
test/machines/011/pci/0000_00_18.4/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.5/config
Normal file
BIN
test/machines/011/pci/0000_00_18.5/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.6/config
Normal file
BIN
test/machines/011/pci/0000_00_18.6/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_00_18.7/config
Normal file
BIN
test/machines/011/pci/0000_00_18.7/config
Normal file
Binary file not shown.
BIN
test/machines/011/pci/0000_01_00.0/config
Normal file
BIN
test/machines/011/pci/0000_01_00.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/apic.dat
Normal file
BIN
test/machines/013/acpi/apic.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/bgrt.dat
Normal file
BIN
test/machines/013/acpi/bgrt.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/dbg2.dat
Normal file
BIN
test/machines/013/acpi/dbg2.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/dbgp.dat
Normal file
BIN
test/machines/013/acpi/dbgp.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/dsdt.dat
Normal file
BIN
test/machines/013/acpi/dsdt.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/facp.dat
Normal file
BIN
test/machines/013/acpi/facp.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/facs.dat
Normal file
BIN
test/machines/013/acpi/facs.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/fidt.dat
Normal file
BIN
test/machines/013/acpi/fidt.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/fpdt.dat
Normal file
BIN
test/machines/013/acpi/fpdt.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/hpet.dat
Normal file
BIN
test/machines/013/acpi/hpet.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/lpit.dat
Normal file
BIN
test/machines/013/acpi/lpit.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/mcfg.dat
Normal file
BIN
test/machines/013/acpi/mcfg.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/msdm.dat
Normal file
BIN
test/machines/013/acpi/msdm.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/nhlt.dat
Normal file
BIN
test/machines/013/acpi/nhlt.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/npkt.dat
Normal file
BIN
test/machines/013/acpi/npkt.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/pram.dat
Normal file
BIN
test/machines/013/acpi/pram.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt1.dat
Normal file
BIN
test/machines/013/acpi/ssdt1.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt10.dat
Normal file
BIN
test/machines/013/acpi/ssdt10.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt11.dat
Normal file
BIN
test/machines/013/acpi/ssdt11.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt12.dat
Normal file
BIN
test/machines/013/acpi/ssdt12.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt2.dat
Normal file
BIN
test/machines/013/acpi/ssdt2.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt3.dat
Normal file
BIN
test/machines/013/acpi/ssdt3.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt4.dat
Normal file
BIN
test/machines/013/acpi/ssdt4.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt5.dat
Normal file
BIN
test/machines/013/acpi/ssdt5.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt6.dat
Normal file
BIN
test/machines/013/acpi/ssdt6.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt7.dat
Normal file
BIN
test/machines/013/acpi/ssdt7.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt8.dat
Normal file
BIN
test/machines/013/acpi/ssdt8.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/ssdt9.dat
Normal file
BIN
test/machines/013/acpi/ssdt9.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/tpm2.dat
Normal file
BIN
test/machines/013/acpi/tpm2.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/uefi.dat
Normal file
BIN
test/machines/013/acpi/uefi.dat
Normal file
Binary file not shown.
BIN
test/machines/013/acpi/wdat.dat
Normal file
BIN
test/machines/013/acpi/wdat.dat
Normal file
Binary file not shown.
2
test/machines/013/description.txt
Normal file
2
test/machines/013/description.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
name:
|
||||||
|
owner: Vitaly K
|
BIN
test/machines/013/pci/0000:00:00.0/config
Normal file
BIN
test/machines/013/pci/0000:00:00.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:00.1/config
Normal file
BIN
test/machines/013/pci/0000:00:00.1/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:02.0/config
Normal file
BIN
test/machines/013/pci/0000:00:02.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:0e.0/config
Normal file
BIN
test/machines/013/pci/0000:00:0e.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:0f.0/config
Normal file
BIN
test/machines/013/pci/0000:00:0f.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:14.0/config
Normal file
BIN
test/machines/013/pci/0000:00:14.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:15.0/config
Normal file
BIN
test/machines/013/pci/0000:00:15.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:16.0/config
Normal file
BIN
test/machines/013/pci/0000:00:16.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:16.1/config
Normal file
BIN
test/machines/013/pci/0000:00:16.1/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:16.2/config
Normal file
BIN
test/machines/013/pci/0000:00:16.2/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:16.3/config
Normal file
BIN
test/machines/013/pci/0000:00:16.3/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:17.0/config
Normal file
BIN
test/machines/013/pci/0000:00:17.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:17.1/config
Normal file
BIN
test/machines/013/pci/0000:00:17.1/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:17.2/config
Normal file
BIN
test/machines/013/pci/0000:00:17.2/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:17.3/config
Normal file
BIN
test/machines/013/pci/0000:00:17.3/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:18.0/config
Normal file
BIN
test/machines/013/pci/0000:00:18.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:18.1/config
Normal file
BIN
test/machines/013/pci/0000:00:18.1/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:18.2/config
Normal file
BIN
test/machines/013/pci/0000:00:18.2/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:18.3/config
Normal file
BIN
test/machines/013/pci/0000:00:18.3/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:19.0/config
Normal file
BIN
test/machines/013/pci/0000:00:19.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:19.1/config
Normal file
BIN
test/machines/013/pci/0000:00:19.1/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:19.2/config
Normal file
BIN
test/machines/013/pci/0000:00:19.2/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:1b.0/config
Normal file
BIN
test/machines/013/pci/0000:00:1b.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:1c.0/config
Normal file
BIN
test/machines/013/pci/0000:00:1c.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:1e.0/config
Normal file
BIN
test/machines/013/pci/0000:00:1e.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:1f.0/config
Normal file
BIN
test/machines/013/pci/0000:00:1f.0/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:00:1f.1/config
Normal file
BIN
test/machines/013/pci/0000:00:1f.1/config
Normal file
Binary file not shown.
BIN
test/machines/013/pci/0000:01:00.0/config
Normal file
BIN
test/machines/013/pci/0000:01:00.0/config
Normal file
Binary file not shown.
BIN
test/machines/014/acpi/dmar.dat
Normal file
BIN
test/machines/014/acpi/dmar.dat
Normal file
Binary file not shown.
BIN
test/machines/014/acpi/dsdt.dat
Normal file
BIN
test/machines/014/acpi/dsdt.dat
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user