===> ddb ==== run-regress-disasm ==== cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/disasm.c cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/stubs.c cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:35: In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/param.h:76: /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:390:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] if (tv->tv_sec > UINT64_MAX / 1000000000ULL) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:432:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] if (ts->tv_sec > (UINT64_MAX - ts->tv_nsec) / 1000000000ULL) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:6: warning: variable 'regmodrm' set but not used [-Wunused-but-set-variable] int regmodrm, sib, displacement, opcode; ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:16: warning: variable 'sib' set but not used [-Wunused-but-set-variable] int regmodrm, sib, displacement, opcode; ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:21: warning: variable 'displacement' set but not used [-Wunused-but-set-variable] int regmodrm, sib, displacement, opcode; ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1013:35: warning: variable 'opcode' set but not used [-Wunused-but-set-variable] int regmodrm, sib, displacement, opcode; ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1123:1: warning: no previous prototype for function 'db_disasm' [-Wmissing-prototypes] db_disasm(vaddr_t loc, int altfmt) ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/arch/amd64/amd64/db_disasm.c:1122:1: note: declare 'static' if the function is not intended to be used outside of this translation unit vaddr_t ^ static 7 warnings generated. cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_output.c In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_output.c:33: In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/param.h:76: /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:390:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] if (tv->tv_sec > UINT64_MAX / 1000000000ULL) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:432:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] if (ts->tv_sec > (UINT64_MAX - ts->tv_nsec) / 1000000000ULL) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -D_KERNEL -I/home/src/regress/sys/arch/amd64/ddb/../../../../../sys -c /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:30: In file included from /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/param.h:76: /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:390:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] if (tv->tv_sec > UINT64_MAX / 1000000000ULL) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/sys/time.h:432:17: warning: comparison of integers of different signs: 'const time_t' (aka 'const long long') and 'unsigned long long' [-Wsign-compare] if (ts->tv_sec > (UINT64_MAX - ts->tv_nsec) / 1000000000ULL) ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:48:1: warning: no previous prototype for function 'ddb_init' [-Wmissing-prototypes] ddb_init(void) ^ /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:47:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void ^ static /home/src/regress/sys/arch/amd64/ddb/../../../../../sys/ddb/db_sym.c:149:10: warning: comparison of integers of different signs: 'db_expr_t' (aka 'long') and 'unsigned long' [-Wsign-compare] if (off <= db_lastsym) { ~~~ ^ ~~~~~~~~~~ 4 warnings generated. cc -o disasm disasm.o stubs.o db_disasm.o db_output.o db_sym.o ./disasm ===> 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: 0x5ef742fd000 } created mapped region 1: { gpa: 0xfc0a0000, size: 66453504, hva: 0x5efde4dc000 } created vm 1 named "regress" created shared memory mappings checked shared region 0: { gpa: 0x00000000, size: 655360, hva: 0x5efc4246000 } checked shared region 1: { gpa: 0xfc0a0000, size: 66453504, hva: 0x5ef15523000 } 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 0x5ef742fd000 unmapped shared region 0 @ hva 0x5efc4246000 unmapped origin region 1 @ hva 0x5efde4dc000 unmapped shared region 1 @ hva 0x5ef15523000