EFI IFR ADD

From PhoenixWiki

Jump to: navigation, search

Add two unsigned integers and push the result.

Prototype

#define EFI_IFR_ADD_OP 0x3a
typedef struct _EFI_IFR_ADD {
  EFI_IFR_OP_HEADER Header;
} EFI_IFR_ADD;

Members

Header Standard opcode header, where Header.OpCode = EFI_IFR_ADD_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 unsigned integers, push Undefined.

Zero-extend the expressions. Then, add the left-hand expression to right-hand expression and push the lower 64-bits of the result.


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

Personal tools