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
/
hal
/
halx86
/
mp
/
apic.c
diff --git
a/reactos/hal/halx86/mp/apic.c
b/reactos/hal/halx86/mp/apic.c
index
21e9ef4
..
58e5e2e
100644
(file)
--- a/
reactos/hal/halx86/mp/apic.c
+++ b/
reactos/hal/halx86/mp/apic.c
@@
-919,7
+919,7
@@
SetInterruptGate(ULONG index, ULONG address)
idt = (KIDTENTRY*)((ULONG)KeGetCurrentKPCR()->IDT + index * sizeof(KIDTENTRY));
idt->Offset = address & 0xffff;
- idt->Selector = K
ERNEL_CS
;
+ idt->Selector = K
GDT_R0_CODE
;
idt->Access = Access.Value;
idt->ExtendedOffset = address >> 16;
}