9#ifndef __BASE_LIB_INTERNALS__
10#define __BASE_LIB_INTERNALS__
159 IN UINT64 Multiplicand,
180 IN UINT64 Multiplicand,
248 OUT UINT32 *Remainder OPTIONAL
273 OUT UINT64 *Remainder OPTIONAL
298 OUT INT64 *Remainder OPTIONAL
329 IN VOID *Context1 OPTIONAL,
330 IN VOID *Context2 OPTIONAL,
419 IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
436 IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer,
559#if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
573 OUT IA32_DESCRIPTOR *Gdtr
603 OUT IA32_DESCRIPTOR *Idtr
634 OUT IA32_FX_BUFFER *Buffer
650 IN CONST IA32_FX_BUFFER *Buffer
690 IN VOID *Context1 OPTIONAL,
691 IN VOID *Context2 OPTIONAL,
729 IN VOID *Context1 OPTIONAL,
730 IN VOID *Context2 OPTIONAL,
765 IN UINT64 EntryPoint,
766 IN UINT64 Context1 OPTIONAL,
767 IN UINT64 Context2 OPTIONAL,
801 IN UINT32 EntryPoint,
802 IN UINT32 Context1 OPTIONAL,
803 IN UINT32 Context2 OPTIONAL,
VOID(EFIAPI * SWITCH_STACK_ENTRY_POINT)(IN VOID *Context1 OPTIONAL, IN VOID *Context2 OPTIONAL)
UINT64 EFIAPI InternalMathMultU64x64(IN UINT64 Multiplicand, IN UINT64 Multiplier)
UINTN EFIAPI BitFieldOrUint(IN UINTN Operand, IN UINTN StartBit, IN UINTN EndBit, IN UINTN OrData)
BOOLEAN EFIAPI InternalAsciiIsDecimalDigitCharacter(IN CHAR8 Char)
UINT64 EFIAPI InternalMathDivRemU64x64(IN UINT64 Dividend, IN UINT64 Divisor, OUT UINT64 *Remainder OPTIONAL)
UINT64 EFIAPI InternalMathRRotU64(IN UINT64 Operand, IN UINTN Count)
BOOLEAN EFIAPI InternalIsDecimalDigitCharacter(IN CHAR16 Char)
UINTN EFIAPI BitFieldAndUint(IN UINTN Operand, IN UINTN StartBit, IN UINTN EndBit, IN UINTN AndData)
BOOLEAN EFIAPI InternalAsciiIsHexaDecimalDigitCharacter(IN CHAR8 Char)
UINT64 EFIAPI InternalMathSwapBytes64(IN UINT64 Operand)
UINTN EFIAPI InternalAsciiHexCharToUintn(IN CHAR8 Char)
UINT64 EFIAPI InternalMathDivU64x32(IN UINT64 Dividend, IN UINT32 Divisor)
UINT64 EFIAPI InternalMathLShiftU64(IN UINT64 Operand, IN UINTN Count)
INT64 EFIAPI InternalMathDivRemS64x64(IN INT64 Dividend, IN INT64 Divisor, OUT INT64 *Remainder OPTIONAL)
UINT64 EFIAPI InternalMathDivRemU64x32(IN UINT64 Dividend, IN UINT32 Divisor, OUT UINT32 *Remainder OPTIONAL)
UINTN EFIAPI InternalHexCharToUintn(IN CHAR16 Char)
UINT32 EFIAPI InternalMathModU64x32(IN UINT64 Dividend, IN UINT32 Divisor)
VOID EFIAPI InternalLongJump(IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer, IN UINTN Value)
UINTN EFIAPI BitFieldReadUint(IN UINTN Operand, IN UINTN StartBit, IN UINTN EndBit)
VOID EFIAPI InternalAssertJumpBuffer(IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer)
UINT64 EFIAPI InternalMathMultU64x32(IN UINT64 Multiplicand, IN UINT32 Multiplier)
UINT64 EFIAPI InternalMathRShiftU64(IN UINT64 Operand, IN UINTN Count)
VOID EFIAPI InternalSwitchStack(IN SWITCH_STACK_ENTRY_POINT EntryPoint, IN VOID *Context1 OPTIONAL, IN VOID *Context2 OPTIONAL, IN VOID *NewStack, IN VA_LIST Marker)
UINT64 EFIAPI InternalMathLRotU64(IN UINT64 Operand, IN UINTN Count)
UINT64 EFIAPI InternalMathARShiftU64(IN UINT64 Operand, IN UINTN Count)
BOOLEAN EFIAPI InternalIsHexaDecimalDigitCharacter(IN CHAR16 Char)
VOID EFIAPI InternalX86FxRestore(IN CONST IA32_FX_BUFFER *Buffer)
VOID EFIAPI InternalX86FxSave(OUT IA32_FX_BUFFER *Buffer)
VOID EFIAPI InternalX86ReadGdtr(OUT IA32_DESCRIPTOR *Gdtr)
VOID EFIAPI InternalX86ReadIdtr(OUT IA32_DESCRIPTOR *Idtr)
VOID EFIAPI InternalX86WriteIdtr(IN CONST IA32_DESCRIPTOR *Idtr)
VOID EFIAPI InternalX86WriteGdtr(IN CONST IA32_DESCRIPTOR *Gdtr)
VOID EFIAPI InternalX86DisablePaging64(IN UINT16 CodeSelector, IN UINT32 EntryPoint, IN UINT32 Context1 OPTIONAL, IN UINT32 Context2 OPTIONAL, IN UINT32 NewStack)
VOID EFIAPI InternalX86EnablePaging32(IN SWITCH_STACK_ENTRY_POINT EntryPoint, IN VOID *Context1 OPTIONAL, IN VOID *Context2 OPTIONAL, IN VOID *NewStack)
VOID EFIAPI InternalX86DisablePaging32(IN SWITCH_STACK_ENTRY_POINT EntryPoint, IN VOID *Context1 OPTIONAL, IN VOID *Context2 OPTIONAL, IN VOID *NewStack)
VOID EFIAPI InternalX86EnablePaging64(IN UINT16 Cs, IN UINT64 EntryPoint, IN UINT64 Context1 OPTIONAL, IN UINT64 Context2 OPTIONAL, IN UINT64 NewStack)