EFI IFR GREATER THAN

From PhoenixWiki

Jump to: navigation, search

Push TRUE if one expression is greater than another.

Prototype

#define EFI_IFR_GREATER_THAN_OP 0x31
typedef struct _EFI_IFR_GREATER_THAN {
  EFI_IFR_OP_HEADER Header;
} EFI_IFR_GREATER_THAN;

Members

Member Description
Header Standard opcode header, where OpCode is EFI_IFR_GREATER_THAN_OP

Description

Pop two expressions from the expression stack. The first expression popped is the right-hand expression and the second expression popped is the left-hand expression.

If the two expressions do not evaluate to string, boolean or unsigned integer, push Undefined. If the two expressions do not evaluate to the same type, push Undefined. Strings are compared lexicographically.

If the left-hand expression is greater than the right-hand expression, push TRUE. Otherwise push FALSE.


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

Personal tools