Access bit now set in selector descriptors.
This commit is contained in:
parent
c06d8913ce
commit
8d90f77279
1 changed files with 4 additions and 8 deletions
12
src/x86seg.c
12
src/x86seg.c
|
|
@ -8,16 +8,12 @@
|
||||||
#include "386.h"
|
#include "386.h"
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
|
|
||||||
/*Controls whether the accessed bit in a descriptor is set when CS is loaded. The
|
/*Controls whether the accessed bit in a descriptor is set when CS is loaded.*/
|
||||||
386 PRM is ambiguous on this subject, but BOCHS doesn't set it and Windows 98
|
#define CS_ACCESSED
|
||||||
setup crashes if it is.
|
|
||||||
The accessed bit is always set for data and stack selectors though.*/
|
|
||||||
//#define CS_ACCESSED
|
|
||||||
|
|
||||||
/*Controls whether the accessed bit in a descriptor is set when a data or stack
|
/*Controls whether the accessed bit in a descriptor is set when a data or stack
|
||||||
selector is loaded. This SHOULD be set, however Windows 98 setup crashes if it
|
selector is loaded.*/
|
||||||
is.*/
|
#define SEL_ACCESSED
|
||||||
//#define SEL_ACCESSED
|
|
||||||
int stimes = 0;
|
int stimes = 0;
|
||||||
int dtimes = 0;
|
int dtimes = 0;
|
||||||
int btimes = 0;
|
int btimes = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue