mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[FAST486]
If the executable bit of a segment descriptor is set, it's never a grow-down segment. svn path=/trunk/; revision=67606
This commit is contained in:
parent
b3dfcac1cf
commit
6cba38d854
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ Fast486ReadMemory(PFAST486_STATE State,
|
|||
/* Get the cached descriptor */
|
||||
CachedDescriptor = &State->SegmentRegs[SegmentReg];
|
||||
|
||||
if (InstFetch || !CachedDescriptor->DirConf)
|
||||
if (InstFetch || CachedDescriptor->Executable || !CachedDescriptor->DirConf)
|
||||
{
|
||||
if ((Offset + Size - 1) > CachedDescriptor->Limit)
|
||||
{
|
||||
|
@ -169,7 +169,7 @@ Fast486WriteMemory(PFAST486_STATE State,
|
|||
/* Get the cached descriptor */
|
||||
CachedDescriptor = &State->SegmentRegs[SegmentReg];
|
||||
|
||||
if (!CachedDescriptor->DirConf)
|
||||
if (CachedDescriptor->Executable || !CachedDescriptor->DirConf)
|
||||
{
|
||||
if ((Offset + Size - 1) > CachedDescriptor->Limit)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue