VirtualBox

Changeset 60891 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
May 9, 2016 12:55:50 PM (9 years ago)
Author:
vboxsync
Message:

TRPM,CPUM: Return to v8086 mode fixes.

  • We may have entered from protected mode and be returning to V8086 mode, so the larger V8086 frame always has to be pushed. TRPM should call CPUMGCCallV86Code instead of duplicating the code.
  • We must clear the valid bit in all the selectors when returning to v8086 mode to make sure we reload the hidden bits the next time we need them, since v8086 and protect mode are very different and our checks could get confused.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.mac

    r55738 r60891  
    253253
    254254
     255%define CPUMSELREG_FLAGS_VALID      0x0001
     256%define CPUMSELREG_FLAGS_STALE      0x0002
     257%define CPUMSELREG_FLAGS_VALID_MASK 0x0003
     258
     259
    255260;;
    256261; Guest MSR state.
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