EFI IFR OP HEADER

From PhoenixWiki

Jump to: navigation, search

Standard opcode header

Prototype

typedef struct _EFI_IFR_OP_HEADER {
  UINT8 OpCode;
  UINT8 Length:7;
  UINT8 Scope:1;
} EFI_IFR_OP_HEADER;

Members

Member Description
OpCode Defines which type of operation is being described by this header. See IFR for a list of IFR opcodes.
Length Defines the number of bytes in the opcode, including this header.
Scope If this bit is set, the opcode begins a new scope, which is ended by an EFI_IFR_END opcode.

Description

Forms are represented in a binary format roughly similar to processor instructions. Each header contains an opcode, a length and a scope indicator.

If Scope indicator is set, the scope exists until it reaches a corresponding EFI_IFR_END opcode. Scopes may be nested within other scopes.


Copyright (C) 2009 Phoenix Technologies Ltd. All Rights Reserved. Portions (C) 2007-2008 UEFI Forum, Inc. Used with permission.

Personal tools