summaryrefslogtreecommitdiff
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-13 18:30:20 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-13 18:30:20 -0700
commit1bd7c31844a7b946c5d2d85a21e913fa81460930 (patch)
treeb13d5a208672d9d074962b64e6264cfe6a328d27 /mbr
parente9a648998ff7347442db21421ac279e05d030b5f (diff)
downloadsyslinux-1bd7c31844a7b946c5d2d85a21e913fa81460930.tar.gz
Document GPT boot protocol; add !GPT signature3.6x
Document the GPT boot protocol; add additional assurance by requiring that EAX contains "!GPT" for the GPT information to be valid.
Diffstat (limited to 'mbr')
-rw-r--r--mbr/gptmbr.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index 85b9fcdf..77408b75 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -204,6 +204,7 @@ boot:
popw %dx /* dl -> drive number */
popw %di /* es:di -> $PnP vector */
popw %es
+ movl $0x54504721,%eax /* !GPT magic number */
cli
jmpw *%sp /* %sp == bootsec */