chain: Fix chainloading on 6.02
commit4ac63b5ac412d54462e292daf65a309775bc0448
authorRaphael S. Carvalho <raphael.scarv@gmail.com>
Thu, 17 Oct 2013 22:05:32 +0000 (17 19:05 -0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 17 Oct 2013 22:57:04 +0000 (17 15:57 -0700)
treeca6e0d060dd28a18f255c9adaff0302c87ab1f47
parent67aaaeeb22832a0b82e5043877d26d1a9602bf2a
chain: Fix chainloading on 6.02

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@gmail.com>
Signed-off-by: Raphael S. Carvalho <raphael.scarv@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/lib/syslinux/disk.c