VirtualBox

Ignore:
Timestamp:
Feb 7, 2020 2:13:38 AM (5 years ago)
Author:
vboxsync
Message:

bs3kit: Fixed silly non-max CS16 limit crap causing trouble when returning to real-mode.

Location:
trunk/src/VBox/ValidationKit/bootsectors/bs3kit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToRM.asm

    r82968 r83013  
    253253        ; real mode) are real mode compatible.
    254254        ;
     255        ; ASSUMES BS3_SEL_R0_SS16 and BS3_SEL_R0_CS16 are both maxed out and
     256        ; has no funny bits set!
     257        ;
    255258.is_386_or_better:
    256259;; @todo Testcase: Experiment leaving weird stuff in the hidden segment registers.
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-rm-InitGdt.c

    r82968 r83013  
    4141BS3_DECL_FAR(void) Bs3InitGdt_rm_far(void)
    4242{
    43 #if 1
     43#if 0 /* This totaly messes us up when going back to raw-mode for BIOS work. */
    4444    Bs3Gdte_R0_CS16.Gen.u16LimitLow     = Bs3Text16_Size - 1;
    4545    Bs3Gdte_R1_CS16.Gen.u16LimitLow     = Bs3Text16_Size - 1;
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