[syslinux] [PATCH] chain: Fix chainloading on 6.02

H. Peter Anvin hpa at zytor.com
Thu Oct 17 16:03:06 PDT 2013


On 10/17/2013 03:05 PM, Raphael S.Carvalho wrote:
> From: Raphael S. Carvalho <raphael.scarv at gmail.com>
> 
> My commit 09f4ac33 broke 'com32/lib/syslinux/disk.c'
> 
> __lowmem doesn't work for declarations outside the core.
> Using __lowmem outside the core wouldn't have the desired effect, then lmalloc
> must be used instead to store dapa into the correct section (".lowmem").
> 
> Reported-by: Dark Raven <drdarkraven at gmail.com>
> Signed-off-by: Raphael S. Carvalho <raphael.scarv at gmail.com>

It probably would make sense to unify this with the diskio code in the
core (ideally making it so the core code can simply be called.)  In
particular, the diskio code in the core handles some corner cases which
this code doesn't, e.g. firmware which doesn't handle 64K crossings and
so on.

	-hpa




More information about the Syslinux mailing list