===> dump_tables ==== run-regress-dump_tables ==== sed -nE -e '/^struct[[:space:]]+pmap[[:space:]]*\{/,/^}/p' -e '/^[[:space:]]*#[[:space:]]*define[[:space:]]+PMAP_DIRECT_(UN)?MAP\(/p' /usr/include/machine/pmap.h >struct_pmap.h cc -I. -MD -MP -c /home/src/regress/sys/arch/amd64/dump_tables/dump_tables.c cc -o dump_tables dump_tables.o -lkvm doas -n ./dump_tables >tables ===> fpu ==== run-regress-fenv ==== cc -c -MD -MF fenv.d -o fenv.o /home/src/regress/sys/arch/amd64/fpu/fenv.S cc -o fenv fenv.o -nopie -nostdlib -static cc -O2 -pipe -Wformat -Wno-compare-distinct-pointer-types -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/arch/amd64/fpu/fdump.c cc -o fdump fdump.o # Load FPU environment directly at _start and write it. # Read FPU environment and print it to stdout. ./fenv | ./fdump >fenv.out diff /home/src/regress/sys/arch/amd64/fpu/fenv_t.ok fenv.out ==== run-regress-fdfl ==== cc -O2 -pipe -Wformat -Wno-compare-distinct-pointer-types -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/arch/amd64/fpu/fdfl.c cc -o fdfl fdfl.o -lm # Print default libm FPU environment to stdout. ./fdfl >fdfl.out diff /home/src/regress/sys/arch/amd64/fpu/fenv_t.ok fdfl.out ==== run-regress-feget ==== cc -O2 -pipe -Wformat -Wno-compare-distinct-pointer-types -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/arch/amd64/fpu/feget.c cc -o feget feget.o -lm # Get FPU environment via libm and print it to stdout. ./feget >feget.out diff /home/src/regress/sys/arch/amd64/fpu/fenv_t.ok feget.out ==== run-regress-fxproc0 ==== cc -O2 -pipe -Wformat -Wno-compare-distinct-pointer-types -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/arch/amd64/fpu/fxproc0.c cc -o fxproc0 fxproc0.o -lkvm # Read FPU storage area from proc0 via /dev/mem and print it to stdout. doas -n ./fxproc0 >fxproc0.out diff /home/src/regress/sys/arch/amd64/fpu/fxsave64.ok fxproc0.out ===> vmm ==== run-regress-vcpu ==== cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/arch/amd64/vmm/vcpu.c cc -o vcpu vcpu.o doas -n ./vcpu created mapped region 0: { gpa: 0x00000000, size: 655360, hva: 0xdb4c88b0000 } created mapped region 1: { gpa: 0xfc0a0000, size: 66453504, hva: 0xdb42656c000 } created vm 1 named "regress" created shared memory mappings checked shared region 0: { gpa: 0x00000000, size: 655360, hva: 0xdb4084cb000 } checked shared region 1: { gpa: 0xfc0a0000, size: 66453504, hva: 0xdb416cfc000 } validated shared memory mappings found vm 1 named "regress" reset vcpu 0 for vm 1 vcpu 0 on vm 1 exited for io assist @ ip = 0xfff2, cs.base = 0xffff0000, ss.base = 0x0, rsp = 0x7fc got expected string instruction insn_len = 1 injecting exception 0xd vcpu 0 on vm 1 exited for io assist @ ip = 0xb5d, cs.base = 0x0 exception handler called --- RESET VECTOR @ gpa 0xfffffff0 --- 66 52 6c cc cc cc cc cc cc cc --- STACK @ gpa 0x800 --- 00 00 00 61 00 02 f0 00 ff f3 cc cc cc cc cc cc terminated vm 1 unmapped origin region 0 @ hva 0xdb4c88b0000 unmapped shared region 0 @ hva 0xdb4084cb000 unmapped origin region 1 @ hva 0xdb42656c000 unmapped shared region 1 @ hva 0xdb416cfc000