summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-03-18 14:58:13 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-03-18 14:58:13 (GMT)
commit8357ab567e407af064c0d690fee1bd82c2fe411d (patch)
tree0123162c578af5309d0a44dfaa89a4c853ce324d
parentae2dc76478475a11656b2d7de03fba96d380f177 (diff)
downloadvirtio9p-8357ab567e407af064c0d690fee1bd82c2fe411d.zip
virtio9p-8357ab567e407af064c0d690fee1bd82c2fe411d.tar.gz
virtio9p-8357ab567e407af064c0d690fee1bd82c2fe411d.tar.bz2
virtio9p-8357ab567e407af064c0d690fee1bd82c2fe411d.tar.xz
start.asm: smsw for testing PM, not lmsw
We want to use smsw for testing if we are in protected mode, not lmsw...
-rw-r--r--start.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.asm b/start.asm
index 45e80b3..9a47556 100644
--- a/start.asm
+++ b/start.asm
@@ -538,7 +538,7 @@ configure_vring:
pushw vring_desc
call printhex4
- lmsw %ax /* If we are not in protected mode = no VDS */
+ smsw %ax /* If we are not in protected mode = no VDS */
shrw $1,%ax
jnc vring_mapped