Author: aandrejevic
Date: Sat May 9 21:56:40 2015
New Revision: 67606
URL:
http://svn.reactos.org/svn/reactos?rev=67606&view=rev
Log:
[FAST486]
If the executable bit of a segment descriptor is set, it's never a grow-down segment.
Modified:
trunk/reactos/lib/fast486/common.c
Modified: trunk/reactos/lib/fast486/common.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.c?rev=6…
==============================================================================
--- trunk/reactos/lib/fast486/common.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/common.c [iso-8859-1] Sat May 9 21:56:40 2015
@@ -47,7 +47,7 @@
/* 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 @@
/* Get the cached descriptor */
CachedDescriptor = &State->SegmentRegs[SegmentReg];
- if (!CachedDescriptor->DirConf)
+ if (CachedDescriptor->Executable || !CachedDescriptor->DirConf)
{
if ((Offset + Size - 1) > CachedDescriptor->Limit)
{