VirtualBox

Ignore:
Timestamp:
Nov 25, 2016 9:20:15 AM (8 years ago)
Author:
vboxsync
Message:

bs3kit: Added Bs3SelSetup16BitCode, Bs3SelSetup16BitData.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk

    r64734 r64751  
    120120       bs3-cmn-SelFlatDataToProtFar16.asm \
    121121       bs3-cmn-SelFlatDataToRealMode.asm \
     122       bs3-cmn-SelSetup16BitData.c \
     123       bs3-cmn-SelSetup16BitCode.c \
    122124       bs3-cmn-SlabInit.c \
    123125       bs3-cmn-SlabAlloc.c \
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-autostubs.kmk

    r64734 r64751  
    2525#
    2626
     27$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3SelSetup16BitCode,10)
    2728$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3SelFlatDataToProtFar16,4)
    2829$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3SelFlatDataToRealMode,4)
     
    3435$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3SelFar32ToFlat32NoClobber,6)
    3536$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3RegCtxSaveEx,8)
     37$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3SelSetup16BitData,8)
    3638$(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestCheckRegCtxEx)
    3739$(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3StrCpy)
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-define.h

    r64734 r64751  
    9898#define Bs3SelRealModeDataToFlat BS3_CMN_MANGLER(Bs3SelRealModeDataToFlat)
    9999#define Bs3SelRealModeDataToProtFar16 BS3_CMN_MANGLER(Bs3SelRealModeDataToProtFar16)
     100#define Bs3SelSetup16BitCode BS3_CMN_MANGLER(Bs3SelSetup16BitCode)
     101#define Bs3SelSetup16BitData BS3_CMN_MANGLER(Bs3SelSetup16BitData)
    100102#define Bs3Shutdown BS3_CMN_MANGLER(Bs3Shutdown)
    101103#define Bs3SlabAlloc BS3_CMN_MANGLER(Bs3SlabAlloc)
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-undef.h

    r64734 r64751  
    9898#undef Bs3SelRealModeDataToFlat
    9999#undef Bs3SelRealModeDataToProtFar16
     100#undef Bs3SelSetup16BitCode
     101#undef Bs3SelSetup16BitData
    100102#undef Bs3Shutdown
    101103#undef Bs3SlabAlloc
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h

    r64734 r64751  
    18481848}
    18491849
     1850/**
     1851 * Sets up a 16-bit read-write data selector with ring-3 access and 64KB limit.
     1852 *
     1853 * @param   pDesc       Pointer to the descriptor table entry.
     1854 * @param   uBaseAddr   The base address of the descriptor.
     1855 */
     1856BS3_CMN_PROTO_FARSTUB(8, void, Bs3SelSetup16BitData,(X86DESC BS3_FAR *pDesc, uint32_t uBaseAddr));
     1857
     1858/**
     1859 * Sets up a 16-bit execute-read selector with a 64KB limit.
     1860 *
     1861 * @param   pDesc       Pointer to the descriptor table entry.
     1862 * @param   uBaseAddr   The base address of the descriptor.
     1863 * @param   bDpl        The descriptor privilege level.
     1864 */
     1865BS3_CMN_PROTO_FARSTUB(10, void, Bs3SelSetup16BitCode,(X86DESC BS3_FAR *pDesc, uint32_t uBaseAddr, uint8_t bDpl));
     1866
    18501867
    18511868/**
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