iPXE
bios_mp.h File Reference

BIOS multiprocessor API implementation. More...

#include <ipxe/io.h>

Go to the source code of this file.

Macros

#define MPAPI_PREFIX_pcbios   __pcbios_

Functions

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

Detailed Description

BIOS multiprocessor API implementation.

Definition in file bios_mp.h.

Macro Definition Documentation

◆ MPAPI_PREFIX_pcbios

#define MPAPI_PREFIX_pcbios   __pcbios_

Definition at line 17 of file bios_mp.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ __attribute__()

__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()

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 27 of file bios_mp.h.

27 {
28
29 return virt_to_phys ( address );
30}
uint64_t address
Base address.
Definition ena.h:13

References address, and mp_address().

Referenced by bios_mp_exec_boot(), bios_mp_start_all(), efi_mp_exec_boot(), efi_mp_start_all(), mp_address(), PROVIDE_MPAPI_INLINE(), PROVIDE_MPAPI_INLINE(), and PROVIDE_MPAPI_INLINE().