summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i386/i386.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-02-07 01:42:58 -0500
committer AJR <ajrhacker@users.noreply.github.com>2016-02-07 01:42:58 -0500
commit0d8df9d595aa49dd1ce77fa7ecd1db5b286a6f9f (patch)
treed69685e02c93053693deef9fc6ca2c7704444ff1 /src/devices/cpu/i386/i386.h
parent3466c47229c837919539e0d228c524f1d3a07b39 (diff)
Make generic VTLB implementation a modern device interface (nw)
Diffstat (limited to 'src/devices/cpu/i386/i386.h')
-rw-r--r--src/devices/cpu/i386/i386.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/devices/cpu/i386/i386.h b/src/devices/cpu/i386/i386.h
index c9ef38b4280..979aaf08f45 100644
--- a/src/devices/cpu/i386/i386.h
+++ b/src/devices/cpu/i386/i386.h
@@ -8,7 +8,7 @@
#include "softfloat/milieu.h"
#include "softfloat/softfloat.h"
#include "debug/debugcpu.h"
-#include "cpu/vtlb.h"
+#include "divtlb.h"
#define INPUT_LINE_A20 1
@@ -24,7 +24,7 @@
#define X86_NUM_CPUS 4
-class i386_device : public cpu_device
+class i386_device : public cpu_device, public device_vtlb_interface
{
public:
// construction/destruction
@@ -270,8 +270,6 @@ struct I386_CALL_GATE
UINT8 *m_cycle_table_pm;
UINT8 *m_cycle_table_rm;
- vtlb_state *m_vtlb;
-
bool m_smm;
bool m_smi;
bool m_smi_latched;
@@ -1411,7 +1409,7 @@ struct I386_CALL_GATE
void build_x87_opcode_table_df();
void build_x87_opcode_table();
void i386_postload();
- void i386_common_init(int tlbsize);
+ void i386_common_init();
void build_opcode_table(UINT32 features);
void pentium_smi();
void zero_state();