Lines Matching refs:Index
22 Reads and returns the lower 32-bits of the MSR specified by Index.
23 No parameter checking is performed on Index, and some Index values may cause
24 CPU exceptions. The caller must either guarantee that Index is valid, or the
28 @param Index The 32-bit MSR index to read.
30 @return The lower 32 bits of the MSR identified by Index.
36 IN UINT32 Index
39 return (UINT32)AsmReadMsr64 (Index);
46 Writes the 32-bit value specified by Value to the MSR specified by Index. The
48 the MSR is returned. No parameter checking is performed on Index or Value,
50 that Index and Value are valid, or the caller must establish proper exception
53 @param Index The 32-bit MSR index to write.
62 IN UINT32 Index,
66 return (UINT32)AsmWriteMsr64 (Index, Value);
73 Reads the 64-bit MSR specified by Index, performs a bitwise OR
75 OrData, and writes the result to the 64-bit MSR specified by Index. The lower
77 performed on Index or OrData, and some of these may cause CPU exceptions. The
78 caller must either guarantee that Index and OrData are valid, or the caller
82 @param Index The 32-bit MSR index to write.
91 IN UINT32 Index,
95 return (UINT32)AsmMsrOr64 (Index, OrData);
102 Reads the 64-bit MSR specified by Index, performs a bitwise AND between the
104 writes the result to the 64-bit MSR specified by Index. The lower 32-bits of
106 on Index or AndData, and some of these may cause CPU exceptions. The caller
107 must either guarantee that Index and AndData are valid, or the caller must
111 @param Index The 32-bit MSR index to write.
120 IN UINT32 Index,
124 return (UINT32)AsmMsrAnd64 (Index, AndData);
131 Reads the 64-bit MSR specified by Index, performs a bitwise AND between the
136 written to the MSR is returned. No parameter checking is performed on Index,
138 must either guarantee that Index, AndData, and OrData are valid, or the
142 @param Index The 32-bit MSR index to write.
152 IN UINT32 Index,
157 return (UINT32)AsmMsrAndThenOr64 (Index, AndData, OrData);
165 returned. The caller must either guarantee that Index is valid, or the caller
173 @param Index The 32-bit MSR index to read.
185 IN UINT32 Index,
190 return BitFieldRead32 (AsmReadMsr32 (Index), StartBit, EndBit);
199 returned. The caller must either guarantee that Index and the data written
208 @param Index The 32-bit MSR index to write.
221 IN UINT32 Index,
229 return (UINT32)AsmMsrBitFieldWrite64 (Index, StartBit, EndBit, Value);
236 Reads the 64-bit MSR specified by Index, performs a bitwise OR
238 result to the 64-bit MSR specified by Index. The lower 32-bits of the value
240 caller must either guarantee that Index and the data written is valid, or
249 @param Index The 32-bit MSR index to write.
262 IN UINT32 Index,
270 return (UINT32)AsmMsrBitFieldOr64 (Index, StartBit, EndBit, OrData);
277 Reads the 64-bit MSR specified by Index, performs a bitwise AND between the
279 64-bit MSR specified by Index. The lower 32-bits of the value written to the
281 either guarantee that Index and the data written is valid, or the caller must
290 @param Index The 32-bit MSR index to write.
303 IN UINT32 Index,
311 return (UINT32)AsmMsrBitFieldAnd64 (Index, StartBit, EndBit, AndData);
319 Reads the 64-bit MSR specified by Index, performs a bitwise AND followed by a
321 AndData, and writes the result to the 64-bit MSR specified by Index. The
324 that Index and the data written is valid, or the caller must set up exception
334 @param Index The 32-bit MSR index to write.
348 IN UINT32 Index,
358 Index,
370 Reads the 64-bit MSR specified by Index, performs a bitwise OR
372 result to the 64-bit MSR specified by Index. The value written to the MSR is
373 returned. No parameter checking is performed on Index or OrData, and some of
374 these may cause CPU exceptions. The caller must either guarantee that Index
378 @param Index The 32-bit MSR index to write.
387 IN UINT32 Index,
391 return AsmWriteMsr64 (Index, AsmReadMsr64 (Index) | OrData);
398 Reads the 64-bit MSR specified by Index, performs a bitwise AND between the
400 64-bit MSR specified by Index. The value written to the MSR is returned. No
401 parameter checking is performed on Index or OrData, and some of these may
402 cause CPU exceptions. The caller must either guarantee that Index and OrData
406 @param Index The 32-bit MSR index to write.
415 IN UINT32 Index,
419 return AsmWriteMsr64 (Index, AsmReadMsr64 (Index) & AndData);
426 Reads the 64-bit MSR specified by Index, performs a bitwise AND between read
429 and writes the result to the 64-bit MSR specified by Index. The value written
430 to the MSR is returned. No parameter checking is performed on Index, AndData,
432 Index, AndData, and OrData are valid, or the caller must
436 @param Index The 32-bit MSR index to write.
446 IN UINT32 Index,
451 return AsmWriteMsr64 (Index, (AsmReadMsr64 (Index) & AndData) | OrData);
459 must either guarantee that Index is valid, or the caller must set up
467 @param Index The 32-bit MSR index to read.
479 IN UINT32 Index,
484 return BitFieldRead64 (AsmReadMsr64 (Index), StartBit, EndBit);
493 that Index and the data written is valid, or the caller must set up exception
501 @param Index The 32-bit MSR index to write.
514 IN UINT32 Index,
521 Index,
522 BitFieldWrite64 (AsmReadMsr64 (Index), StartBit, EndBit, Value)
530 Reads the 64-bit MSR specified by Index, performs a bitwise OR
532 result to the 64-bit MSR specified by Index. The value written to the MSR is
534 guarantee that Index and the data written is valid, or the caller must set up
543 @param Index The 32-bit MSR index to write.
556 IN UINT32 Index,
563 Index,
564 BitFieldOr64 (AsmReadMsr64 (Index), StartBit, EndBit, OrData)
572 Reads the 64-bit MSR specified by Index, performs a bitwise AND between the
574 64-bit MSR specified by Index. The value written to the MSR is returned.
576 that Index and the data written is valid, or the caller must set up exception
585 @param Index The 32-bit MSR index to write.
598 IN UINT32 Index,
605 Index,
606 BitFieldAnd64 (AsmReadMsr64 (Index), StartBit, EndBit, AndData)
615 Reads the 64-bit MSR specified by Index, performs a bitwise AND followed by
617 AndData, and writes the result to the 64-bit MSR specified by Index. The
619 OrData are stripped. The caller must either guarantee that Index and the data
629 @param Index The 32-bit MSR index to write.
643 IN UINT32 Index,
651 Index,
653 AsmReadMsr64 (Index),