projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Update selector names to official names and define/use the MODE and RPL masks for...
[reactos.git]
/
reactos
/
ntoskrnl
/
ps
/
debug.c
diff --git
a/reactos/ntoskrnl/ps/debug.c
b/reactos/ntoskrnl/ps/debug.c
index
1aa7782
..
742326a
100644
(file)
--- a/
reactos/ntoskrnl/ps/debug.c
+++ b/
reactos/ntoskrnl/ps/debug.c
@@
-56,7
+56,7
@@
PspGetOrSetContextKernelRoutine(PKAPC Apc,
Event = &GetSetContext->Event;
Mode = GetSetContext->Mode;
- if (TrapFrame->Cs == K
ERNEL_CS
&& Mode != KernelMode)
+ if (TrapFrame->Cs == K
GDT_R0_CODE
&& Mode != KernelMode)
{
GetSetContext->Status = STATUS_ACCESS_DENIED;
}