Access bit now set in selector descriptors.

This commit is contained in:
TomW 2016-03-29 20:06:55 +01:00
commit 8d90f77279

View file

@ -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;