aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-25 14:56:11 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-25 14:56:11 -0700
commit66faa55d9decdea13f3be830e9999c23574a34c5 (patch)
treea8afb9a3d6fd8c46890f9a128bf4cddc3c91d139 /doc
parent4a211f679cd19207085b2e53c1c6572a47226fc1 (diff)
downloadsyslinux-66faa55d9decdea13f3be830e9999c23574a34c5.tar.gz
syslinux-66faa55d9decdea13f3be830e9999c23574a34c5.tar.xz
syslinux-66faa55d9decdea13f3be830e9999c23574a34c5.zip
com32r: verify the COM32R magic number
Since we might be having COM32 and COM32R in the same filesystem, do check for the appropriate COM32R magic before doing anything else. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/comboot.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/comboot.txt b/doc/comboot.txt
index 1b087a16..101b173a 100644
--- a/doc/comboot.txt
+++ b/doc/comboot.txt
@@ -61,8 +61,8 @@ be possible to create a COM32 execution engine that would run under
something like Linux DOSEMU, it is recommended that the code does not
assume CPL 0 unless absolutely necessary.
-It is highly recommended that every COM32R program begins with the byte
-sequence B8 FE 4C CD 21 (mov eax,21cd4cfeh) as a magic number.
+A COM32R program must start with the byte sequence B8 FE 4C CD 21 (mov
+eax,21cd4cfeh) as a magic number.
The COM32R format replaces the earlier COM32 format, which was linked
to a fixed address (0x101000).