VirtualBox

Changeset 97576 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Nov 16, 2022 10:43:33 PM (2 years ago)
Author:
vboxsync
Message:

ValKit/bs3kit: Added a Bs3RegCtxGetRspSsAsCurPtr function for getting the pointer to the top of the stack of a given BS3REGCTX. bugref:9898

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

Legend:

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

    r97430 r97576  
    116116       bs3-cmn-RegCtxConvertV86ToRm.c \
    117117       bs3-cmn-RegCtxPrint.c \
     118       bs3-cmn-RegCtxGetRspSsAsCurPtr.c \
    118119       bs3-cmn-RegCtxSave.asm \
    119120       bs3-cmn-RegCtxSaveEx.asm \
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-autostubs.kmk

    r97430 r97576  
    118118$(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3PagingGetPte)
    119119$(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3PagingSetupCanonicalTraps)
     120$(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3RegCtxGetRspSsAsCurPtr)
    120121$(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3SlabAllocEx)
    121122$(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3SlabAlloc)
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-define.h

    r97430 r97576  
    114114#define Bs3RegCtxConvertToRingX BS3_CMN_MANGLER(Bs3RegCtxConvertToRingX)
    115115#define Bs3RegCtxConvertV86ToRm BS3_CMN_MANGLER(Bs3RegCtxConvertV86ToRm)
     116#define Bs3RegCtxGetRspSsAsCurPtr BS3_CMN_MANGLER(Bs3RegCtxGetRspSsAsCurPtr)
    116117#define Bs3RegCtxPrint BS3_CMN_MANGLER(Bs3RegCtxPrint)
    117118#define Bs3RegCtxRestore BS3_CMN_MANGLER(Bs3RegCtxRestore)
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-undef.h

    r97430 r97576  
    114114#undef Bs3RegCtxConvertToRingX
    115115#undef Bs3RegCtxConvertV86ToRm
     116#undef Bs3RegCtxGetRspSsAsCurPtr
    116117#undef Bs3RegCtxPrint
    117118#undef Bs3RegCtxRestore
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h

    r97430 r97576  
    28292829BS3_CMN_PROTO_STUB(bool, Bs3RegCtxSetGpr,(PBS3REGCTX pRegCtx, uint8_t iGpr, uint64_t uValue, uint8_t cb));
    28302830
     2831/**
     2832 * Gets the stack pointer as a current context pointer.
     2833 *
     2834 * @return  Pointer to the top of the stack. NULL on failure.
     2835 * @param   pRegCtx     The register context.
     2836 */
     2837BS3_CMN_PROTO_STUB(void BS3_FAR *, Bs3RegCtxGetRspSsAsCurPtr,(PBS3REGCTX pRegCtx));
     2838
    28312839
    28322840/**
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