Fixed compile-breaking bugs.
This commit is contained in:
@@ -28,6 +28,13 @@ uint32_t oldpc2;
|
|||||||
|
|
||||||
int trap;
|
int trap;
|
||||||
|
|
||||||
|
uint16_t flags,eflags;
|
||||||
|
uint32_t oldds,oldss,olddslimit,oldsslimit,olddslimitw,oldsslimitw;
|
||||||
|
|
||||||
|
x86seg gdt,ldt,idt,tr;
|
||||||
|
x86seg _cs,_ds,_es,_ss,_fs,_gs;
|
||||||
|
x86seg _oldds;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern int cpl_override;
|
extern int cpl_override;
|
||||||
@@ -40,6 +47,9 @@ uint16_t ea_rseg;
|
|||||||
int is486;
|
int is486;
|
||||||
int cgate32;
|
int cgate32;
|
||||||
|
|
||||||
|
uint32_t cr2, cr3, cr4;
|
||||||
|
uint32_t dr[8];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
uint8_t romext[32768];
|
uint8_t romext[32768];
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ int cpu_hasrdtsc;
|
|||||||
int cpu_hasMMX, cpu_hasMSR;
|
int cpu_hasMMX, cpu_hasMSR;
|
||||||
int cpu_hasCR4;
|
int cpu_hasCR4;
|
||||||
int cpu_use_dynarec;
|
int cpu_use_dynarec;
|
||||||
|
int cpu_pci_speed;
|
||||||
|
|
||||||
uint64_t cpu_CR4_mask;
|
uint64_t cpu_CR4_mask;
|
||||||
|
|
||||||
@@ -606,6 +607,7 @@ void cpu_set()
|
|||||||
if (cpu_s->multi)
|
if (cpu_s->multi)
|
||||||
cpu_busspeed = cpu_s->rspeed / cpu_s->multi;
|
cpu_busspeed = cpu_s->rspeed / cpu_s->multi;
|
||||||
cpu_multi = cpu_s->multi;
|
cpu_multi = cpu_s->multi;
|
||||||
|
cpu_pci_speed = cpu_s->pci_speed;
|
||||||
cpu_hasrdtsc = 0;
|
cpu_hasrdtsc = 0;
|
||||||
cpu_hasMMX = 0;
|
cpu_hasMMX = 0;
|
||||||
cpu_hasMSR = 0;
|
cpu_hasMSR = 0;
|
||||||
|
|||||||
@@ -117,6 +117,7 @@ extern int cpu_iscyrix;
|
|||||||
extern int cpu_16bitbus;
|
extern int cpu_16bitbus;
|
||||||
extern int cpu_busspeed;
|
extern int cpu_busspeed;
|
||||||
extern int cpu_multi;
|
extern int cpu_multi;
|
||||||
|
extern int cpu_pci_speed;
|
||||||
|
|
||||||
extern int cpu_hasrdtsc;
|
extern int cpu_hasrdtsc;
|
||||||
extern int cpu_hasMSR;
|
extern int cpu_hasMSR;
|
||||||
|
|||||||
Reference in New Issue
Block a user