]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commit
Test software injection of `into` in 32bit builds
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Jan 2016 12:24:52 +0000 (12:24 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Jan 2016 16:48:07 +0000 (16:48 +0000)
commit9b72c4fdcbe27a87ec197733acb537fe33e0958f
tree66caa025a5abbb186aee9216ca7dc966ac4de866
parent6376129bc2749bfcf59f9a19d0e1cabdff0a6274
Test software injection of `into` in 32bit builds

The `into` instruction is another software interrupt, which raises an #OF trap
if the overflow flag is set.  It is only recognised in 32bit code however, and
yields #UD if exectued in long mode.

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