VirtualBox

Ignore:
Timestamp:
Nov 6, 2022 2:41:17 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154428
Message:

ValKit/bs3kit: Corrected size of g_apfnBs3TrapHandlers_c32 and g_apfnBs3TrapHandlers_c64. Got bitten by BS3_BEGIN_DATA16 switching to 16-bit mode while code expected ARCH_BITS mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TrapHandlersData.asm

    r96407 r97423  
    4343
    4444BS3_BEGIN_DATA16
     45        BS3_SET_BITS ARCH_BITS  ; Override the 16-bit mode that BS3_BEGIN_DATA16 implies so we get a correct xCB value.
     46
    4547;; Pointer C trap handlers.
    4648;; Note! The 16-bit ones are all near so we can share them between real, v86 and prot mode.
    4749;; Note! Must be in 16-bit data because of BS3TrapSetHandlerEx.
    4850BS3_GLOBAL_NAME_EX BS3_CMN_NM(g_apfnBs3TrapHandlers), , 256 * xCB
    49         resb 256 * xCB
     51        resb (256 * xCB)
    5052
Note: See TracChangeset for help on using the changeset viewer.

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