remove cpudb.h from bochs.h

This commit is contained in:
Stanislav Shwartsman 2021-07-25 18:01:28 +00:00
parent 7b2bb50722
commit da21b16d7f
3 changed files with 8 additions and 7 deletions

View File

@ -2,6 +2,7 @@
Changes in 2.7 (Not yet released):
Brief summary :
- Bugfixes for CPU emulation correctness (CPUID/VMX/SVM fixes to support Windows Hyper-V as guest in Bochs)
- Improvements for the plugin handling to simplify Bochs extensions
- Added "multiple NICs" support to the NE2000 and E1000 devices
- Added experimental FTP service for networking modules 'vnet' and 'socket'

View File

@ -307,13 +307,6 @@ void CDECL bx_signal_handler(int signum);
BOCHSAPI_MSVCONLY int bx_atexit(void);
BOCHSAPI extern bx_debug_t bx_dbg;
enum {
#define bx_define_cpudb(model) bx_cpudb_##model,
#include "cpudb.h"
bx_cpudb_model_last
};
#undef bx_define_cpudb
#if BX_SUPPORT_SMP
#define BX_SMP_PROCESSORS (bx_cpu_count)
#else

View File

@ -70,6 +70,13 @@ BX_CPU_C::BX_CPU_C(unsigned id): bx_cpuid(id)
#include "generic_cpuid.h"
enum {
#define bx_define_cpudb(model) bx_cpudb_##model,
#include "cpudb.h"
bx_cpudb_model_last
};
#undef bx_define_cpudb
#define bx_define_cpudb(model) \
extern bx_cpuid_t *create_ ##model##_cpuid(BX_CPU_C *cpu);