Home
last modified time | relevance | path

Searched refs:OpCode (Results 1 – 25 of 166) sorted by relevance

1234567

/device/linaro/bootloader/edk2/ArmPkg/Library/ArmDisassemblerLib/
DArmDisassembler.c87 UINT32 OpCode in MRegList() argument
96 if ((OpCode & (1 << Index)) != 0) { in MRegList()
98 for (Index++; ((OpCode & (1 << Index)) != 0) && Index <= 15; Index++) { in MRegList()
166 UINT32 OpCode = **OpCodePtr; in DisassembleArmInstruction() local
174 I = (OpCode & BIT25) == BIT25; in DisassembleArmInstruction()
175 P = (OpCode & BIT24) == BIT24; in DisassembleArmInstruction()
176 U = (OpCode & BIT23) == BIT23; in DisassembleArmInstruction()
177 B = (OpCode & BIT22) == BIT22; // Also called S in DisassembleArmInstruction()
178 W = (OpCode & BIT21) == BIT21; in DisassembleArmInstruction()
179 L = (OpCode & BIT20) == BIT20; in DisassembleArmInstruction()
[all …]
DThumbDisassembler.c106 UINT32 OpCode; member
490 UINT16 OpCode; in DisassembleThumbInstruction() local
504 OpCode = **OpCodePtrPtr; in DisassembleThumbInstruction()
507 OpCode32 = (((UINT32)OpCode) << 16) | *(OpCodePtr + 1); in DisassembleThumbInstruction()
510 Rd = OpCode & 0x7; in DisassembleThumbInstruction()
511 Rn = (OpCode >> 3) & 0x7; in DisassembleThumbInstruction()
512 Rm = (OpCode >> 6) & 0x7; in DisassembleThumbInstruction()
513 H1 = (OpCode & BIT7) != 0; in DisassembleThumbInstruction()
514 H2 = (OpCode & BIT6) != 0; in DisassembleThumbInstruction()
515 imod = (OpCode & BIT4) != 0; in DisassembleThumbInstruction()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiDxeS3BootScriptLib/
DBootScriptInternalFormat.h28 UINT16 OpCode; member
33 UINT16 OpCode; member
41 UINT16 OpCode; member
47 UINT16 OpCode; member
55 UINT16 OpCode; member
62 UINT16 OpCode; member
70 UINT16 OpCode; member
77 UINT16 OpCode; member
85 UINT16 OpCode; member
94 UINT16 OpCode; member
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/EfiRegTableLib/
DEfiRegTableLib.c66 … (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), in PciWrite()
73 if (OPCODE_FLAGS (Entry->OpCode) & OPCODE_FLAG_S3SAVE) { in PciWrite()
75 (EFI_BOOT_SCRIPT_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), in PciWrite()
109 … (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), in PciReadModifyWrite()
122 … (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), in PciReadModifyWrite()
129 if (OPCODE_FLAGS (Entry->OpCode) & OPCODE_FLAG_S3SAVE) { in PciReadModifyWrite()
131 (EFI_BOOT_SCRIPT_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), in PciReadModifyWrite()
165 … (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), in MemReadModifyWrite()
178 … (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) (OPCODE_EXTRA_DATA (Entry->OpCode)), in MemReadModifyWrite()
185 if (OPCODE_FLAGS (Entry->OpCode) & OPCODE_FLAG_S3SAVE) { in MemReadModifyWrite()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/
DEfiBootScript.h77 UINT16 OpCode; member
82 UINT16 OpCode; member
90 UINT16 OpCode; member
96 UINT16 OpCode; member
104 UINT16 OpCode; member
111 UINT16 OpCode; member
119 UINT16 OpCode; member
126 UINT16 OpCode; member
134 UINT16 OpCode; member
143 UINT16 OpCode; member
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/
DHiiLib.c30 UINT8 OpCode; member
462 if (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode != EFI_IFR_FORM_SET_OP) { in HiiGetFormSetFromHiiHandle()
1183 switch (IfrOpHdr->OpCode) { in ValidateQuestionFromVfr()
1357 VarBlockData.OpCode = IfrOpHdr->OpCode; in ValidateQuestionFromVfr()
1659 if (VarBlockData.OpCode == EFI_IFR_ONE_OF_OP) { in ValidateQuestionFromVfr()
1671 VarBlockData.OpCode = 0; in ValidateQuestionFromVfr()
1686 if ((VarBlockData.Scope == 0) && (VarBlockData.OpCode == EFI_IFR_ONE_OF_OP)) { in ValidateQuestionFromVfr()
2979 IN UINT8 OpCode, in InternalHiiCreateOpCodeExtended() argument
2992 Header->OpCode = OpCode; in InternalHiiCreateOpCodeExtended()
3014 IN UINT8 OpCode, in InternalHiiCreateOpCode() argument
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/
DEfiRegTableLib.h55 #define OPCODE_BASE(OpCode) ((UINT8)((OpCode) & 0xFF))
56 #define OPCODE_FLAGS(OpCode) ((UINT8)(((OpCode) >> 8) & 0xFF))
57 #define OPCODE_EXTRA_DATA(OpCode) ((UINT16)((OpCode) >> 16))
85 UINT32 OpCode;
99 UINT32 OpCode;
105 UINT32 OpCode;
120 UINT32 OpCode;
135 UINT32 OpCode;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiRegTableLib.h46 #define OPCODE_BASE(OpCode) ((UINT8)((OpCode) & 0xFF)) argument
47 #define OPCODE_FLAGS(OpCode) ((UINT8)(((OpCode) >> 8) & 0xFF)) argument
48 #define OPCODE_EXTRA_DATA(OpCode) ((UINT16)((OpCode) >> 16)) argument
76 UINT32 OpCode; member
90 UINT32 OpCode; member
105 UINT32 OpCode; member
120 UINT32 OpCode; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/SmmS3SaveState/
DSmmS3SaveState.c543 IN UINT16 OpCode, in BootScriptWrite() argument
552 switch (OpCode) { in BootScriptWrite()
555 VA_START (Marker, OpCode); in BootScriptWrite()
561 VA_START (Marker, OpCode); in BootScriptWrite()
567 VA_START (Marker, OpCode); in BootScriptWrite()
573 VA_START (Marker, OpCode); in BootScriptWrite()
579 VA_START (Marker, OpCode); in BootScriptWrite()
585 VA_START (Marker, OpCode); in BootScriptWrite()
591 VA_START (Marker, OpCode); in BootScriptWrite()
597 VA_START (Marker, OpCode); in BootScriptWrite()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/
DS3SaveState.c545 IN UINT16 OpCode, in BootScriptWrite() argument
554 switch (OpCode) { in BootScriptWrite()
557 VA_START (Marker, OpCode); in BootScriptWrite()
563 VA_START (Marker, OpCode); in BootScriptWrite()
569 VA_START (Marker, OpCode); in BootScriptWrite()
575 VA_START (Marker, OpCode); in BootScriptWrite()
581 VA_START (Marker, OpCode); in BootScriptWrite()
587 VA_START (Marker, OpCode); in BootScriptWrite()
593 VA_START (Marker, OpCode); in BootScriptWrite()
599 VA_START (Marker, OpCode); in BootScriptWrite()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/
DFormDisplay.c319 IN EFI_IFR_OP_HEADER *OpCode in GetPrompt() argument
324 if (OpCode->Length <= sizeof (EFI_IFR_OP_HEADER)) { in GetPrompt()
328 Header = (EFI_IFR_STATEMENT_HEADER *) (OpCode + 1); in GetPrompt()
371 if (Statement->OpCode->OpCode == EFI_IFR_TEXT_OP) { in GetWidth()
372 TestOp = (EFI_IFR_TEXT *) Statement->OpCode; in GetWidth()
380 if ((Statement->OpCode->OpCode == EFI_IFR_SUBTITLE_OP) || in GetWidth()
381 (Statement->OpCode->OpCode == EFI_IFR_REF_OP) || in GetWidth()
382 (Statement->OpCode->OpCode == EFI_IFR_PASSWORD_OP) || in GetWidth()
383 (Statement->OpCode->OpCode == EFI_IFR_ACTION_OP) || in GetWidth()
384 (Statement->OpCode->OpCode == EFI_IFR_RESET_BUTTON_OP) || in GetWidth()
[all …]
DInputHandler.c27 IN EFI_IFR_OP_HEADER *OpCode, in GetFieldFromOp() argument
34 if (OpCode->OpCode == EFI_IFR_STRING_OP) { in GetFieldFromOp()
35 StringOp = (EFI_IFR_STRING *) OpCode; in GetFieldFromOp()
38 } else if (OpCode->OpCode == EFI_IFR_PASSWORD_OP) { in GetFieldFromOp()
39 PasswordOp = (EFI_IFR_PASSWORD *) OpCode; in GetFieldFromOp()
98 GetFieldFromOp(Question->OpCode, &Minimum, &Maximum); in ReadString()
100 if (Question->OpCode->OpCode == EFI_IFR_PASSWORD_OP) { in ReadString()
390 IN EFI_IFR_OP_HEADER *OpCode, in GetValueFromNum() argument
402 NumericOp = (EFI_IFR_NUMERIC *) OpCode; in GetValueFromNum()
534 …if ((Question->OpCode->OpCode == EFI_IFR_DATE_OP) || (Question->OpCode->OpCode == EFI_IFR_TIME_OP)… in GetNumericInput()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DInternalVarCheckStructure.h32 UINT8 OpCode; member
41 UINT8 OpCode; member
48 UINT8 OpCode; member
56 UINT8 OpCode; member
63 UINT8 OpCode; member
72 UINT8 OpCode; member
/device/linaro/bootloader/edk2/MdeModulePkg/Library/CustomizedDisplayLib/
DCustomizedDisplayLib.c208 if (Statement->OpCode->OpCode == EFI_IFR_NUMERIC_OP) { in RefreshKeyHelp()
209 NumericOp = (EFI_IFR_NUMERIC *) Statement->OpCode; in RefreshKeyHelp()
211 } else if (Statement->OpCode->OpCode == EFI_IFR_DATE_OP) { in RefreshKeyHelp()
212 DateOp = (EFI_IFR_DATE *) Statement->OpCode; in RefreshKeyHelp()
214 } else if (Statement->OpCode->OpCode == EFI_IFR_TIME_OP) { in RefreshKeyHelp()
215 TimeOp = (EFI_IFR_TIME *) Statement->OpCode; in RefreshKeyHelp()
218 switch (Statement->OpCode->OpCode) { in RefreshKeyHelp()
232 if ((Statement->OpCode->OpCode == EFI_IFR_DATE_OP) || in RefreshKeyHelp()
233 (Statement->OpCode->OpCode == EFI_IFR_TIME_OP)) { in RefreshKeyHelp()
249 …if (Statement->OpCode->OpCode == EFI_IFR_NUMERIC_OP && NumericOp != NULL && LibGetFieldFromNum(Sta… in RefreshKeyHelp()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/BootScriptSaveDxe/
DScriptSave.c456 IN UINT16 OpCode, in BootScriptWrite()
473 switch (OpCode) { in BootScriptWrite()
476 VA_START (Marker, OpCode); in BootScriptWrite()
482 VA_START (Marker, OpCode); in BootScriptWrite()
488 VA_START (Marker, OpCode); in BootScriptWrite()
494 VA_START (Marker, OpCode); in BootScriptWrite()
500 VA_START (Marker, OpCode); in BootScriptWrite()
506 VA_START (Marker, OpCode); in BootScriptWrite()
512 VA_START (Marker, OpCode); in BootScriptWrite()
518 VA_START (Marker, OpCode); in BootScriptWrite()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassBoot.h98 UINT8 OpCode; member
118 UINT8 OpCode; member
130 UINT8 OpCode; member
137 UINT8 OpCode; member
156 UINT8 OpCode; member
166 UINT8 OpCode; member
176 UINT8 OpCode; member
197 UINT8 OpCode; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiProto.h101 #define ISCSI_SET_OPCODE(PduHdr, Op, Flgs) ((((ISCSI_BASIC_HEADER *) (PduHdr))->OpCode) = ((Op) | …
102 #define ISCSI_GET_OPCODE(PduHdr) ((((ISCSI_BASIC_HEADER *) (PduHdr))->OpCode) & ISCSI_OP…
103 #define ISCSI_CHECK_OPCODE(PduHdr, Op) ((((PduHdr)->OpCode) & ISCSI_OPCODE_MASK) == (Op))
104 #define ISCSI_IMMEDIATE_ON(PduHdr) ((PduHdr)->OpCode & ISCSI_REQ_IMMEDIATE)
165 UINT8 OpCode; member
212 UINT8 OpCode; member
243 UINT8 OpCode; member
269 UINT8 OpCode; member
297 UINT8 OpCode; member
316 UINT8 OpCode; member
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DSmmScriptSave.c67 IN UINT16 OpCode,
81 switch ( OpCode ) {
84 VA_START(Marker, OpCode);
90 VA_START(Marker, OpCode);
123 Script.TableInfo->OpCode = EFI_BOOT_SCRIPT_TABLE_OPCODE;
148 Script.Terminate->OpCode = EFI_BOOT_SCRIPT_TERMINATE_OPCODE;
157 Script.TableInfo->OpCode = EFI_BOOT_SCRIPT_TABLE_OPCODE; in BootScriptIoWrite()
191 Script.IoWrite->OpCode = EFI_BOOT_SCRIPT_IO_WRITE_OPCODE;
236 Script.PciWrite->OpCode = EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE;
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
DExpression.c2532 EXPRESSION_OPCODE *OpCode; in EvaluateExpression() local
2568 OpCode = EXPRESSION_OPCODE_FROM_LINK (Link); in EvaluateExpression()
2580 switch (OpCode->Operand) { in EvaluateExpression()
2585 Question = IdToQuestion (FormSet, Form, OpCode->QuestionId); in EvaluateExpression()
2591 Status = CompareHiiValue (&Question->HiiValue, &OpCode->Value, &Result, NULL); in EvaluateExpression()
2605 Question = IdToQuestion (FormSet, Form, OpCode->QuestionId); in EvaluateExpression()
2611 Question2 = IdToQuestion (FormSet, Form, OpCode->QuestionId2); in EvaluateExpression()
2630 Question = IdToQuestion (FormSet, Form, OpCode->QuestionId); in EvaluateExpression()
2637 for (Index =0; Index < OpCode->ListLength; Index++) { in EvaluateExpression()
2638 if (Question->HiiValue.Value.u16 == OpCode->ValueList[Index]) { in EvaluateExpression()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiProto.h96 #define ISCSI_SET_OPCODE(PduHdr, Op, Flgs) ((((ISCSI_BASIC_HEADER *) (PduHdr))->OpCode) = ((Op) | …
97 #define ISCSI_GET_OPCODE(PduHdr) ((((ISCSI_BASIC_HEADER *) (PduHdr))->OpCode) & ISCSI_OP…
98 #define ISCSI_CHECK_OPCODE(PduHdr, Op) ((((PduHdr)->OpCode) & ISCSI_OPCODE_MASK) == (Op))
99 #define ISCSI_IMMEDIATE_ON(PduHdr) ((PduHdr)->OpCode & ISCSI_REQ_IMMEDIATE)
247 UINT8 OpCode; member
274 UINT8 OpCode; member
291 UINT8 OpCode; member
317 UINT8 OpCode; member
336 UINT8 OpCode; member
355 UINT8 OpCode; member
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DMtftp4.h66 UINT16 OpCode; member
71 UINT16 OpCode; member
76 UINT16 OpCode; member
82 UINT16 OpCode; member
87 UINT16 OpCode; member
93 UINT16 OpCode; member
98 UINT16 OpCode; member
107 UINT16 OpCode; member
DMtftp6.h104 UINT16 OpCode; member
118 UINT16 OpCode; member
132 UINT16 OpCode; member
150 UINT16 OpCode; member
164 UINT16 OpCode; member
182 UINT16 OpCode; member
196 UINT16 OpCode; member
211 UINT16 OpCode; ///< Type of packets as defined by the MTFTPv6 packet opcodes. member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Mtftp4/
DMtftp4.h73 UINT16 OpCode; member
78 UINT16 OpCode; member
83 UINT16 OpCode; member
89 UINT16 OpCode; member
94 UINT16 OpCode; member
100 UINT16 OpCode; member
105 UINT16 OpCode; member
111 UINT16 OpCode; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/
DIfrOpCodeCreation.c53 Subtitle.Header.OpCode = EFI_IFR_SUBTITLE_OP; in CreateSubTitleOpCode()
102 Text.Header.OpCode = EFI_IFR_TEXT_OP; in CreateTextOpCode()
157 Hyperlink.Header.OpCode = EFI_IFR_REF_OP; in CreateGotoOpCode()
230 OneOf.Header.OpCode = EFI_IFR_ONE_OF_OP; in CreateOneOfOpCode()
245 OneOfOption.Header.OpCode = EFI_IFR_ONE_OF_OPTION_OP; in CreateOneOfOpCode()
259 EndOneOf.Header.OpCode = EFI_IFR_END_ONE_OF_OP; in CreateOneOfOpCode()
318 OrderedList.Header.OpCode = EFI_IFR_ORDERED_LIST_OP; in CreateOrderedListOpCode()
333 OrderedListOption.Header.OpCode = EFI_IFR_ONE_OF_OPTION_OP; in CreateOrderedListOpCode()
347 EndOrderedList.Header.OpCode = EFI_IFR_END_ONE_OF_OP; in CreateOrderedListOpCode()
408 CheckBox.Header.OpCode = EFI_IFR_CHECKBOX_OP; in CreateCheckBoxOpCode()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Smm/SmmScriptLib/
DSmmScriptLib.c308 IN UINT16 OpCode, in SmmBootScriptWrite() argument
322 switch (OpCode) { in SmmBootScriptWrite()
325 VA_START (Marker, OpCode); in SmmBootScriptWrite()
331 VA_START (Marker, OpCode); in SmmBootScriptWrite()
337 VA_START (Marker, OpCode); in SmmBootScriptWrite()
343 VA_START (Marker, OpCode); in SmmBootScriptWrite()
349 VA_START (Marker, OpCode); in SmmBootScriptWrite()
355 VA_START (Marker, OpCode); in SmmBootScriptWrite()
362 VA_START (Marker, OpCode); in SmmBootScriptWrite()
368 VA_START (Marker, OpCode); in SmmBootScriptWrite()

1234567