summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--start.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/start.asm b/start.asm
index 64c1bf6..45e80b3 100644
--- a/start.asm
+++ b/start.asm
@@ -537,6 +537,10 @@ configure_vring:
printmsg ":"
pushw vring_desc
call printhex4
+
+ lmsw %ax /* If we are not in protected mode = no VDS */
+ shrw $1,%ax
+ jnc vring_mapped
pushw %es
movw $0x354b,%ax /* Read int $0x4b vector */