Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
static void
handle_csm_0001(struct bregs *regs)
{
+ if (!CONFIG_BOOT) {
+ regs->ax = 1;
+ return;
+ }
+
dprintf(3, "Legacy16UpdateBbs table %04x:%04x\n", regs->es, regs->bx);
csm_boot_table = MAKE_FLATPTR(regs->es, regs->bx);
static void
handle_csm_0002(struct bregs *regs)
{
+ if (!CONFIG_BOOT) {
+ regs->ax = 1;
+ return;
+ }
+
dprintf(3, "PrepareToBoot table %04x:%04x\n", regs->es, regs->bx);
struct e820entry *p = (void *)csm_compat_table.E820Pointer;
static void
handle_csm_0003(struct bregs *regs)
{
+ if (!CONFIG_BOOT) {
+ regs->ax = 1;
+ return;
+ }
+
dprintf(3, "Boot\n");
startBoot();