summaryrefslogtreecommitdiffstats
path: root/printmsg.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-03-17 21:33:22 -0700
committerH. Peter Anvin <hpa@zytor.com>2013-03-17 21:33:22 -0700
commit5169e4e2b35b5364bae129bd14cc1ac8e9cb95b5 (patch)
treee8930f913ff566c4743462ba2113caf76d30b9f0 /printmsg.asm
parent507fab0b8b1ce1ed19a1e5c1138d71c2c58f4f1e (diff)
downloadvirtio9p-5169e4e2b35b5364bae129bd14cc1ac8e9cb95b5.tar.gz
virtio9p-5169e4e2b35b5364bae129bd14cc1ac8e9cb95b5.tar.xz
virtio9p-5169e4e2b35b5364bae129bd14cc1ac8e9cb95b5.zip
Check if we are in PM before poking around for VDS
Virtual DMA Services (VDS) only make sense if we are in protected mode (typically V86 mode, of course); the lmsw instruction is an unprivileged way to query the bottom half of CR0, which includes the PE bit.
Diffstat (limited to 'printmsg.asm')
0 files changed, 0 insertions, 0 deletions