VirtualBox

Changeset 41759 in vbox


Ignore:
Timestamp:
Jun 15, 2012 3:54:31 PM (12 years ago)
Author:
vboxsync
Message:

BIOS: Load nicer value into ES after quitting PM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/system.c

    r41594 r41759  
    134134    modify nomemory;
    135135
     136/* Restore stack and reload segment registers in real mode to ensure
     137 * real mode compatible selector+base.
     138 */
    136139void pm_stack_restore(void);
    137140#pragma aux pm_stack_restore =  \
     
    139142    "xor    ax, ax"             \
    140143    "mov    ds, ax"             \
     144    "mov    es, ax"             \
    141145    "lss    sp, ds:[467h]"      \
    142146    "pop    eax"                \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette