diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-14 16:33:37 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-14 16:33:37 -0700 |
commit | 0046660e3849bef9d922ba69d07c5bc639d1d133 (patch) | |
tree | 0d60efb691e622912682b7bab367a51ce8ead76e /core/init.inc | |
parent | 1c7146a2eeaaf0021cc15e682e12609a652ed870 (diff) | |
download | syslinux-0046660e3849bef9d922ba69d07c5bc639d1d133.tar.gz |
core: handle more than 32K of code for disk-based derivatives
Handle more than 32K worth of code for disk-based derivatives. We do
this by allowing the sector pointers to overflow past sector 1; this
is OK because we limit a run to be based on only the pointers that we
have read so far.
XXX: This is implemented for EXTLINUX, but breaks SYSLINUX. Need to
update (and unify!) the SYSLINUX installers to cope.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/init.inc')
-rw-r--r-- | core/init.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.inc b/core/init.inc index edfde5de..90c607ee 100644 --- a/core/init.inc +++ b/core/init.inc @@ -28,7 +28,7 @@ common_init: mov edi,__pm_code_start mov ecx,__pm_code_len call bcopy - or esi,-1 ; Set to zero + or esi,-1 ; bzero mov edi,__bss_start mov ecx,__bss_len call bcopy |