EFI IFR SHIFT LEFT

From PhoenixWiki

Jump to: navigation, search

Shift left an unsigned integer and push the result.

Prototype

#define EFI_IFR_SHIFT_LEFT_OP 0x38
typedef struct _EFI_IFR_SHIFT_LEFT {
  EFI_IFR_OP_HEADER Header;
} EFI_IFR_SHIFT_LEFT;

Members

Member Description
Header Standard opcode header, where OpCode is EFI_IFR_SHIFT_LEFT_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.

Shift the left-hand expression left by the number of bits specified by the right-hand expression and push the result.


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

Personal tools