iPXE
xenmem.h File Reference

Xen memory operations. More...

#include <ipxe/xen.h>
#include <xen/memory.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
static __attribute__ ((always_inline)) int xenmem_add_to_physmap(struct xen_hypervisor *xen
 Add page to physical address space.

Variables

static struct xen_add_to_physmapadd
static struct xen_remove_from_physmapremove

Detailed Description

Xen memory operations.

Definition in file xenmem.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ __attribute__()

__attribute__ ( (always_inline) )
inlinestatic

Add page to physical address space.

Remove page from physical address space.

Parameters
xenXen hypervisor
addPage mapping descriptor
Return values
xenrcXen status code
Parameters
xenXen hypervisor
removePage mapping descriptor
Return values
xenrcXen status code

Variable Documentation

◆ add

struct xen_add_to_physmap* add
Initial value:
{
return xen_hypercall_2 ( xen, __HYPERVISOR_memory_op,
XENMEM_add_to_physmap, virt_to_phys ( add ) )
#define __HYPERVISOR_memory_op
Definition xen.h:93
#define XENMEM_add_to_physmap
Definition memory.h:225
static struct xen_add_to_physmap * add
Definition xenmem.h:25

Definition at line 25 of file xenmem.h.

Referenced by hvm_ioremap().

◆ remove

struct xen_remove_from_physmap* remove
Initial value:
{
return xen_hypercall_2 ( xen, __HYPERVISOR_memory_op,
virt_to_phys ( remove ) )
#define XENMEM_remove_from_physmap
Definition memory.h:292
static struct xen_remove_from_physmap * remove
Definition xenmem.h:40

Definition at line 40 of file xenmem.h.

Referenced by hvm_ioremap(), hvm_iounmap(), and tcp_process_tx_queue().