iPXE
Macros | Functions
efi_mp.h File Reference

EFI multiprocessor API implementation. More...

Go to the source code of this file.

Macros

#define MPAPI_PREFIX_efi   __efi_
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static __attribute__ ((always_inline)) mp_addr_t MPAPI_INLINE(efi
 Calculate address as seen by a multiprocessor function. More...
 
static mp_address (void *address)
 Calculate address as seen by a multiprocessor function. More...
 

Detailed Description

EFI multiprocessor API implementation.

Definition in file efi_mp.h.

Macro Definition Documentation

◆ MPAPI_PREFIX_efi

#define MPAPI_PREFIX_efi   __efi_

Definition at line 15 of file efi_mp.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

static __attribute__ ( (always_inline)  )
inlinestatic

Calculate address as seen by a multiprocessor function.

Parameters
addressAddress in boot processor address space
Return values
addressAddress in application processor address space

◆ mp_address()

static mp_address ( void *  address)

Calculate address as seen by a multiprocessor function.

Parameters
addressAddress in normal iPXE address space
Return values
addressAddress in application processor address space

Definition at line 25 of file efi_mp.h.

25  {
26 
27  return ( ( mp_addr_t ) address );
28 }
uint64_t address
Base address.
Definition: ena.h:24
unsigned long mp_addr_t
An address within the address space for a multiprocessor function.
Definition: mp.h:24

References address.