]> xenbits.xensource.com Git - xtf.git/commit
test-swint: Update to use ex_record rather than exlog
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 2 Mar 2024 21:14:54 +0000 (21:14 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 3 Mar 2024 00:13:29 +0000 (00:13 +0000)
commitd00bccb5e5c7c253e3305d55a1a2ab4d3c52b929
tree68e00e6b118e52286beefcb832c81cc60d5252cb
parent96c8b0173294549239c39b75996bbc52f0afd4f5
test-swint: Update to use ex_record rather than exlog

This is both more precise and consice.

As this test pertains to mixing up faults and traps, introduce EXINFO_TRAP and
ex_record_trap_eax() to distinguish which EXTABLE entry was used.  This in
turn means we don't need to export the trap/fault labels to C.

Change the nomeclature for instruction prefixes, because "red" is fairly
meaningless and confusing in context.

No change in test behaviour.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
tests/swint-emulation/lowlevel.S
tests/swint-emulation/lowlevel.h
tests/swint-emulation/main.c