MEMDISK: adjust descriptor table limit
authorH. Peter Anvin <hpa@zytor.com>
Mon, 9 Mar 2009 05:56:28 +0000 (22:56 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 9 Mar 2009 05:56:28 +0000 (22:56 -0700)
The descriptor table limit was off by one.  Not that it matters, but
be picky about these sort of things.

memdisk/memdisk.inc

index 8fa7dc0..eae5e19 100644 (file)
@@ -878,7 +878,7 @@ Int13FuncsCnt       equ (Int13FuncsEnd-Int13Funcs) >> 1
 
 
                alignb 8, db 0
-Shaker         dw ShakerEnd-$
+Shaker         dw ShakerEnd-$-1        ; Descriptor table limit
                dd 0                    ; Pointer to self
                dw 0