From 2999eab48c36b0703afc5d35fe86765f30ee567f Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sat, 30 Jan 2021 19:07:56 +0000 Subject: [PATCH] remove defines which belong to already removed feature. fix compilation with GUI debugger enabled --- bochs/gui/enh_dbg.cc | 1 + bochs/gui/siminterface.h | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bochs/gui/enh_dbg.cc b/bochs/gui/enh_dbg.cc index 659865744..832cdd29f 100644 --- a/bochs/gui/enh_dbg.cc +++ b/bochs/gui/enh_dbg.cc @@ -17,6 +17,7 @@ #include #include "bochs.h" +#include "pc_system.h" #include "cpu/cpu.h" extern char* disasm(const Bit8u *opcode, bool is_32, bool is_64, char *disbufptr, bxInstruction_c *i, bx_address cs_base, bx_address rip); diff --git a/bochs/gui/siminterface.h b/bochs/gui/siminterface.h index 26d7a756a..b4ec11400 100644 --- a/bochs/gui/siminterface.h +++ b/bochs/gui/siminterface.h @@ -199,12 +199,6 @@ enum { BX_BOOT_NETWORK }; -// loader hack -#define Load32bitOSNone 0 -#define Load32bitOSLinux 1 -#define Load32bitOSNullKernel 2 // being developed for plex86 -#define Load32bitOSLast 2 - /////////////////////////////////////////////////////////////////// // event structures for communication between simulator and CI ///////////////////////////////////////////////////////////////////