iPXE
Macros | Functions
null_mp.h File Reference

Null multiprocessor API implementation. More...

Go to the source code of this file.

Macros

#define MPAPI_PREFIX_null   __null_
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static __attribute__ ((always_inline)) mp_addr_t MPAPI_INLINE(null
 
static mp_address (void *address)
 Calculate address as seen by a multiprocessor function. More...
 
static mp_exec_boot (mp_func_t func __unused, void *opaque __unused)
 
static mp_start_all (mp_func_t func __unused, void *opaque __unused)
 

Detailed Description

Null multiprocessor API implementation.

Definition in file null_mp.h.

Macro Definition Documentation

◆ MPAPI_PREFIX_null

#define MPAPI_PREFIX_null   __null_

Definition at line 15 of file null_mp.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

static __attribute__ ( (always_inline)  )
inlinestatic

◆ 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 19 of file null_mp.h.

19  {
20 
21  return ( ( mp_addr_t ) address );
22 }
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, and virt_to_phys().

◆ mp_exec_boot()

static mp_exec_boot ( mp_func_t func  __unused,
void *opaque  __unused 
)

Definition at line 25 of file null_mp.h.

26  {
27  /* Do nothing */
28 }

◆ mp_start_all()

static mp_start_all ( mp_func_t func  __unused,
void *opaque  __unused 
)

Definition at line 31 of file null_mp.h.

32  {
33  /* Do nothing */
34 }