diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-13 18:30:20 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-13 18:30:20 -0700 |
commit | 1bd7c31844a7b946c5d2d85a21e913fa81460930 (patch) | |
tree | b13d5a208672d9d074962b64e6264cfe6a328d27 /mbr | |
parent | e9a648998ff7347442db21421ac279e05d030b5f (diff) | |
download | syslinux-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.S | 1 |
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 */ |