mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:22:58 +00:00
- Set the limit of the user mode code/data segment back to 4GB.
svn path=/trunk/; revision=13102
This commit is contained in:
parent
3dd9f51ff6
commit
d259b9f2fc
1 changed files with 2 additions and 7 deletions
|
@ -40,13 +40,8 @@ USHORT KiBootGdt[11 * 4] =
|
||||||
0x0, 0x0, 0x0, 0x0, /* Null */
|
0x0, 0x0, 0x0, 0x0, /* Null */
|
||||||
0xffff, 0x0, 0x9a00, 0xcf, /* Kernel CS */
|
0xffff, 0x0, 0x9a00, 0xcf, /* Kernel CS */
|
||||||
0xffff, 0x0, 0x9200, 0xcf, /* Kernel DS */
|
0xffff, 0x0, 0x9200, 0xcf, /* Kernel DS */
|
||||||
#ifdef __3GB__
|
0xffff, 0x0, 0xfa00, 0xcf, /* User CS */
|
||||||
0xffff, 0x0, 0xfa00, 0xcb, /* User CS */
|
0xffff, 0x0, 0xf200, 0xcf, /* User DS */
|
||||||
0xffff, 0x0, 0xf200, 0xcb, /* User DS */
|
|
||||||
#else
|
|
||||||
0xffff, 0x0, 0xfa00, 0xc7, /* User CS */
|
|
||||||
0xffff, 0x0, 0xf200, 0xc7, /* User DS */
|
|
||||||
#endif
|
|
||||||
0x0, 0x0, 0x0, 0x0, /* TSS */
|
0x0, 0x0, 0x0, 0x0, /* TSS */
|
||||||
0x0fff, 0x0000, 0x9200, 0xff00, /* PCR */
|
0x0fff, 0x0000, 0x9200, 0xff00, /* PCR */
|
||||||
0x0fff, 0x0, 0xf200, 0x0, /* TEB */
|
0x0fff, 0x0, 0xf200, 0x0, /* TEB */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue