Export the 64-bit partition offset and use it in chain.c
authorH. Peter Anvin <hpa@zytor.com>
Sun, 27 Jun 2010 19:02:48 +0000 (12:02 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 27 Jun 2010 19:02:48 +0000 (12:02 -0700)
commitb775b0040fe57ef71ec9cd98f9c124a3d116269b
treeec85cf4b93d4d6ad4e5aa0eeeff0c8db14149a6c
parent7ccf85b2a873bba3f363ad2df05457dd160c3f6d
Export the 64-bit partition offset and use it in chain.c

When used with the "fs" option to chain.c32, we need to know our own
filesystem offset.  That means knowing if we used the MBR vs GPT
partition information, as well as if we ended up using the passed-in
information or not.

Resolve this by providing an explicit pointer to the current partition
offset.  Eventually this should be replaced by some kind of statfs()
call.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/include/syslinux/config.h
com32/modules/chain.c
core/comboot.inc
core/isolinux.asm
doc/comboot.txt