OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RegisterIndex
(Results
1 - 3
of
3
) sorted by null
/device/linaro/bootloader/edk2/OvmfPkg/Library/SmmCpuFeaturesLib/
SmmCpuFeaturesLib.c
538
@param[in]
RegisterIndex
Index into mSmmCpuWidthOffset[] look up table.
550
IN UINTN
RegisterIndex
,
563
if (mSmmCpuWidthOffset[
RegisterIndex
].Width32 == 0) {
570
if (Width > mSmmCpuWidthOffset[
RegisterIndex
].Width32) {
578
CopyMem(Buffer, (UINT8 *)CpuSaveState + mSmmCpuWidthOffset[
RegisterIndex
].Offset32, Width);
583
if (mSmmCpuWidthOffset[
RegisterIndex
].Width64 == 0) {
590
if (Width > mSmmCpuWidthOffset[
RegisterIndex
].Width64) {
597
CopyMem(Buffer, (UINT8 *)CpuSaveState + mSmmCpuWidthOffset[
RegisterIndex
].Offset64Lo, MIN(4, Width));
602
CopyMem((UINT8 *)Buffer + 4, (UINT8 *)CpuSaveState + mSmmCpuWidthOffset[
RegisterIndex
].Offset64Hi, Width - 4);
635
UINTN
RegisterIndex
;
[
all
...]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
SmramSaveState.c
265
@param[in]
RegisterIndex
Index into mSmmCpuWidthOffset[] look up table.
277
IN UINTN
RegisterIndex
,
284
if (
RegisterIndex
== 0) {
294
if (mSmmCpuWidthOffset[
RegisterIndex
].Width32 == 0) {
301
if (Width > mSmmCpuWidthOffset[
RegisterIndex
].Width32) {
309
CopyMem(Buffer, (UINT8 *)CpuSaveState + mSmmCpuWidthOffset[
RegisterIndex
].Offset32, Width);
314
if (mSmmCpuWidthOffset[
RegisterIndex
].Width64 == 0) {
321
if (Width > mSmmCpuWidthOffset[
RegisterIndex
].Width64) {
328
CopyMem(Buffer, (UINT8 *)CpuSaveState + mSmmCpuWidthOffset[
RegisterIndex
].Offset64Lo, MIN(4, Width));
333
CopyMem((UINT8 *)Buffer + 4, (UINT8 *)CpuSaveState + mSmmCpuWidthOffset[
RegisterIndex
].Offset64Hi, Width - 4);
[
all
...]
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/
DebugAgent.c
851
UINT8
RegisterIndex
;
854
RegisterIndex
= SetHwBreakpoint->Type.Index;
859
* ((UINTN *) &CpuContext->Dr0 +
RegisterIndex
) = (UINTN) SetHwBreakpoint->Address;
866
Dr7Value |= (UINTN) (0x3 << (
RegisterIndex
* 2));
870
Dr7Value &= (UINTN) (~(0xf << (16 +
RegisterIndex
* 4)));
871
Dr7Value |= (UINTN) ((SetHwBreakpoint->Type.Length << 2) | SetHwBreakpoint->Type.Access) << (16 +
RegisterIndex
* 4);
[
all
...]
Completed in 245 milliseconds