EFI IFR LENGTH

From PhoenixWiki

Jump to: navigation, search

Push the length of a buffer or string.

Prototype

#define EFI_IFR_LENGTH_OP 0x56
typedef struct _EFI_IFR_LENGTH {
  EFI_IFR_OP_HEADER Header;
} EFI_IFR_LENGTH;

Members

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

Description

Pop an expression from the expression stack. If the expression cannot be evaluated as a buffer or string, then push Undefined.

If the expression can be evaluated as a buffer, push the length of the buffer, in bytes.

If the expression can be evaluated as a string, push the length of the string, in characters.


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

Personal tools