mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 08:34:07 +02:00
Update the text to use "x64" instead of "X64" in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6854 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
714e2a12d5
commit
030cd1a2e9
@ -93,7 +93,7 @@ typedef struct {
|
|||||||
|
|
||||||
#if defined (MDE_CPU_X64)
|
#if defined (MDE_CPU_X64)
|
||||||
///
|
///
|
||||||
/// X64 context buffer used by SetJump() and LongJump()
|
/// x64 context buffer used by SetJump() and LongJump()
|
||||||
///
|
///
|
||||||
typedef struct {
|
typedef struct {
|
||||||
UINT64 Rbx;
|
UINT64 Rbx;
|
||||||
@ -4879,7 +4879,7 @@ AsmPalCall (
|
|||||||
|
|
||||||
#elif defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
|
#elif defined (MDE_CPU_IA32) || defined (MDE_CPU_X64)
|
||||||
///
|
///
|
||||||
/// IA32 and X64 Specific Functions
|
/// IA32 and x64 Specific Functions
|
||||||
/// Byte packed structure for 16-bit Real Mode EFLAGS
|
/// Byte packed structure for 16-bit Real Mode EFLAGS
|
||||||
///
|
///
|
||||||
typedef union {
|
typedef union {
|
||||||
@ -4906,7 +4906,7 @@ typedef union {
|
|||||||
///
|
///
|
||||||
/// Byte packed structure for EFLAGS/RFLAGS
|
/// Byte packed structure for EFLAGS/RFLAGS
|
||||||
/// 32-bits on IA-32
|
/// 32-bits on IA-32
|
||||||
/// 64-bits on X64. The upper 32-bits on X64 are reserved
|
/// 64-bits on x64. The upper 32-bits on x64 are reserved
|
||||||
///
|
///
|
||||||
typedef union {
|
typedef union {
|
||||||
struct {
|
struct {
|
||||||
@ -4939,7 +4939,7 @@ typedef union {
|
|||||||
///
|
///
|
||||||
/// Byte packed structure for Control Register 0 (CR0)
|
/// Byte packed structure for Control Register 0 (CR0)
|
||||||
/// 32-bits on IA-32
|
/// 32-bits on IA-32
|
||||||
/// 64-bits on X64. The upper 32-bits on X64 are reserved
|
/// 64-bits on x64. The upper 32-bits on x64 are reserved
|
||||||
///
|
///
|
||||||
typedef union {
|
typedef union {
|
||||||
struct {
|
struct {
|
||||||
@ -4964,7 +4964,7 @@ typedef union {
|
|||||||
///
|
///
|
||||||
/// Byte packed structure for Control Register 4 (CR4)
|
/// Byte packed structure for Control Register 4 (CR4)
|
||||||
/// 32-bits on IA-32
|
/// 32-bits on IA-32
|
||||||
/// 64-bits on X64. The upper 32-bits on X64 are reserved
|
/// 64-bits on x64. The upper 32-bits on x64 are reserved
|
||||||
///
|
///
|
||||||
typedef union {
|
typedef union {
|
||||||
struct {
|
struct {
|
||||||
@ -5138,7 +5138,7 @@ typedef struct {
|
|||||||
If Ebx is not NULL, then the value of EBX after CPUID is returned in Ebx.
|
If Ebx is not NULL, then the value of EBX after CPUID is returned in Ebx.
|
||||||
If Ecx is not NULL, then the value of ECX after CPUID is returned in Ecx.
|
If Ecx is not NULL, then the value of ECX after CPUID is returned in Ecx.
|
||||||
If Edx is not NULL, then the value of EDX after CPUID is returned in Edx.
|
If Edx is not NULL, then the value of EDX after CPUID is returned in Edx.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit value to load into EAX prior to invoking the CPUID
|
@param Index The 32-bit value to load into EAX prior to invoking the CPUID
|
||||||
instruction.
|
instruction.
|
||||||
@ -5244,7 +5244,7 @@ AsmEnableCache (
|
|||||||
No parameter checking is performed on Index, and some Index values may cause
|
No parameter checking is performed on Index, and some Index values may cause
|
||||||
CPU exceptions. The caller must either guarantee that Index is valid, or the
|
CPU exceptions. The caller must either guarantee that Index is valid, or the
|
||||||
caller must set up exception handlers to catch the exceptions. This function
|
caller must set up exception handlers to catch the exceptions. This function
|
||||||
is only available on IA-32 and X64.
|
is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to read.
|
@param Index The 32-bit MSR index to read.
|
||||||
|
|
||||||
@ -5267,7 +5267,7 @@ AsmReadMsr32 (
|
|||||||
the MSR is returned. No parameter checking is performed on Index or Value,
|
the MSR is returned. No parameter checking is performed on Index or Value,
|
||||||
and some of these may cause CPU exceptions. The caller must either guarantee
|
and some of these may cause CPU exceptions. The caller must either guarantee
|
||||||
that Index and Value are valid, or the caller must establish proper exception
|
that Index and Value are valid, or the caller must establish proper exception
|
||||||
handlers. This function is only available on IA-32 and X64.
|
handlers. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param Value The 32-bit value to write to the MSR.
|
@param Value The 32-bit value to write to the MSR.
|
||||||
@ -5294,7 +5294,7 @@ AsmWriteMsr32 (
|
|||||||
performed on Index or OrData, and some of these may cause CPU exceptions. The
|
performed on Index or OrData, and some of these may cause CPU exceptions. The
|
||||||
caller must either guarantee that Index and OrData are valid, or the caller
|
caller must either guarantee that Index and OrData are valid, or the caller
|
||||||
must establish proper exception handlers. This function is only available on
|
must establish proper exception handlers. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param OrData The value to OR with the read value from the MSR.
|
@param OrData The value to OR with the read value from the MSR.
|
||||||
@ -5321,7 +5321,7 @@ AsmMsrOr32 (
|
|||||||
on Index or AndData, and some of these may cause CPU exceptions. The caller
|
on Index or AndData, and some of these may cause CPU exceptions. The caller
|
||||||
must either guarantee that Index and AndData are valid, or the caller must
|
must either guarantee that Index and AndData are valid, or the caller must
|
||||||
establish proper exception handlers. This function is only available on IA-32
|
establish proper exception handlers. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -5350,7 +5350,7 @@ AsmMsrAnd32 (
|
|||||||
AndData, or OrData, and some of these may cause CPU exceptions. The caller
|
AndData, or OrData, and some of these may cause CPU exceptions. The caller
|
||||||
must either guarantee that Index, AndData, and OrData are valid, or the
|
must either guarantee that Index, AndData, and OrData are valid, or the
|
||||||
caller must establish proper exception handlers. This function is only
|
caller must establish proper exception handlers. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -5375,7 +5375,7 @@ AsmMsrAndThenOr32 (
|
|||||||
specified by the StartBit and the EndBit. The value of the bit field is
|
specified by the StartBit and the EndBit. The value of the bit field is
|
||||||
returned. The caller must either guarantee that Index is valid, or the caller
|
returned. The caller must either guarantee that Index is valid, or the caller
|
||||||
must set up exception handlers to catch the exceptions. This function is only
|
must set up exception handlers to catch the exceptions. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -5408,7 +5408,7 @@ AsmMsrBitFieldRead32 (
|
|||||||
returned. Extra left bits in Value are stripped. The caller must either
|
returned. Extra left bits in Value are stripped. The caller must either
|
||||||
guarantee that Index and the data written is valid, or the caller must set up
|
guarantee that Index and the data written is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -5444,7 +5444,7 @@ AsmMsrBitFieldWrite32 (
|
|||||||
written to the MSR are returned. Extra left bits in OrData are stripped. The
|
written to the MSR are returned. Extra left bits in OrData are stripped. The
|
||||||
caller must either guarantee that Index and the data written is valid, or
|
caller must either guarantee that Index and the data written is valid, or
|
||||||
the caller must set up exception handlers to catch the exceptions. This
|
the caller must set up exception handlers to catch the exceptions. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -5480,7 +5480,7 @@ AsmMsrBitFieldOr32 (
|
|||||||
MSR are returned. Extra left bits in AndData are stripped. The caller must
|
MSR are returned. Extra left bits in AndData are stripped. The caller must
|
||||||
either guarantee that Index and the data written is valid, or the caller must
|
either guarantee that Index and the data written is valid, or the caller must
|
||||||
set up exception handlers to catch the exceptions. This function is only
|
set up exception handlers to catch the exceptions. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -5518,7 +5518,7 @@ AsmMsrBitFieldAnd32 (
|
|||||||
in both AndData and OrData are stripped. The caller must either guarantee
|
in both AndData and OrData are stripped. The caller must either guarantee
|
||||||
that Index and the data written is valid, or the caller must set up exception
|
that Index and the data written is valid, or the caller must set up exception
|
||||||
handlers to catch the exceptions. This function is only available on IA-32
|
handlers to catch the exceptions. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -5553,7 +5553,7 @@ AsmMsrBitFieldAndThenOr32 (
|
|||||||
performed on Index, and some Index values may cause CPU exceptions. The
|
performed on Index, and some Index values may cause CPU exceptions. The
|
||||||
caller must either guarantee that Index is valid, or the caller must set up
|
caller must either guarantee that Index is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to read.
|
@param Index The 32-bit MSR index to read.
|
||||||
|
|
||||||
@ -5576,7 +5576,7 @@ AsmReadMsr64 (
|
|||||||
performed on Index or Value, and some of these may cause CPU exceptions. The
|
performed on Index or Value, and some of these may cause CPU exceptions. The
|
||||||
caller must either guarantee that Index and Value are valid, or the caller
|
caller must either guarantee that Index and Value are valid, or the caller
|
||||||
must establish proper exception handlers. This function is only available on
|
must establish proper exception handlers. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param Value The 64-bit value to write to the MSR.
|
@param Value The 64-bit value to write to the MSR.
|
||||||
@ -5602,7 +5602,7 @@ AsmWriteMsr64 (
|
|||||||
returned. No parameter checking is performed on Index or OrData, and some of
|
returned. No parameter checking is performed on Index or OrData, and some of
|
||||||
these may cause CPU exceptions. The caller must either guarantee that Index
|
these may cause CPU exceptions. The caller must either guarantee that Index
|
||||||
and OrData are valid, or the caller must establish proper exception handlers.
|
and OrData are valid, or the caller must establish proper exception handlers.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param OrData The value to OR with the read value from the MSR.
|
@param OrData The value to OR with the read value from the MSR.
|
||||||
@ -5628,7 +5628,7 @@ AsmMsrOr64 (
|
|||||||
parameter checking is performed on Index or OrData, and some of these may
|
parameter checking is performed on Index or OrData, and some of these may
|
||||||
cause CPU exceptions. The caller must either guarantee that Index and OrData
|
cause CPU exceptions. The caller must either guarantee that Index and OrData
|
||||||
are valid, or the caller must establish proper exception handlers. This
|
are valid, or the caller must establish proper exception handlers. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -5656,7 +5656,7 @@ AsmMsrAnd64 (
|
|||||||
or OrData, and some of these may cause CPU exceptions. The caller must either
|
or OrData, and some of these may cause CPU exceptions. The caller must either
|
||||||
guarantee that Index, AndData, and OrData are valid, or the caller must
|
guarantee that Index, AndData, and OrData are valid, or the caller must
|
||||||
establish proper exception handlers. This function is only available on IA-32
|
establish proper exception handlers. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -5681,7 +5681,7 @@ AsmMsrAndThenOr64 (
|
|||||||
StartBit and the EndBit. The value of the bit field is returned. The caller
|
StartBit and the EndBit. The value of the bit field is returned. The caller
|
||||||
must either guarantee that Index is valid, or the caller must set up
|
must either guarantee that Index is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -5713,7 +5713,7 @@ AsmMsrBitFieldRead64 (
|
|||||||
preserved. The MSR written is returned. Extra left bits in Value are
|
preserved. The MSR written is returned. Extra left bits in Value are
|
||||||
stripped. The caller must either guarantee that Index and the data written is
|
stripped. The caller must either guarantee that Index and the data written is
|
||||||
valid, or the caller must set up exception handlers to catch the exceptions.
|
valid, or the caller must set up exception handlers to catch the exceptions.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -5749,7 +5749,7 @@ AsmMsrBitFieldWrite64 (
|
|||||||
returned. Extra left bits in OrData are stripped. The caller must either
|
returned. Extra left bits in OrData are stripped. The caller must either
|
||||||
guarantee that Index and the data written is valid, or the caller must set up
|
guarantee that Index and the data written is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -5785,7 +5785,7 @@ AsmMsrBitFieldOr64 (
|
|||||||
Extra left bits in AndData are stripped. The caller must either guarantee
|
Extra left bits in AndData are stripped. The caller must either guarantee
|
||||||
that Index and the data written is valid, or the caller must set up exception
|
that Index and the data written is valid, or the caller must set up exception
|
||||||
handlers to catch the exceptions. This function is only available on IA-32
|
handlers to catch the exceptions. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -5822,7 +5822,7 @@ AsmMsrBitFieldAnd64 (
|
|||||||
value written to the MSR is returned. Extra left bits in both AndData and
|
value written to the MSR is returned. Extra left bits in both AndData and
|
||||||
OrData are stripped. The caller must either guarantee that Index and the data
|
OrData are stripped. The caller must either guarantee that Index and the data
|
||||||
written is valid, or the caller must set up exception handlers to catch the
|
written is valid, or the caller must set up exception handlers to catch the
|
||||||
exceptions. This function is only available on IA-32 and X64.
|
exceptions. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -5854,10 +5854,10 @@ AsmMsrBitFieldAndThenOr64 (
|
|||||||
Reads the current value of the EFLAGS register.
|
Reads the current value of the EFLAGS register.
|
||||||
|
|
||||||
Reads and returns the current value of the EFLAGS register. This function is
|
Reads and returns the current value of the EFLAGS register. This function is
|
||||||
only available on IA-32 and X64. This returns a 32-bit value on IA-32 and a
|
only available on IA-32 and x64. This returns a 32-bit value on IA-32 and a
|
||||||
64-bit value on X64.
|
64-bit value on x64.
|
||||||
|
|
||||||
@return EFLAGS on IA-32 or RFLAGS on X64.
|
@return EFLAGS on IA-32 or RFLAGS on x64.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
@ -5871,8 +5871,8 @@ AsmReadEflags (
|
|||||||
Reads the current value of the Control Register 0 (CR0).
|
Reads the current value of the Control Register 0 (CR0).
|
||||||
|
|
||||||
Reads and returns the current value of CR0. This function is only available
|
Reads and returns the current value of CR0. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 0 (CR0).
|
@return The value of the Control Register 0 (CR0).
|
||||||
|
|
||||||
@ -5888,8 +5888,8 @@ AsmReadCr0 (
|
|||||||
Reads the current value of the Control Register 2 (CR2).
|
Reads the current value of the Control Register 2 (CR2).
|
||||||
|
|
||||||
Reads and returns the current value of CR2. This function is only available
|
Reads and returns the current value of CR2. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 2 (CR2).
|
@return The value of the Control Register 2 (CR2).
|
||||||
|
|
||||||
@ -5905,8 +5905,8 @@ AsmReadCr2 (
|
|||||||
Reads the current value of the Control Register 3 (CR3).
|
Reads the current value of the Control Register 3 (CR3).
|
||||||
|
|
||||||
Reads and returns the current value of CR3. This function is only available
|
Reads and returns the current value of CR3. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 3 (CR3).
|
@return The value of the Control Register 3 (CR3).
|
||||||
|
|
||||||
@ -5922,8 +5922,8 @@ AsmReadCr3 (
|
|||||||
Reads the current value of the Control Register 4 (CR4).
|
Reads the current value of the Control Register 4 (CR4).
|
||||||
|
|
||||||
Reads and returns the current value of CR4. This function is only available
|
Reads and returns the current value of CR4. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 4 (CR4).
|
@return The value of the Control Register 4 (CR4).
|
||||||
|
|
||||||
@ -5939,7 +5939,7 @@ AsmReadCr4 (
|
|||||||
Writes a value to Control Register 0 (CR0).
|
Writes a value to Control Register 0 (CR0).
|
||||||
|
|
||||||
Writes and returns a new value to CR0. This function is only available on
|
Writes and returns a new value to CR0. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Cr0 The value to write to CR0.
|
@param Cr0 The value to write to CR0.
|
||||||
|
|
||||||
@ -5957,7 +5957,7 @@ AsmWriteCr0 (
|
|||||||
Writes a value to Control Register 2 (CR2).
|
Writes a value to Control Register 2 (CR2).
|
||||||
|
|
||||||
Writes and returns a new value to CR2. This function is only available on
|
Writes and returns a new value to CR2. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Cr2 The value to write to CR2.
|
@param Cr2 The value to write to CR2.
|
||||||
|
|
||||||
@ -5975,7 +5975,7 @@ AsmWriteCr2 (
|
|||||||
Writes a value to Control Register 3 (CR3).
|
Writes a value to Control Register 3 (CR3).
|
||||||
|
|
||||||
Writes and returns a new value to CR3. This function is only available on
|
Writes and returns a new value to CR3. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Cr3 The value to write to CR3.
|
@param Cr3 The value to write to CR3.
|
||||||
|
|
||||||
@ -5993,7 +5993,7 @@ AsmWriteCr3 (
|
|||||||
Writes a value to Control Register 4 (CR4).
|
Writes a value to Control Register 4 (CR4).
|
||||||
|
|
||||||
Writes and returns a new value to CR4. This function is only available on
|
Writes and returns a new value to CR4. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Cr4 The value to write to CR4.
|
@param Cr4 The value to write to CR4.
|
||||||
|
|
||||||
@ -6011,8 +6011,8 @@ AsmWriteCr4 (
|
|||||||
Reads the current value of Debug Register 0 (DR0).
|
Reads the current value of Debug Register 0 (DR0).
|
||||||
|
|
||||||
Reads and returns the current value of DR0. This function is only available
|
Reads and returns the current value of DR0. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 0 (DR0).
|
@return The value of Debug Register 0 (DR0).
|
||||||
|
|
||||||
@ -6028,8 +6028,8 @@ AsmReadDr0 (
|
|||||||
Reads the current value of Debug Register 1 (DR1).
|
Reads the current value of Debug Register 1 (DR1).
|
||||||
|
|
||||||
Reads and returns the current value of DR1. This function is only available
|
Reads and returns the current value of DR1. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 1 (DR1).
|
@return The value of Debug Register 1 (DR1).
|
||||||
|
|
||||||
@ -6045,8 +6045,8 @@ AsmReadDr1 (
|
|||||||
Reads the current value of Debug Register 2 (DR2).
|
Reads the current value of Debug Register 2 (DR2).
|
||||||
|
|
||||||
Reads and returns the current value of DR2. This function is only available
|
Reads and returns the current value of DR2. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 2 (DR2).
|
@return The value of Debug Register 2 (DR2).
|
||||||
|
|
||||||
@ -6062,8 +6062,8 @@ AsmReadDr2 (
|
|||||||
Reads the current value of Debug Register 3 (DR3).
|
Reads the current value of Debug Register 3 (DR3).
|
||||||
|
|
||||||
Reads and returns the current value of DR3. This function is only available
|
Reads and returns the current value of DR3. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 3 (DR3).
|
@return The value of Debug Register 3 (DR3).
|
||||||
|
|
||||||
@ -6079,8 +6079,8 @@ AsmReadDr3 (
|
|||||||
Reads the current value of Debug Register 4 (DR4).
|
Reads the current value of Debug Register 4 (DR4).
|
||||||
|
|
||||||
Reads and returns the current value of DR4. This function is only available
|
Reads and returns the current value of DR4. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 4 (DR4).
|
@return The value of Debug Register 4 (DR4).
|
||||||
|
|
||||||
@ -6096,8 +6096,8 @@ AsmReadDr4 (
|
|||||||
Reads the current value of Debug Register 5 (DR5).
|
Reads the current value of Debug Register 5 (DR5).
|
||||||
|
|
||||||
Reads and returns the current value of DR5. This function is only available
|
Reads and returns the current value of DR5. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 5 (DR5).
|
@return The value of Debug Register 5 (DR5).
|
||||||
|
|
||||||
@ -6113,8 +6113,8 @@ AsmReadDr5 (
|
|||||||
Reads the current value of Debug Register 6 (DR6).
|
Reads the current value of Debug Register 6 (DR6).
|
||||||
|
|
||||||
Reads and returns the current value of DR6. This function is only available
|
Reads and returns the current value of DR6. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 6 (DR6).
|
@return The value of Debug Register 6 (DR6).
|
||||||
|
|
||||||
@ -6130,8 +6130,8 @@ AsmReadDr6 (
|
|||||||
Reads the current value of Debug Register 7 (DR7).
|
Reads the current value of Debug Register 7 (DR7).
|
||||||
|
|
||||||
Reads and returns the current value of DR7. This function is only available
|
Reads and returns the current value of DR7. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 7 (DR7).
|
@return The value of Debug Register 7 (DR7).
|
||||||
|
|
||||||
@ -6147,7 +6147,7 @@ AsmReadDr7 (
|
|||||||
Writes a value to Debug Register 0 (DR0).
|
Writes a value to Debug Register 0 (DR0).
|
||||||
|
|
||||||
Writes and returns a new value to DR0. This function is only available on
|
Writes and returns a new value to DR0. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr0 The value to write to Dr0.
|
@param Dr0 The value to write to Dr0.
|
||||||
|
|
||||||
@ -6165,7 +6165,7 @@ AsmWriteDr0 (
|
|||||||
Writes a value to Debug Register 1 (DR1).
|
Writes a value to Debug Register 1 (DR1).
|
||||||
|
|
||||||
Writes and returns a new value to DR1. This function is only available on
|
Writes and returns a new value to DR1. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr1 The value to write to Dr1.
|
@param Dr1 The value to write to Dr1.
|
||||||
|
|
||||||
@ -6183,7 +6183,7 @@ AsmWriteDr1 (
|
|||||||
Writes a value to Debug Register 2 (DR2).
|
Writes a value to Debug Register 2 (DR2).
|
||||||
|
|
||||||
Writes and returns a new value to DR2. This function is only available on
|
Writes and returns a new value to DR2. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr2 The value to write to Dr2.
|
@param Dr2 The value to write to Dr2.
|
||||||
|
|
||||||
@ -6201,7 +6201,7 @@ AsmWriteDr2 (
|
|||||||
Writes a value to Debug Register 3 (DR3).
|
Writes a value to Debug Register 3 (DR3).
|
||||||
|
|
||||||
Writes and returns a new value to DR3. This function is only available on
|
Writes and returns a new value to DR3. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr3 The value to write to Dr3.
|
@param Dr3 The value to write to Dr3.
|
||||||
|
|
||||||
@ -6219,7 +6219,7 @@ AsmWriteDr3 (
|
|||||||
Writes a value to Debug Register 4 (DR4).
|
Writes a value to Debug Register 4 (DR4).
|
||||||
|
|
||||||
Writes and returns a new value to DR4. This function is only available on
|
Writes and returns a new value to DR4. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr4 The value to write to Dr4.
|
@param Dr4 The value to write to Dr4.
|
||||||
|
|
||||||
@ -6237,7 +6237,7 @@ AsmWriteDr4 (
|
|||||||
Writes a value to Debug Register 5 (DR5).
|
Writes a value to Debug Register 5 (DR5).
|
||||||
|
|
||||||
Writes and returns a new value to DR5. This function is only available on
|
Writes and returns a new value to DR5. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr5 The value to write to Dr5.
|
@param Dr5 The value to write to Dr5.
|
||||||
|
|
||||||
@ -6255,7 +6255,7 @@ AsmWriteDr5 (
|
|||||||
Writes a value to Debug Register 6 (DR6).
|
Writes a value to Debug Register 6 (DR6).
|
||||||
|
|
||||||
Writes and returns a new value to DR6. This function is only available on
|
Writes and returns a new value to DR6. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr6 The value to write to Dr6.
|
@param Dr6 The value to write to Dr6.
|
||||||
|
|
||||||
@ -6273,7 +6273,7 @@ AsmWriteDr6 (
|
|||||||
Writes a value to Debug Register 7 (DR7).
|
Writes a value to Debug Register 7 (DR7).
|
||||||
|
|
||||||
Writes and returns a new value to DR7. This function is only available on
|
Writes and returns a new value to DR7. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Dr7 The value to write to Dr7.
|
@param Dr7 The value to write to Dr7.
|
||||||
|
|
||||||
@ -6291,7 +6291,7 @@ AsmWriteDr7 (
|
|||||||
Reads the current value of Code Segment Register (CS).
|
Reads the current value of Code Segment Register (CS).
|
||||||
|
|
||||||
Reads and returns the current value of CS. This function is only available on
|
Reads and returns the current value of CS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of CS.
|
@return The current value of CS.
|
||||||
|
|
||||||
@ -6307,7 +6307,7 @@ AsmReadCs (
|
|||||||
Reads the current value of Data Segment Register (DS).
|
Reads the current value of Data Segment Register (DS).
|
||||||
|
|
||||||
Reads and returns the current value of DS. This function is only available on
|
Reads and returns the current value of DS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of DS.
|
@return The current value of DS.
|
||||||
|
|
||||||
@ -6323,7 +6323,7 @@ AsmReadDs (
|
|||||||
Reads the current value of Extra Segment Register (ES).
|
Reads the current value of Extra Segment Register (ES).
|
||||||
|
|
||||||
Reads and returns the current value of ES. This function is only available on
|
Reads and returns the current value of ES. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of ES.
|
@return The current value of ES.
|
||||||
|
|
||||||
@ -6339,7 +6339,7 @@ AsmReadEs (
|
|||||||
Reads the current value of FS Data Segment Register (FS).
|
Reads the current value of FS Data Segment Register (FS).
|
||||||
|
|
||||||
Reads and returns the current value of FS. This function is only available on
|
Reads and returns the current value of FS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of FS.
|
@return The current value of FS.
|
||||||
|
|
||||||
@ -6355,7 +6355,7 @@ AsmReadFs (
|
|||||||
Reads the current value of GS Data Segment Register (GS).
|
Reads the current value of GS Data Segment Register (GS).
|
||||||
|
|
||||||
Reads and returns the current value of GS. This function is only available on
|
Reads and returns the current value of GS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of GS.
|
@return The current value of GS.
|
||||||
|
|
||||||
@ -6371,7 +6371,7 @@ AsmReadGs (
|
|||||||
Reads the current value of Stack Segment Register (SS).
|
Reads the current value of Stack Segment Register (SS).
|
||||||
|
|
||||||
Reads and returns the current value of SS. This function is only available on
|
Reads and returns the current value of SS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of SS.
|
@return The current value of SS.
|
||||||
|
|
||||||
@ -6387,7 +6387,7 @@ AsmReadSs (
|
|||||||
Reads the current value of Task Register (TR).
|
Reads the current value of Task Register (TR).
|
||||||
|
|
||||||
Reads and returns the current value of TR. This function is only available on
|
Reads and returns the current value of TR. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of TR.
|
@return The current value of TR.
|
||||||
|
|
||||||
@ -6403,7 +6403,7 @@ AsmReadTr (
|
|||||||
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If Gdtr is NULL, then ASSERT().
|
If Gdtr is NULL, then ASSERT().
|
||||||
|
|
||||||
@ -6421,7 +6421,7 @@ AsmReadGdtr (
|
|||||||
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
||||||
|
|
||||||
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
If Gdtr is NULL, then ASSERT().
|
If Gdtr is NULL, then ASSERT().
|
||||||
|
|
||||||
@ -6439,7 +6439,7 @@ AsmWriteGdtr (
|
|||||||
Reads the current Interrupt Descriptor Table Register(IDTR) descriptor.
|
Reads the current Interrupt Descriptor Table Register(IDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If Idtr is NULL, then ASSERT().
|
If Idtr is NULL, then ASSERT().
|
||||||
|
|
||||||
@ -6457,7 +6457,7 @@ AsmReadIdtr (
|
|||||||
Writes the current Interrupt Descriptor Table Register(IDTR) descriptor.
|
Writes the current Interrupt Descriptor Table Register(IDTR) descriptor.
|
||||||
|
|
||||||
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
If Idtr is NULL, then ASSERT().
|
If Idtr is NULL, then ASSERT().
|
||||||
|
|
||||||
@ -6475,7 +6475,7 @@ AsmWriteIdtr (
|
|||||||
Reads the current Local Descriptor Table Register(LDTR) selector.
|
Reads the current Local Descriptor Table Register(LDTR) selector.
|
||||||
|
|
||||||
Reads and returns the current 16-bit LDTR descriptor value. This function is
|
Reads and returns the current 16-bit LDTR descriptor value. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@return The current selector of LDT.
|
@return The current selector of LDT.
|
||||||
|
|
||||||
@ -6491,7 +6491,7 @@ AsmReadLdtr (
|
|||||||
Writes the current Local Descriptor Table Register (LDTR) selector.
|
Writes the current Local Descriptor Table Register (LDTR) selector.
|
||||||
|
|
||||||
Writes and the current LDTR descriptor specified by Ldtr. This function is
|
Writes and the current LDTR descriptor specified by Ldtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Ldtr 16-bit LDTR selector value.
|
@param Ldtr 16-bit LDTR selector value.
|
||||||
|
|
||||||
@ -6508,7 +6508,7 @@ AsmWriteLdtr (
|
|||||||
|
|
||||||
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
||||||
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
If Buffer is NULL, then ASSERT().
|
If Buffer is NULL, then ASSERT().
|
||||||
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
||||||
@ -6528,7 +6528,7 @@ AsmFxSave (
|
|||||||
|
|
||||||
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
||||||
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
If Buffer is NULL, then ASSERT().
|
If Buffer is NULL, then ASSERT().
|
||||||
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
||||||
@ -6548,7 +6548,7 @@ AsmFxRestore (
|
|||||||
Reads the current value of 64-bit MMX Register #0 (MM0).
|
Reads the current value of 64-bit MMX Register #0 (MM0).
|
||||||
|
|
||||||
Reads and returns the current value of MM0. This function is only available
|
Reads and returns the current value of MM0. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM0.
|
@return The current value of MM0.
|
||||||
|
|
||||||
@ -6564,7 +6564,7 @@ AsmReadMm0 (
|
|||||||
Reads the current value of 64-bit MMX Register #1 (MM1).
|
Reads the current value of 64-bit MMX Register #1 (MM1).
|
||||||
|
|
||||||
Reads and returns the current value of MM1. This function is only available
|
Reads and returns the current value of MM1. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM1.
|
@return The current value of MM1.
|
||||||
|
|
||||||
@ -6580,7 +6580,7 @@ AsmReadMm1 (
|
|||||||
Reads the current value of 64-bit MMX Register #2 (MM2).
|
Reads the current value of 64-bit MMX Register #2 (MM2).
|
||||||
|
|
||||||
Reads and returns the current value of MM2. This function is only available
|
Reads and returns the current value of MM2. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM2.
|
@return The current value of MM2.
|
||||||
|
|
||||||
@ -6596,7 +6596,7 @@ AsmReadMm2 (
|
|||||||
Reads the current value of 64-bit MMX Register #3 (MM3).
|
Reads the current value of 64-bit MMX Register #3 (MM3).
|
||||||
|
|
||||||
Reads and returns the current value of MM3. This function is only available
|
Reads and returns the current value of MM3. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM3.
|
@return The current value of MM3.
|
||||||
|
|
||||||
@ -6612,7 +6612,7 @@ AsmReadMm3 (
|
|||||||
Reads the current value of 64-bit MMX Register #4 (MM4).
|
Reads the current value of 64-bit MMX Register #4 (MM4).
|
||||||
|
|
||||||
Reads and returns the current value of MM4. This function is only available
|
Reads and returns the current value of MM4. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM4.
|
@return The current value of MM4.
|
||||||
|
|
||||||
@ -6628,7 +6628,7 @@ AsmReadMm4 (
|
|||||||
Reads the current value of 64-bit MMX Register #5 (MM5).
|
Reads the current value of 64-bit MMX Register #5 (MM5).
|
||||||
|
|
||||||
Reads and returns the current value of MM5. This function is only available
|
Reads and returns the current value of MM5. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM5.
|
@return The current value of MM5.
|
||||||
|
|
||||||
@ -6644,7 +6644,7 @@ AsmReadMm5 (
|
|||||||
Reads the current value of 64-bit MMX Register #6 (MM6).
|
Reads the current value of 64-bit MMX Register #6 (MM6).
|
||||||
|
|
||||||
Reads and returns the current value of MM6. This function is only available
|
Reads and returns the current value of MM6. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM6.
|
@return The current value of MM6.
|
||||||
|
|
||||||
@ -6660,7 +6660,7 @@ AsmReadMm6 (
|
|||||||
Reads the current value of 64-bit MMX Register #7 (MM7).
|
Reads the current value of 64-bit MMX Register #7 (MM7).
|
||||||
|
|
||||||
Reads and returns the current value of MM7. This function is only available
|
Reads and returns the current value of MM7. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM7.
|
@return The current value of MM7.
|
||||||
|
|
||||||
@ -6676,7 +6676,7 @@ AsmReadMm7 (
|
|||||||
Writes the current value of 64-bit MMX Register #0 (MM0).
|
Writes the current value of 64-bit MMX Register #0 (MM0).
|
||||||
|
|
||||||
Writes the current value of MM0. This function is only available on IA32 and
|
Writes the current value of MM0. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM0.
|
@param Value The 64-bit value to write to MM0.
|
||||||
|
|
||||||
@ -6692,7 +6692,7 @@ AsmWriteMm0 (
|
|||||||
Writes the current value of 64-bit MMX Register #1 (MM1).
|
Writes the current value of 64-bit MMX Register #1 (MM1).
|
||||||
|
|
||||||
Writes the current value of MM1. This function is only available on IA32 and
|
Writes the current value of MM1. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM1.
|
@param Value The 64-bit value to write to MM1.
|
||||||
|
|
||||||
@ -6708,7 +6708,7 @@ AsmWriteMm1 (
|
|||||||
Writes the current value of 64-bit MMX Register #2 (MM2).
|
Writes the current value of 64-bit MMX Register #2 (MM2).
|
||||||
|
|
||||||
Writes the current value of MM2. This function is only available on IA32 and
|
Writes the current value of MM2. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM2.
|
@param Value The 64-bit value to write to MM2.
|
||||||
|
|
||||||
@ -6724,7 +6724,7 @@ AsmWriteMm2 (
|
|||||||
Writes the current value of 64-bit MMX Register #3 (MM3).
|
Writes the current value of 64-bit MMX Register #3 (MM3).
|
||||||
|
|
||||||
Writes the current value of MM3. This function is only available on IA32 and
|
Writes the current value of MM3. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM3.
|
@param Value The 64-bit value to write to MM3.
|
||||||
|
|
||||||
@ -6740,7 +6740,7 @@ AsmWriteMm3 (
|
|||||||
Writes the current value of 64-bit MMX Register #4 (MM4).
|
Writes the current value of 64-bit MMX Register #4 (MM4).
|
||||||
|
|
||||||
Writes the current value of MM4. This function is only available on IA32 and
|
Writes the current value of MM4. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM4.
|
@param Value The 64-bit value to write to MM4.
|
||||||
|
|
||||||
@ -6756,7 +6756,7 @@ AsmWriteMm4 (
|
|||||||
Writes the current value of 64-bit MMX Register #5 (MM5).
|
Writes the current value of 64-bit MMX Register #5 (MM5).
|
||||||
|
|
||||||
Writes the current value of MM5. This function is only available on IA32 and
|
Writes the current value of MM5. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM5.
|
@param Value The 64-bit value to write to MM5.
|
||||||
|
|
||||||
@ -6772,7 +6772,7 @@ AsmWriteMm5 (
|
|||||||
Writes the current value of 64-bit MMX Register #6 (MM6).
|
Writes the current value of 64-bit MMX Register #6 (MM6).
|
||||||
|
|
||||||
Writes the current value of MM6. This function is only available on IA32 and
|
Writes the current value of MM6. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM6.
|
@param Value The 64-bit value to write to MM6.
|
||||||
|
|
||||||
@ -6788,7 +6788,7 @@ AsmWriteMm6 (
|
|||||||
Writes the current value of 64-bit MMX Register #7 (MM7).
|
Writes the current value of 64-bit MMX Register #7 (MM7).
|
||||||
|
|
||||||
Writes the current value of MM7. This function is only available on IA32 and
|
Writes the current value of MM7. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM7.
|
@param Value The 64-bit value to write to MM7.
|
||||||
|
|
||||||
@ -6804,7 +6804,7 @@ AsmWriteMm7 (
|
|||||||
Reads the current value of Time Stamp Counter (TSC).
|
Reads the current value of Time Stamp Counter (TSC).
|
||||||
|
|
||||||
Reads and returns the current value of TSC. This function is only available
|
Reads and returns the current value of TSC. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of TSC
|
@return The current value of TSC
|
||||||
|
|
||||||
@ -6820,7 +6820,7 @@ AsmReadTsc (
|
|||||||
Reads the current value of a Performance Counter (PMC).
|
Reads the current value of a Performance Counter (PMC).
|
||||||
|
|
||||||
Reads and returns the current value of performance counter specified by
|
Reads and returns the current value of performance counter specified by
|
||||||
Index. This function is only available on IA-32 and X64.
|
Index. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit Performance Counter index to read.
|
@param Index The 32-bit Performance Counter index to read.
|
||||||
|
|
||||||
@ -6838,7 +6838,7 @@ AsmReadPmc (
|
|||||||
Sets up a monitor buffer that is used by AsmMwait().
|
Sets up a monitor buffer that is used by AsmMwait().
|
||||||
|
|
||||||
Executes a MONITOR instruction with the register state specified by Eax, Ecx
|
Executes a MONITOR instruction with the register state specified by Eax, Ecx
|
||||||
and Edx. Returns Eax. This function is only available on IA-32 and X64.
|
and Edx. Returns Eax. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Eax The value to load into EAX or RAX before executing the MONITOR
|
@param Eax The value to load into EAX or RAX before executing the MONITOR
|
||||||
instruction.
|
instruction.
|
||||||
@ -6863,7 +6863,7 @@ AsmMonitor (
|
|||||||
Executes an MWAIT instruction.
|
Executes an MWAIT instruction.
|
||||||
|
|
||||||
Executes an MWAIT instruction with the register state specified by Eax and
|
Executes an MWAIT instruction with the register state specified by Eax and
|
||||||
Ecx. Returns Eax. This function is only available on IA-32 and X64.
|
Ecx. Returns Eax. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Eax The value to load into EAX or RAX before executing the MONITOR
|
@param Eax The value to load into EAX or RAX before executing the MONITOR
|
||||||
instruction.
|
instruction.
|
||||||
@ -6885,7 +6885,7 @@ AsmMwait (
|
|||||||
Executes a WBINVD instruction.
|
Executes a WBINVD instruction.
|
||||||
|
|
||||||
Executes a WBINVD instruction. This function is only available on IA-32 and
|
Executes a WBINVD instruction. This function is only available on IA-32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -6899,7 +6899,7 @@ AsmWbinvd (
|
|||||||
Executes a INVD instruction.
|
Executes a INVD instruction.
|
||||||
|
|
||||||
Executes a INVD instruction. This function is only available on IA-32 and
|
Executes a INVD instruction. This function is only available on IA-32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -6914,7 +6914,7 @@ AsmInvd (
|
|||||||
coherency domain of the CPU.
|
coherency domain of the CPU.
|
||||||
|
|
||||||
Flushed the cache line specified by LinearAddress, and returns LinearAddress.
|
Flushed the cache line specified by LinearAddress, and returns LinearAddress.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param LinearAddress The address of the cache line to flush. If the CPU is
|
@param LinearAddress The address of the cache line to flush. If the CPU is
|
||||||
in a physical addressing mode, then LinearAddress is a
|
in a physical addressing mode, then LinearAddress is a
|
||||||
@ -7070,7 +7070,7 @@ AsmEnablePaging64 (
|
|||||||
|
|
||||||
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
||||||
mode. This function assumes the current execution mode is 64-paging mode.
|
mode. This function assumes the current execution mode is 64-paging mode.
|
||||||
This function is only available on X64. After the 64-bit paging mode is
|
This function is only available on x64. After the 64-bit paging mode is
|
||||||
disabled, control is transferred to the function specified by EntryPoint
|
disabled, control is transferred to the function specified by EntryPoint
|
||||||
using the new stack specified by NewStack and passing in the parameters
|
using the new stack specified by NewStack and passing in the parameters
|
||||||
specified by Context1 and Context2. Context1 and Context2 are optional and
|
specified by Context1 and Context2. Context1 and Context2 are optional and
|
||||||
|
@ -375,7 +375,7 @@ EfiConvertPointer (
|
|||||||
/**
|
/**
|
||||||
Determines the new virtual address that is to be used on subsequent memory accesses.
|
Determines the new virtual address that is to be used on subsequent memory accesses.
|
||||||
|
|
||||||
For IA32, X64, and EBC, this service is a wrapper for the UEFI Runtime Service
|
For IA32, x64, and EBC, this service is a wrapper for the UEFI Runtime Service
|
||||||
ConvertPointer(). See the UEFI Specification for details.
|
ConvertPointer(). See the UEFI Specification for details.
|
||||||
For IPF, this function interprets Address as a pointer to an EFI_PLABEL structure
|
For IPF, this function interprets Address as a pointer to an EFI_PLABEL structure
|
||||||
and both the EntryPoint and GP fields of an EFI_PLABEL are converted from physical
|
and both the EntryPoint and GP fields of an EFI_PLABEL are converted from physical
|
||||||
|
@ -132,7 +132,7 @@ typedef struct {
|
|||||||
} EFI_SYSTEM_CONTEXT_IA32;
|
} EFI_SYSTEM_CONTEXT_IA32;
|
||||||
|
|
||||||
//
|
//
|
||||||
// X64 processor exception types
|
// x64 processor exception types
|
||||||
//
|
//
|
||||||
#define EXCEPT_X64_DIVIDE_ERROR 0
|
#define EXCEPT_X64_DIVIDE_ERROR 0
|
||||||
#define EXCEPT_X64_DEBUG 1
|
#define EXCEPT_X64_DEBUG 1
|
||||||
@ -153,7 +153,7 @@ typedef struct {
|
|||||||
#define EXCEPT_X64_SIMD 19
|
#define EXCEPT_X64_SIMD 19
|
||||||
|
|
||||||
///
|
///
|
||||||
/// X64 processor context definition
|
/// x64 processor context definition
|
||||||
///
|
///
|
||||||
/// FXSAVE_STATE
|
/// FXSAVE_STATE
|
||||||
/// FP / MMX / XMM registers (see fxrstor instruction definition)
|
/// FP / MMX / XMM registers (see fxrstor instruction definition)
|
||||||
@ -487,7 +487,7 @@ typedef union {
|
|||||||
/**
|
/**
|
||||||
Registers and enables an exception callback function for the specified exception.
|
Registers and enables an exception callback function for the specified exception.
|
||||||
|
|
||||||
@param ExceptionType Exception types in EBC, IA-32, X64, or IPF
|
@param ExceptionType Exception types in EBC, IA-32, x64, or IPF
|
||||||
@param SystemContext Exception content.
|
@param SystemContext Exception content.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
@ -178,12 +178,12 @@ typedef INT64 INTN;
|
|||||||
#define MAX_2_BITS 0xC000000000000000ULL
|
#define MAX_2_BITS 0xC000000000000000ULL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Maximum legal X64 address
|
// Maximum legal x64 address
|
||||||
//
|
//
|
||||||
#define MAX_ADDRESS 0xFFFFFFFFFFFFFFFFULL
|
#define MAX_ADDRESS 0xFFFFFFFFFFFFFFFFULL
|
||||||
|
|
||||||
//
|
//
|
||||||
// The stack alignment required for X64
|
// The stack alignment required for x64
|
||||||
//
|
//
|
||||||
#define CPU_STACK_ALIGNMENT 16
|
#define CPU_STACK_ALIGNMENT 16
|
||||||
|
|
||||||
|
@ -579,7 +579,7 @@ InternalLongJump (
|
|||||||
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Gdtr Pointer to a GDTR descriptor.
|
@param Gdtr Pointer to a GDTR descriptor.
|
||||||
|
|
||||||
@ -594,7 +594,7 @@ InternalX86ReadGdtr (
|
|||||||
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
||||||
|
|
||||||
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Gdtr Pointer to a GDTR descriptor.
|
@param Gdtr Pointer to a GDTR descriptor.
|
||||||
|
|
||||||
@ -609,7 +609,7 @@ InternalX86WriteGdtr (
|
|||||||
Reads the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
Reads the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Idtr Pointer to a IDTR descriptor.
|
@param Idtr Pointer to a IDTR descriptor.
|
||||||
|
|
||||||
@ -624,7 +624,7 @@ InternalX86ReadIdtr (
|
|||||||
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Idtr Pointer to a IDTR descriptor.
|
@param Idtr Pointer to a IDTR descriptor.
|
||||||
|
|
||||||
@ -640,7 +640,7 @@ InternalX86WriteIdtr (
|
|||||||
|
|
||||||
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
||||||
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||||
|
|
||||||
@ -656,7 +656,7 @@ InternalX86FxSave (
|
|||||||
|
|
||||||
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
||||||
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||||
|
|
||||||
@ -790,7 +790,7 @@ InternalX86EnablePaging64 (
|
|||||||
|
|
||||||
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
||||||
mode. This function assumes the current execution mode is 64-paging mode.
|
mode. This function assumes the current execution mode is 64-paging mode.
|
||||||
This function is only available on X64. After the 64-bit paging mode is
|
This function is only available on x64. After the 64-bit paging mode is
|
||||||
disabled, control is transferred to the function specified by EntryPoint
|
disabled, control is transferred to the function specified by EntryPoint
|
||||||
using the new stack specified by NewStack and passing in the parameters
|
using the new stack specified by NewStack and passing in the parameters
|
||||||
specified by Context1 and Context2. Context1 and Context2 are optional and
|
specified by Context1 and Context2. Context1 and Context2 are optional and
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
If Ebx is not NULL, then the value of EBX after CPUID is returned in Ebx.
|
If Ebx is not NULL, then the value of EBX after CPUID is returned in Ebx.
|
||||||
If Ecx is not NULL, then the value of ECX after CPUID is returned in Ecx.
|
If Ecx is not NULL, then the value of ECX after CPUID is returned in Ecx.
|
||||||
If Edx is not NULL, then the value of EDX after CPUID is returned in Edx.
|
If Edx is not NULL, then the value of EDX after CPUID is returned in Edx.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit value to load into EAX prior to invoking the CPUID
|
@param Index The 32-bit value to load into EAX prior to invoking the CPUID
|
||||||
instruction.
|
instruction.
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
coherency domain of the CPU.
|
coherency domain of the CPU.
|
||||||
|
|
||||||
Flushed the cache line specified by LinearAddress, and returns LinearAddress.
|
Flushed the cache line specified by LinearAddress, and returns LinearAddress.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param LinearAddress The address of the cache line to flush. If the CPU is
|
@param LinearAddress The address of the cache line to flush. If the CPU is
|
||||||
in a physical addressing mode, then LinearAddress is a
|
in a physical addressing mode, then LinearAddress is a
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
||||||
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
||||||
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Executes a INVD instruction.
|
Executes a INVD instruction.
|
||||||
|
|
||||||
Executes a INVD instruction. This function is only available on IA-32 and
|
Executes a INVD instruction. This function is only available on IA-32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Sets up a monitor buffer that is used by AsmMwait().
|
Sets up a monitor buffer that is used by AsmMwait().
|
||||||
|
|
||||||
Executes a MONITOR instruction with the register state specified by Eax, Ecx
|
Executes a MONITOR instruction with the register state specified by Eax, Ecx
|
||||||
and Edx. Returns Eax. This function is only available on IA-32 and X64.
|
and Edx. Returns Eax. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param RegisterEax The value to load into EAX or RAX before executing the MONITOR
|
@param RegisterEax The value to load into EAX or RAX before executing the MONITOR
|
||||||
instruction.
|
instruction.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Executes an MWAIT instruction.
|
Executes an MWAIT instruction.
|
||||||
|
|
||||||
Executes an MWAIT instruction with the register state specified by Eax and
|
Executes an MWAIT instruction with the register state specified by Eax and
|
||||||
Ecx. Returns Eax. This function is only available on IA-32 and X64.
|
Ecx. Returns Eax. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param RegisterEax The value to load into EAX or RAX before executing the MONITOR
|
@param RegisterEax The value to load into EAX or RAX before executing the MONITOR
|
||||||
instruction.
|
instruction.
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
||||||
mode. This function assumes the current execution mode is 64-paging mode.
|
mode. This function assumes the current execution mode is 64-paging mode.
|
||||||
This function is only available on X64. After the 64-bit paging mode is
|
This function is only available on x64. After the 64-bit paging mode is
|
||||||
disabled, control is transferred to the function specified by EntryPoint
|
disabled, control is transferred to the function specified by EntryPoint
|
||||||
using the new stack specified by NewStack and passing in the parameters
|
using the new stack specified by NewStack and passing in the parameters
|
||||||
specified by Context1 and Context2. Context1 and Context2 are optional and
|
specified by Context1 and Context2. Context1 and Context2 are optional and
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of the Control Register 0 (CR0).
|
Reads the current value of the Control Register 0 (CR0).
|
||||||
|
|
||||||
Reads and returns the current value of CR4. This function is only available
|
Reads and returns the current value of CR4. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 0 (CR0).
|
@return The value of the Control Register 0 (CR0).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of the Control Register 2 (CR2).
|
Reads the current value of the Control Register 2 (CR2).
|
||||||
|
|
||||||
Reads and returns the current value of CR2. This function is only available
|
Reads and returns the current value of CR2. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 2 (CR2).
|
@return The value of the Control Register 2 (CR2).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of the Control Register 3 (CR3).
|
Reads the current value of the Control Register 3 (CR3).
|
||||||
|
|
||||||
Reads and returns the current value of CR3. This function is only available
|
Reads and returns the current value of CR3. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 3 (CR3).
|
@return The value of the Control Register 3 (CR3).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of the Control Register 4 (CR4).
|
Reads the current value of the Control Register 4 (CR4).
|
||||||
|
|
||||||
Reads and returns the current value of CR4. This function is only available
|
Reads and returns the current value of CR4. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of the Control Register 4 (CR4).
|
@return The value of the Control Register 4 (CR4).
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of Code Segment Register (CS).
|
Reads the current value of Code Segment Register (CS).
|
||||||
|
|
||||||
Reads and returns the current value of CS. This function is only available on
|
Reads and returns the current value of CS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of CS.
|
@return The current value of CS.
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 0 (DR0).
|
Reads the current value of Debug Register 0 (DR0).
|
||||||
|
|
||||||
Reads and returns the current value of DR0. This function is only available
|
Reads and returns the current value of DR0. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 0 (DR0).
|
@return The value of Debug Register 0 (DR0).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 1 (DR1).
|
Reads the current value of Debug Register 1 (DR1).
|
||||||
|
|
||||||
Reads and returns the current value of DR1. This function is only available
|
Reads and returns the current value of DR1. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 1 (DR1).
|
@return The value of Debug Register 1 (DR1).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 2 (DR2).
|
Reads the current value of Debug Register 2 (DR2).
|
||||||
|
|
||||||
Reads and returns the current value of DR2. This function is only available
|
Reads and returns the current value of DR2. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 2 (DR2).
|
@return The value of Debug Register 2 (DR2).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 3 (DR3).
|
Reads the current value of Debug Register 3 (DR3).
|
||||||
|
|
||||||
Reads and returns the current value of DR3. This function is only available
|
Reads and returns the current value of DR3. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 3 (DR3).
|
@return The value of Debug Register 3 (DR3).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 4 (DR4).
|
Reads the current value of Debug Register 4 (DR4).
|
||||||
|
|
||||||
Reads and returns the current value of DR4. This function is only available
|
Reads and returns the current value of DR4. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 4 (DR4).
|
@return The value of Debug Register 4 (DR4).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 5 (DR5).
|
Reads the current value of Debug Register 5 (DR5).
|
||||||
|
|
||||||
Reads and returns the current value of DR5. This function is only available
|
Reads and returns the current value of DR5. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 5 (DR5).
|
@return The value of Debug Register 5 (DR5).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 6 (DR6).
|
Reads the current value of Debug Register 6 (DR6).
|
||||||
|
|
||||||
Reads and returns the current value of DR6. This function is only available
|
Reads and returns the current value of DR6. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 6 (DR6).
|
@return The value of Debug Register 6 (DR6).
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
Reads the current value of Debug Register 7 (DR7).
|
Reads the current value of Debug Register 7 (DR7).
|
||||||
|
|
||||||
Reads and returns the current value of DR7. This function is only available
|
Reads and returns the current value of DR7. This function is only available
|
||||||
on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
on IA-32 and x64. This returns a 32-bit value on IA-32 and a 64-bit value on
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@return The value of Debug Register 7 (DR7).
|
@return The value of Debug Register 7 (DR7).
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of Data Segment Register (DS).
|
Reads the current value of Data Segment Register (DS).
|
||||||
|
|
||||||
Reads and returns the current value of DS. This function is only available on
|
Reads and returns the current value of DS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of DS.
|
@return The current value of DS.
|
||||||
|
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
Reads the current value of the EFLAGS register.
|
Reads the current value of the EFLAGS register.
|
||||||
|
|
||||||
Reads and returns the current value of the EFLAGS register. This function is
|
Reads and returns the current value of the EFLAGS register. This function is
|
||||||
only available on IA-32 and X64. This returns a 32-bit value on IA-32 and a
|
only available on IA-32 and x64. This returns a 32-bit value on IA-32 and a
|
||||||
64-bit value on X64.
|
64-bit value on x64.
|
||||||
|
|
||||||
@return EFLAGS on IA-32 or RFLAGS on X64.
|
@return EFLAGS on IA-32 or RFLAGS on x64.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of ES Data Segment Register (ES).
|
Reads the current value of ES Data Segment Register (ES).
|
||||||
|
|
||||||
Reads and returns the current value of ES. This function is only available on
|
Reads and returns the current value of ES. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of ES.
|
@return The current value of ES.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of FS Data Segment Register (FS).
|
Reads the current value of FS Data Segment Register (FS).
|
||||||
|
|
||||||
Reads and returns the current value of FS. This function is only available on
|
Reads and returns the current value of FS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of FS.
|
@return The current value of FS.
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Gdtr Pointer to a GDTR descriptor.
|
@param Gdtr Pointer to a GDTR descriptor.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of GS Data Segment Register (GS).
|
Reads the current value of GS Data Segment Register (GS).
|
||||||
|
|
||||||
Reads and returns the current value of GS. This function is only available on
|
Reads and returns the current value of GS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of GS.
|
@return The current value of GS.
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Reads the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
Reads the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Idtr Pointer to a IDTR descriptor.
|
@param Idtr Pointer to a IDTR descriptor.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current Local Descriptor Table Register(LDTR) selector.
|
Reads the current Local Descriptor Table Register(LDTR) selector.
|
||||||
|
|
||||||
Reads and returns the current 16-bit LDTR descriptor value. This function is
|
Reads and returns the current 16-bit LDTR descriptor value. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@return The current selector of LDT.
|
@return The current selector of LDT.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #0 (MM0).
|
Reads the current value of 64-bit MMX Register #0 (MM0).
|
||||||
|
|
||||||
Reads and returns the current value of MM0. This function is only available
|
Reads and returns the current value of MM0. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM0.
|
@return The current value of MM0.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #1 (MM1).
|
Reads the current value of 64-bit MMX Register #1 (MM1).
|
||||||
|
|
||||||
Reads and returns the current value of MM1. This function is only available
|
Reads and returns the current value of MM1. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM1.
|
@return The current value of MM1.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #2 (MM2).
|
Reads the current value of 64-bit MMX Register #2 (MM2).
|
||||||
|
|
||||||
Reads and returns the current value of MM2. This function is only available
|
Reads and returns the current value of MM2. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM2.
|
@return The current value of MM2.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #3 (MM3).
|
Reads the current value of 64-bit MMX Register #3 (MM3).
|
||||||
|
|
||||||
Reads and returns the current value of MM3. This function is only available
|
Reads and returns the current value of MM3. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM3.
|
@return The current value of MM3.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #4 (MM4).
|
Reads the current value of 64-bit MMX Register #4 (MM4).
|
||||||
|
|
||||||
Reads and returns the current value of MM4. This function is only available
|
Reads and returns the current value of MM4. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM4.
|
@return The current value of MM4.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #5 (MM5).
|
Reads the current value of 64-bit MMX Register #5 (MM5).
|
||||||
|
|
||||||
Reads and returns the current value of MM5. This function is only available
|
Reads and returns the current value of MM5. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM5.
|
@return The current value of MM5.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #6 (MM6).
|
Reads the current value of 64-bit MMX Register #6 (MM6).
|
||||||
|
|
||||||
Reads and returns the current value of MM6. This function is only available
|
Reads and returns the current value of MM6. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM6.
|
@return The current value of MM6.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of 64-bit MMX Register #7 (MM7).
|
Reads the current value of 64-bit MMX Register #7 (MM7).
|
||||||
|
|
||||||
Reads and returns the current value of MM7. This function is only available
|
Reads and returns the current value of MM7. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of MM7.
|
@return The current value of MM7.
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
performed on Index, and some Index values may cause CPU exceptions. The
|
performed on Index, and some Index values may cause CPU exceptions. The
|
||||||
caller must either guarantee that Index is valid, or the caller must set up
|
caller must either guarantee that Index is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to read.
|
@param Index The 32-bit MSR index to read.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Reads the current value of a Performance Counter (PMC).
|
Reads the current value of a Performance Counter (PMC).
|
||||||
|
|
||||||
Reads and returns the current value of performance counter specified by
|
Reads and returns the current value of performance counter specified by
|
||||||
Index. This function is only available on IA-32 and X64.
|
Index. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit Performance Counter index to read.
|
@param Index The 32-bit Performance Counter index to read.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of Stack Segment Register (SS).
|
Reads the current value of Stack Segment Register (SS).
|
||||||
|
|
||||||
Reads and returns the current value of SS. This function is only available on
|
Reads and returns the current value of SS. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of SS.
|
@return The current value of SS.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of Task Register (TR).
|
Reads the current value of Task Register (TR).
|
||||||
|
|
||||||
Reads and returns the current value of TR. This function is only available on
|
Reads and returns the current value of TR. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of TR.
|
@return The current value of TR.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Reads the current value of Time Stamp Counter (TSC).
|
Reads the current value of Time Stamp Counter (TSC).
|
||||||
|
|
||||||
Reads and returns the current value of TSC. This function is only available
|
Reads and returns the current value of TSC. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
@return The current value of TSC
|
@return The current value of TSC
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Executes a WBINVD instruction.
|
Executes a WBINVD instruction.
|
||||||
|
|
||||||
Executes a WBINVD instruction. This function is only available on IA-32 and
|
Executes a WBINVD instruction. This function is only available on IA-32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Control Register 0 (CR0).
|
Writes a value to Control Register 0 (CR0).
|
||||||
|
|
||||||
Writes and returns a new value to CR0. This function is only available on
|
Writes and returns a new value to CR0. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to CR0.
|
@param Value The value to write to CR0.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Control Register 2 (CR2).
|
Writes a value to Control Register 2 (CR2).
|
||||||
|
|
||||||
Writes and returns a new value to CR2. This function is only available on
|
Writes and returns a new value to CR2. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to CR2.
|
@param Value The value to write to CR2.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Control Register 3 (CR3).
|
Writes a value to Control Register 3 (CR3).
|
||||||
|
|
||||||
Writes and returns a new value to CR3. This function is only available on
|
Writes and returns a new value to CR3. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to CR3.
|
@param Value The value to write to CR3.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Control Register 4 (CR4).
|
Writes a value to Control Register 4 (CR4).
|
||||||
|
|
||||||
Writes and returns a new value to CR4. This function is only available on
|
Writes and returns a new value to CR4. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to CR4.
|
@param Value The value to write to CR4.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 0 (DR0).
|
Writes a value to Debug Register 0 (DR0).
|
||||||
|
|
||||||
Writes and returns a new value to DR0. This function is only available on
|
Writes and returns a new value to DR0. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr0.
|
@param Value The value to write to Dr0.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 1 (DR1).
|
Writes a value to Debug Register 1 (DR1).
|
||||||
|
|
||||||
Writes and returns a new value to DR1. This function is only available on
|
Writes and returns a new value to DR1. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr1.
|
@param Value The value to write to Dr1.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 2 (DR2).
|
Writes a value to Debug Register 2 (DR2).
|
||||||
|
|
||||||
Writes and returns a new value to DR2. This function is only available on
|
Writes and returns a new value to DR2. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr2.
|
@param Value The value to write to Dr2.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 3 (DR3).
|
Writes a value to Debug Register 3 (DR3).
|
||||||
|
|
||||||
Writes and returns a new value to DR3. This function is only available on
|
Writes and returns a new value to DR3. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr3.
|
@param Value The value to write to Dr3.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 4 (DR4).
|
Writes a value to Debug Register 4 (DR4).
|
||||||
|
|
||||||
Writes and returns a new value to DR4. This function is only available on
|
Writes and returns a new value to DR4. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr4.
|
@param Value The value to write to Dr4.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 5 (DR5).
|
Writes a value to Debug Register 5 (DR5).
|
||||||
|
|
||||||
Writes and returns a new value to DR5. This function is only available on
|
Writes and returns a new value to DR5. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr5.
|
@param Value The value to write to Dr5.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 6 (DR6).
|
Writes a value to Debug Register 6 (DR6).
|
||||||
|
|
||||||
Writes and returns a new value to DR6. This function is only available on
|
Writes and returns a new value to DR6. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr6.
|
@param Value The value to write to Dr6.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Writes a value to Debug Register 7 (DR7).
|
Writes a value to Debug Register 7 (DR7).
|
||||||
|
|
||||||
Writes and returns a new value to DR7. This function is only available on
|
Writes and returns a new value to DR7. This function is only available on
|
||||||
IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64.
|
IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
|
||||||
|
|
||||||
@param Value The value to write to Dr7.
|
@param Value The value to write to Dr7.
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
||||||
|
|
||||||
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Gdtr Pointer to a GDTR descriptor.
|
@param Gdtr Pointer to a GDTR descriptor.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Idtr Pointer to a IDTR descriptor.
|
@param Idtr Pointer to a IDTR descriptor.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current Local Descriptor Table Register (GDTR) selector.
|
Writes the current Local Descriptor Table Register (GDTR) selector.
|
||||||
|
|
||||||
Writes and the current LDTR descriptor specified by Ldtr. This function is
|
Writes and the current LDTR descriptor specified by Ldtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Ldtr 16-bit LDTR selector value.
|
@param Ldtr 16-bit LDTR selector value.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #0 (MM0).
|
Writes the current value of 64-bit MMX Register #0 (MM0).
|
||||||
|
|
||||||
Writes the current value of MM0. This function is only available on IA32 and
|
Writes the current value of MM0. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM0.
|
@param Value The 64-bit value to write to MM0.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #1 (MM1).
|
Writes the current value of 64-bit MMX Register #1 (MM1).
|
||||||
|
|
||||||
Writes the current value of MM1. This function is only available on IA32 and
|
Writes the current value of MM1. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM1.
|
@param Value The 64-bit value to write to MM1.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #2 (MM2).
|
Writes the current value of 64-bit MMX Register #2 (MM2).
|
||||||
|
|
||||||
Writes the current value of MM2. This function is only available on IA32 and
|
Writes the current value of MM2. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM2.
|
@param Value The 64-bit value to write to MM2.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #3 (MM3).
|
Writes the current value of 64-bit MMX Register #3 (MM3).
|
||||||
|
|
||||||
Writes the current value of MM3. This function is only available on IA32 and
|
Writes the current value of MM3. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM3.
|
@param Value The 64-bit value to write to MM3.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #4 (MM4).
|
Writes the current value of 64-bit MMX Register #4 (MM4).
|
||||||
|
|
||||||
Writes the current value of MM4. This function is only available on IA32 and
|
Writes the current value of MM4. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM4.
|
@param Value The 64-bit value to write to MM4.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #5 (MM5).
|
Writes the current value of 64-bit MMX Register #5 (MM5).
|
||||||
|
|
||||||
Writes the current value of MM5. This function is only available on IA32 and
|
Writes the current value of MM5. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM5.
|
@param Value The 64-bit value to write to MM5.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #6 (MM6).
|
Writes the current value of 64-bit MMX Register #6 (MM6).
|
||||||
|
|
||||||
Writes the current value of MM6. This function is only available on IA32 and
|
Writes the current value of MM6. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM6.
|
@param Value The 64-bit value to write to MM6.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Writes the current value of 64-bit MMX Register #7 (MM7).
|
Writes the current value of 64-bit MMX Register #7 (MM7).
|
||||||
|
|
||||||
Writes the current value of MM7. This function is only available on IA32 and
|
Writes the current value of MM7. This function is only available on IA32 and
|
||||||
X64.
|
x64.
|
||||||
|
|
||||||
@param Value The 64-bit value to write to MM7.
|
@param Value The 64-bit value to write to MM7.
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
performed on Index or Value, and some of these may cause CPU exceptions. The
|
performed on Index or Value, and some of these may cause CPU exceptions. The
|
||||||
caller must either guarantee that Index and Value are valid, or the caller
|
caller must either guarantee that Index and Value are valid, or the caller
|
||||||
must establish proper exception handlers. This function is only available on
|
must establish proper exception handlers. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param Value The 64-bit value to write to the MSR.
|
@param Value The 64-bit value to write to the MSR.
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
Disables the 64-bit paging mode on the CPU and returns to 32-bit protected
|
||||||
mode. This function assumes the current execution mode is 64-paging mode.
|
mode. This function assumes the current execution mode is 64-paging mode.
|
||||||
This function is only available on X64. After the 64-bit paging mode is
|
This function is only available on x64. After the 64-bit paging mode is
|
||||||
disabled, control is transferred to the function specified by EntryPoint
|
disabled, control is transferred to the function specified by EntryPoint
|
||||||
using the new stack specified by NewStack and passing in the parameters
|
using the new stack specified by NewStack and passing in the parameters
|
||||||
specified by Context1 and Context2. Context1 and Context2 are optional and
|
specified by Context1 and Context2. Context1 and Context2 are optional and
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
Restores the current floating point/SSE/SSE2 state from the buffer specified
|
||||||
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
If Buffer is NULL, then ASSERT().
|
If Buffer is NULL, then ASSERT().
|
||||||
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
Saves the current floating point/SSE/SSE2 state to the buffer specified by
|
||||||
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
If Buffer is NULL, then ASSERT().
|
If Buffer is NULL, then ASSERT().
|
||||||
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
No parameter checking is performed on Index, and some Index values may cause
|
No parameter checking is performed on Index, and some Index values may cause
|
||||||
CPU exceptions. The caller must either guarantee that Index is valid, or the
|
CPU exceptions. The caller must either guarantee that Index is valid, or the
|
||||||
caller must set up exception handlers to catch the exceptions. This function
|
caller must set up exception handlers to catch the exceptions. This function
|
||||||
is only available on IA-32 and X64.
|
is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to read.
|
@param Index The 32-bit MSR index to read.
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ AsmReadMsr32 (
|
|||||||
the MSR is returned. No parameter checking is performed on Index or Value,
|
the MSR is returned. No parameter checking is performed on Index or Value,
|
||||||
and some of these may cause CPU exceptions. The caller must either guarantee
|
and some of these may cause CPU exceptions. The caller must either guarantee
|
||||||
that Index and Value are valid, or the caller must establish proper exception
|
that Index and Value are valid, or the caller must establish proper exception
|
||||||
handlers. This function is only available on IA-32 and X64.
|
handlers. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param Value The 32-bit value to write to the MSR.
|
@param Value The 32-bit value to write to the MSR.
|
||||||
@ -76,7 +76,7 @@ AsmWriteMsr32 (
|
|||||||
performed on Index or OrData, and some of these may cause CPU exceptions. The
|
performed on Index or OrData, and some of these may cause CPU exceptions. The
|
||||||
caller must either guarantee that Index and OrData are valid, or the caller
|
caller must either guarantee that Index and OrData are valid, or the caller
|
||||||
must establish proper exception handlers. This function is only available on
|
must establish proper exception handlers. This function is only available on
|
||||||
IA-32 and X64.
|
IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param OrData The value to OR with the read value from the MSR.
|
@param OrData The value to OR with the read value from the MSR.
|
||||||
@ -105,7 +105,7 @@ AsmMsrOr32 (
|
|||||||
on Index or AndData, and some of these may cause CPU exceptions. The caller
|
on Index or AndData, and some of these may cause CPU exceptions. The caller
|
||||||
must either guarantee that Index and AndData are valid, or the caller must
|
must either guarantee that Index and AndData are valid, or the caller must
|
||||||
establish proper exception handlers. This function is only available on IA-32
|
establish proper exception handlers. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -136,7 +136,7 @@ AsmMsrAnd32 (
|
|||||||
AndData, or OrData, and some of these may cause CPU exceptions. The caller
|
AndData, or OrData, and some of these may cause CPU exceptions. The caller
|
||||||
must either guarantee that Index, AndData, and OrData are valid, or the
|
must either guarantee that Index, AndData, and OrData are valid, or the
|
||||||
caller must establish proper exception handlers. This function is only
|
caller must establish proper exception handlers. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -163,7 +163,7 @@ AsmMsrAndThenOr32 (
|
|||||||
specified by the StartBit and the EndBit. The value of the bit field is
|
specified by the StartBit and the EndBit. The value of the bit field is
|
||||||
returned. The caller must either guarantee that Index is valid, or the caller
|
returned. The caller must either guarantee that Index is valid, or the caller
|
||||||
must set up exception handlers to catch the exceptions. This function is only
|
must set up exception handlers to catch the exceptions. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -198,7 +198,7 @@ AsmMsrBitFieldRead32 (
|
|||||||
returned. Extra left bits in Value are stripped. The caller must either
|
returned. Extra left bits in Value are stripped. The caller must either
|
||||||
guarantee that Index and the data written is valid, or the caller must set up
|
guarantee that Index and the data written is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -238,7 +238,7 @@ AsmMsrBitFieldWrite32 (
|
|||||||
written to the MSR are returned. Extra left bits in OrData are stripped. The
|
written to the MSR are returned. Extra left bits in OrData are stripped. The
|
||||||
caller must either guarantee that Index and the data written is valid, or
|
caller must either guarantee that Index and the data written is valid, or
|
||||||
the caller must set up exception handlers to catch the exceptions. This
|
the caller must set up exception handlers to catch the exceptions. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -278,7 +278,7 @@ AsmMsrBitFieldOr32 (
|
|||||||
MSR are returned. Extra left bits in AndData are stripped. The caller must
|
MSR are returned. Extra left bits in AndData are stripped. The caller must
|
||||||
either guarantee that Index and the data written is valid, or the caller must
|
either guarantee that Index and the data written is valid, or the caller must
|
||||||
set up exception handlers to catch the exceptions. This function is only
|
set up exception handlers to catch the exceptions. This function is only
|
||||||
available on IA-32 and X64.
|
available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -320,7 +320,7 @@ AsmMsrBitFieldAnd32 (
|
|||||||
in both AndData and OrData are stripped. The caller must either guarantee
|
in both AndData and OrData are stripped. The caller must either guarantee
|
||||||
that Index and the data written is valid, or the caller must set up exception
|
that Index and the data written is valid, or the caller must set up exception
|
||||||
handlers to catch the exceptions. This function is only available on IA-32
|
handlers to catch the exceptions. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
If StartBit is greater than 31, then ASSERT().
|
If StartBit is greater than 31, then ASSERT().
|
||||||
If EndBit is greater than 31, then ASSERT().
|
If EndBit is greater than 31, then ASSERT().
|
||||||
@ -368,7 +368,7 @@ AsmMsrBitFieldAndThenOr32 (
|
|||||||
returned. No parameter checking is performed on Index or OrData, and some of
|
returned. No parameter checking is performed on Index or OrData, and some of
|
||||||
these may cause CPU exceptions. The caller must either guarantee that Index
|
these may cause CPU exceptions. The caller must either guarantee that Index
|
||||||
and OrData are valid, or the caller must establish proper exception handlers.
|
and OrData are valid, or the caller must establish proper exception handlers.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param OrData The value to OR with the read value from the MSR.
|
@param OrData The value to OR with the read value from the MSR.
|
||||||
@ -396,7 +396,7 @@ AsmMsrOr64 (
|
|||||||
parameter checking is performed on Index or OrData, and some of these may
|
parameter checking is performed on Index or OrData, and some of these may
|
||||||
cause CPU exceptions. The caller must either guarantee that Index and OrData
|
cause CPU exceptions. The caller must either guarantee that Index and OrData
|
||||||
are valid, or the caller must establish proper exception handlers. This
|
are valid, or the caller must establish proper exception handlers. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -426,7 +426,7 @@ AsmMsrAnd64 (
|
|||||||
or OrData, and some of these may cause CPU exceptions. The caller must either
|
or OrData, and some of these may cause CPU exceptions. The caller must either
|
||||||
guarantee that Index, AndData, and OrData are valid, or the caller must
|
guarantee that Index, AndData, and OrData are valid, or the caller must
|
||||||
establish proper exception handlers. This function is only available on IA-32
|
establish proper exception handlers. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
@param Index The 32-bit MSR index to write.
|
@param Index The 32-bit MSR index to write.
|
||||||
@param AndData The value to AND with the read value from the MSR.
|
@param AndData The value to AND with the read value from the MSR.
|
||||||
@ -453,7 +453,7 @@ AsmMsrAndThenOr64 (
|
|||||||
StartBit and the EndBit. The value of the bit field is returned. The caller
|
StartBit and the EndBit. The value of the bit field is returned. The caller
|
||||||
must either guarantee that Index is valid, or the caller must set up
|
must either guarantee that Index is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -487,7 +487,7 @@ AsmMsrBitFieldRead64 (
|
|||||||
preserved. The MSR written is returned. Extra left bits in Value are
|
preserved. The MSR written is returned. Extra left bits in Value are
|
||||||
stripped. The caller must either guarantee that Index and the data written is
|
stripped. The caller must either guarantee that Index and the data written is
|
||||||
valid, or the caller must set up exception handlers to catch the exceptions.
|
valid, or the caller must set up exception handlers to catch the exceptions.
|
||||||
This function is only available on IA-32 and X64.
|
This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -528,7 +528,7 @@ AsmMsrBitFieldWrite64 (
|
|||||||
returned. Extra left bits in OrData are stripped. The caller must either
|
returned. Extra left bits in OrData are stripped. The caller must either
|
||||||
guarantee that Index and the data written is valid, or the caller must set up
|
guarantee that Index and the data written is valid, or the caller must set up
|
||||||
exception handlers to catch the exceptions. This function is only available
|
exception handlers to catch the exceptions. This function is only available
|
||||||
on IA-32 and X64.
|
on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -569,7 +569,7 @@ AsmMsrBitFieldOr64 (
|
|||||||
Extra left bits in AndData are stripped. The caller must either guarantee
|
Extra left bits in AndData are stripped. The caller must either guarantee
|
||||||
that Index and the data written is valid, or the caller must set up exception
|
that Index and the data written is valid, or the caller must set up exception
|
||||||
handlers to catch the exceptions. This function is only available on IA-32
|
handlers to catch the exceptions. This function is only available on IA-32
|
||||||
and X64.
|
and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
@ -611,7 +611,7 @@ AsmMsrBitFieldAnd64 (
|
|||||||
value written to the MSR is returned. Extra left bits in both AndData and
|
value written to the MSR is returned. Extra left bits in both AndData and
|
||||||
OrData are stripped. The caller must either guarantee that Index and the data
|
OrData are stripped. The caller must either guarantee that Index and the data
|
||||||
written is valid, or the caller must set up exception handlers to catch the
|
written is valid, or the caller must set up exception handlers to catch the
|
||||||
exceptions. This function is only available on IA-32 and X64.
|
exceptions. This function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If StartBit is greater than 63, then ASSERT().
|
If StartBit is greater than 63, then ASSERT().
|
||||||
If EndBit is greater than 63, then ASSERT().
|
If EndBit is greater than 63, then ASSERT().
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
Reads the current Global Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If Gdtr is NULL, then ASSERT().
|
If Gdtr is NULL, then ASSERT().
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Reads the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
Reads the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
||||||
function is only available on IA-32 and X64.
|
function is only available on IA-32 and x64.
|
||||||
|
|
||||||
If Idtr is NULL, then ASSERT().
|
If Idtr is NULL, then ASSERT().
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Real Mode Thunk Functions for IA32 and X64.
|
Real Mode Thunk Functions for IA32 and x64.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation<BR>
|
Copyright (c) 2006, Intel Corporation<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
Writes the current Global Descriptor Table Register (GDTR) descriptor.
|
||||||
|
|
||||||
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
If Gdtr is NULL, then ASSERT().
|
If Gdtr is NULL, then ASSERT().
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
|
||||||
|
|
||||||
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
||||||
only available on IA-32 and X64.
|
only available on IA-32 and x64.
|
||||||
|
|
||||||
If Idtr is NULL, then ASSERT().
|
If Idtr is NULL, then ASSERT().
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ PeCoffLoaderGetPdbPointer (
|
|||||||
case EFI_IMAGE_MACHINE_X64:
|
case EFI_IMAGE_MACHINE_X64:
|
||||||
case EFI_IMAGE_MACHINE_IPF:
|
case EFI_IMAGE_MACHINE_IPF:
|
||||||
//
|
//
|
||||||
// Assume PE32+ image with X64 or IPF Machine field
|
// Assume PE32+ image with x64 or IPF Machine field
|
||||||
//
|
//
|
||||||
Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
|
Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
|
||||||
break;
|
break;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Base PE/COFF loader supports loading any PE32/PE32+ or TE image, but
|
Base PE/COFF loader supports loading any PE32/PE32+ or TE image, but
|
||||||
only supports relocating IA32, X64, IPF, and EBC images.
|
only supports relocating IA32, x64, IPF, and EBC images.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2008, Intel Corporation
|
Copyright (c) 2006 - 2008, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -221,7 +221,7 @@ PeCoffLoaderRelocateImageEx (
|
|||||||
the entry point.
|
the entry point.
|
||||||
|
|
||||||
This function implies the basic PE/COFF loader/relocator supports IA32, EBC,
|
This function implies the basic PE/COFF loader/relocator supports IA32, EBC,
|
||||||
& X64 images. Calling the entry point in a correct mannor is up to the
|
& x64 images. Calling the entry point in a correct mannor is up to the
|
||||||
consumer of this library. This version also supports the special relocations
|
consumer of this library. This version also supports the special relocations
|
||||||
for Itanium.
|
for Itanium.
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ PeCoffLoaderRelocateImageEx (
|
|||||||
the entry point.
|
the entry point.
|
||||||
|
|
||||||
This function implies the basic PE/COFF loader/relocator supports IA32, EBC,
|
This function implies the basic PE/COFF loader/relocator supports IA32, EBC,
|
||||||
& X64 images. Calling the entry point in a correct mannor is up to the
|
& x64 images. Calling the entry point in a correct mannor is up to the
|
||||||
consumer of this library.
|
consumer of this library.
|
||||||
|
|
||||||
@param Machine Machine type from the PE Header.
|
@param Machine Machine type from the PE Header.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
PEI Services Table Pointer Library for IA-32 and X64.
|
PEI Services Table Pointer Library for IA-32 and x64.
|
||||||
|
|
||||||
According to PI specification, the peiservice pointer is stored prior at IDT
|
According to PI specification, the peiservice pointer is stored prior at IDT
|
||||||
table in IA32 and x64 architecture.
|
table in IA32 and x64 architecture.
|
||||||
|
@ -380,7 +380,7 @@ EfiConvertPointer (
|
|||||||
/**
|
/**
|
||||||
Determines the new virtual address that is to be used on subsequent memory accesses.
|
Determines the new virtual address that is to be used on subsequent memory accesses.
|
||||||
|
|
||||||
For IA32, X64, and EBC, this service is a wrapper for the UEFI Runtime Service
|
For IA32, x64, and EBC, this service is a wrapper for the UEFI Runtime Service
|
||||||
ConvertPointer(). See the UEFI Specification for details.
|
ConvertPointer(). See the UEFI Specification for details.
|
||||||
For IPF, this function interprets Address as a pointer to an EFI_PLABEL structure
|
For IPF, this function interprets Address as a pointer to an EFI_PLABEL structure
|
||||||
and both the EntryPoint and GP fields of an EFI_PLABEL are converted from physical
|
and both the EntryPoint and GP fields of an EFI_PLABEL are converted from physical
|
||||||
|
Loading…
x
Reference in New Issue
Block a user