uefi.x64.bind

Based on X64/ProcessorBind.h file, original notice:

Processor or Compiler specific defines and types x64 (Intel 64, AMD64).

Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Members

Aliases

BOOLEAN
alias BOOLEAN = ubyte

Logical Boolean. 1-byte value containing 0 for FALSE or a 1 for TRUE. Other values are undefined.

CHAR16
alias CHAR16 = wchar

2-byte Character. Unless otherwise specified all strings are stored in the UTF-16 encoding format as defined by Unicode 2.1 and ISO/IEC 10646 standards.

CHAR8
alias CHAR8 = char

1-byte character

INT16
alias INT16 = short

2-byte signed value

INT32
alias INT32 = int

4-byte signed value

INT64
alias INT64 = long

8-byte signed value

INT8
alias INT8 = byte

1-byte signed value

INTN
alias INTN = INT64

Signed value of native width. (4 bytes on supported 32-bit processor instructions, 8 bytes on supported 64-bit processor instructions)

UINT16
alias UINT16 = ushort

2-byte unsigned value

UINT32
alias UINT32 = uint

4-byte unsigned value

UINT64
alias UINT64 = ulong

8-byte unsigned value

UINT8
alias UINT8 = ubyte

1-byte unsigned value

UINTN
alias UINTN = UINT64

Unsigned value of native width. (4 bytes on supported 32-bit processor instructions, 8 bytes on supported 64-bit processor instructions)

VOID
alias VOID = void

void

Functions

FUNCTION_ENTRY_POINT
void* FUNCTION_ENTRY_POINT(T fptr)

Return the pointer to the first instruction of a function given a function pointer. On x64 CPU architectures, these two pointer values are the same, so the implementation of this macro is very simple.

Manifest constants

CPU_STACK_ALIGNMENT
enum CPU_STACK_ALIGNMENT;

The stack alignment required for x64

MAX_2_BITS
enum MAX_2_BITS;

A value of native width with the two highest bits set.

MAX_ADDRESS
enum MAX_ADDRESS;

Maximum legal x64 address

MAX_BIT
enum MAX_BIT;

A value of native width with the highest bit set.

MAX_INTN
enum MAX_INTN;
MAX_UINTN
enum MAX_UINTN;

Maximum legal x64 INTN and UINTN values.

Meta