summaryrefslogtreecommitdiff
path: root/memdisk
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-12-07 15:02:14 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-12-07 15:02:14 -0800
commit6b588d85fe96f91b90035c897c6f015553e0d213 (patch)
tree1f6e8cbd41cf66ed5261c5a52a87636ca8764f41 /memdisk
parent569a7aa11d6ec9f93fb513fd55287afc785f2d9c (diff)
downloadsyslinux-6b588d85fe96f91b90035c897c6f015553e0d213.tar.gz
memdisk: slight cleanup of the "safe hook" structure
Make the "safe hook" structure code a bit more readable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/memdisk.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/memdisk/memdisk.inc b/memdisk/memdisk.inc
index 8a4a2b4a..a92bbda2 100644
--- a/memdisk/memdisk.inc
+++ b/memdisk/memdisk.inc
@@ -125,8 +125,7 @@ Pointers: dw Int13Start
IretPtr equ Int13Start.iret
Int13Start:
- jmp Int13Start.SafeHookEnd
- db 0 ; Pad to three bytes
+ jmp strict near .SafeHookEnd ; 3-byte jump
db '$INT13SF' ; Signature for "safe hook"
db 'MEMDISK ' ; Vendor ID
dd 0 ; SEG:OFF of previous INT 13h hook