Implemented selector limits on some instructions - fixes LBA2.
GPFs in real mode now work. Selectors correctly zeroed on far return to lower privilege.
This commit is contained in:
parent
624ef9ba3c
commit
cd2c3b47ed
16 changed files with 404 additions and 462 deletions
|
|
@ -58,7 +58,7 @@ extern uint16_t *mod1add[2][8];
|
|||
extern uint32_t *mod1seg[8];
|
||||
|
||||
|
||||
#define IRQTEST ((flags&I_FLAG) && (pic.pend&~pic.mask) && !ssegs && !noint)
|
||||
#define IRQTEST ((flags&I_FLAG) && (pic.pend&~pic.mask) && !noint)
|
||||
|
||||
extern int cgate32;
|
||||
|
||||
|
|
@ -99,3 +99,5 @@ extern uint32_t rmdat32;
|
|||
extern int inscounts[256];
|
||||
|
||||
void x86illegal();
|
||||
|
||||
void x86seg_reset();
|
||||
|
|
|
|||
Loading…
Reference in a new issue