EFI IFR CATENATE

From PhoenixWiki

Jump to: navigation, search

Concatenate two strings or buffers.

Prototype

#define EFI_IFR_CATENATE_OP 0x5e
typedef struct _EFI_IFR_CATENATE {
  EFI_IFR_OP_HEADER Header;
} EFI_IFR_CATENATE;

Members

Member
Header Standard opcode header, where OpCode is EFI_IFR_CATENATE_OP.

Description

Pop two expressions from the expression stack. The first expression popped is the second expression and the second expression popped is the first expression.

If the first or second expression cannot be evaluated as a string or a buffer, push Undefined. If the first or second expressions are of different types, the push Undefined.

If the first and second expressions are strings, push a new string which contains the contents of the first string (without the NULL terminator) followed by the contents of the second string on to the expression stack.

If the first and second expressions are buffers, push a new buffer which contains the contents of the first buffer followed by the contents of the second buffer on to the expression stack.


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

Personal tools