mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[HAL]
Restore fs in HalpTrap06. Should fix crash on 1st stage with VBox. svn path=/trunk/; revision=45573
This commit is contained in:
parent
6adba76502
commit
43108b2dd0
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ HalpTrap06()
|
|||
/* Restore ES/DS to known good values first */
|
||||
Ke386SetEs(KGDT_R3_DATA | RPL_MASK);
|
||||
Ke386SetDs(KGDT_R3_DATA | RPL_MASK);
|
||||
Ke386SetFs(KGDT_R0_PCR);
|
||||
|
||||
/* Restore the stack */
|
||||
KeGetPcr()->TSS->Esp0 = HalpSavedEsp0;
|
||||
|
|
Loading…
Reference in a new issue