EFI IFR CONDITIONAL

From PhoenixWiki

Jump to: navigation, search

Push one of two expressions, depending on a Boolean.

Prototype

#define EFI_IFR_CONDITIONAL_OP 0x50
typedef struct _EFI_IFR_CONDITIONAL {
  EFI_IFR_OP_HEADER Header;
} EFI_IFR_CONDITIONAL;

Members

Member Description
Header Standard opcode header, where OpCode is EFI_IFR_CONDITIONAL_OP.

Description

Pop three expressions from the expression stack. The first expression popped is the third expression and the second expression popped is the second expression and the last expression popped is the first expression.

If the first expression cannot be evaluated as a boolean, push Undefined.

If the first expression evaluates to TRUE, push the third expression. Otherwise, push the second expression.


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

Personal tools