EFI IFR LESS EQUAL

From PhoenixWiki

Jump to: navigation, search

Push TRUE if one expression is less than or equal to another.

Prototype

#define EFI_IFR_LESS_EQUAL_OP 0x34
typedef struct _EFI_IFR_LESS_EQUAL {
  EFI_IFR_OP_HEADER Header;
} EFI_IFR_LESS_EQUAL;

Members

Member Description
Header Standard opcode header, where OpCode is EFI_IFR_LESS_EQUAL_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 less than or equal to the right-hand expression, push TRUE. Otherwise push FALSE.


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

Personal tools