core: Delete the aux segment
authorMatt Fleming <matt.fleming@intel.com>
Thu, 16 Feb 2012 12:12:50 +0000 (12:12 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 23 Mar 2012 16:34:41 +0000 (16:34 +0000)
commit51529126e71d1a2b451c6e809567e1ebd3788aa6
tree319e50d828ff053e7e769787516544573149474b
parent43499c9dc347ee858e9e395eba0954ec52a410ef
core: Delete the aux segment

We don't need to use a special aux segment because we can represent
'fontbuf' with OFFS() and SEG(). We're guaranteed to be able to break
the 32-bit pointer up with these macros because we control where in
the address space the core is loaded. (Not all 32-bit pointers can be
represented with OFFS() and SEG(), only addresses in the range
0..0xFFFFF.)

This fixes the breakage that was introduced in commit 14531c47bc95
("core: Delete code that is duplicated in ldlinux").

This allows the default font to be displayed. Previously junk was
being returned in the COMBOOT API call to query the userfont, leading
the caller to believe that a user font was installed even when it
wasn't.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/comboot.inc
core/font.c
core/include/core.h
core/init.inc
core/layout.inc
core/syslinux.ld