Implement !GPT protocol in Syslinux core; handle offset > 2 TB
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jun 2010 22:38:35 +0000 (15:38 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jun 2010 22:41:37 +0000 (15:41 -0700)
commit441798c66ea1b7d065d819c1af6a8c799d38036e
tree0b7ef108ad5f3faa2e45d4a18d457bf6717a2a91
parent6899a6d1722b0f7b2989b9b38c1be0fa2912cb30
Implement !GPT protocol in Syslinux core; handle offset > 2 TB

Implement the !GPT handover protocol in the Syslinux core, and handle
partition offsets above 2 TB.  We do not yet handle filesystem sizes
above 2 TB, but that should be a reasonably straightforward extension
at this time (need to switch to 8-byte block pointers).

This finally meant moving getlinsec out of the boot sector, since it
no longer fits.  Instead have a very simple getonesec implementation
in the boot sector.  getlinsec still fits in Sector 1, although it
doesn't leave space for very many block pointers.  That's still better
than adding yet another boot loader stage, however.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/diskstart.inc
extlinux/main.c
libinstaller/syslxint.h
libinstaller/syslxmod.c