iPXE
Data Structures | Macros | Typedefs | Functions
memory.h File Reference
#include "xen.h"

Go to the source code of this file.

Data Structures

struct  xen_memory_reservation
 
struct  xen_memory_exchange
 
struct  xen_machphys_mfn_list
 
struct  xen_machphys_mapping
 
struct  xen_add_to_physmap
 
struct  xen_add_to_physmap_batch
 
struct  xen_remove_from_physmap
 
struct  xen_memory_map
 
struct  xen_foreign_memory_map
 
struct  xen_pod_target
 

Macros

#define XENMEM_increase_reservation   0
 
#define XENMEM_decrease_reservation   1
 
#define XENMEM_populate_physmap   6
 
#define XENMEM_exchange   11
 
#define XENMEM_maximum_ram_page   2
 
#define XENMEM_current_reservation   3
 
#define XENMEM_maximum_reservation   4
 
#define XENMEM_maximum_gpfn   14
 
#define XENMEM_machphys_mfn_list   5
 
#define XENMEM_machphys_compat_mfn_list   25
 
#define XENMEM_machphys_mapping   12
 
#define XENMAPSPACE_shared_info   0 /* shared info page */
 
#define XENMAPSPACE_grant_table   1 /* grant table page */
 
#define XENMAPSPACE_gmfn   2 /* GMFN */
 
#define XENMAPSPACE_gmfn_range   3 /* GMFN range, XENMEM_add_to_physmap only. */
 
#define XENMAPSPACE_gmfn_foreign
 
#define XENMEM_add_to_physmap   7
 
#define XENMAPIDX_grant_table_status   0x80000000
 
#define XENMEM_add_to_physmap_batch   23
 
#define XENMEM_add_to_physmap_range   XENMEM_add_to_physmap_batch
 
#define xen_add_to_physmap_range   xen_add_to_physmap_batch
 
#define XENMEM_remove_from_physmap   15
 
#define XENMEM_memory_map   9
 
#define XENMEM_machine_memory_map   10
 
#define XENMEM_set_memory_map   13
 
#define XENMEM_set_pod_target   16
 
#define XENMEM_get_pod_target   17
 

Typedefs

typedef struct xen_memory_reservation xen_memory_reservation_t
 
typedef struct xen_memory_exchange xen_memory_exchange_t
 
typedef struct xen_machphys_mfn_list xen_machphys_mfn_list_t
 
typedef struct xen_machphys_mapping xen_machphys_mapping_t
 
typedef struct xen_add_to_physmap xen_add_to_physmap_t
 
typedef struct xen_add_to_physmap_batch xen_add_to_physmap_batch_t
 
typedef struct xen_add_to_physmap_batch xen_add_to_physmap_range_t
 
typedef struct xen_remove_from_physmap xen_remove_from_physmap_t
 
typedef struct xen_memory_map xen_memory_map_t
 
typedef struct xen_foreign_memory_map xen_foreign_memory_map_t
 
typedef struct xen_pod_target xen_pod_target_t
 

Functions

 FILE_LICENCE (MIT)
 
 DEFINE_XEN_GUEST_HANDLE (xen_memory_reservation_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_memory_exchange_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_machphys_mfn_list_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_machphys_mapping_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_add_to_physmap_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_add_to_physmap_batch_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_remove_from_physmap_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_memory_map_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_foreign_memory_map_t)
 

Macro Definition Documentation

◆ XENMEM_increase_reservation

#define XENMEM_increase_reservation   0

Definition at line 39 of file memory.h.

◆ XENMEM_decrease_reservation

#define XENMEM_decrease_reservation   1

Definition at line 40 of file memory.h.

◆ XENMEM_populate_physmap

#define XENMEM_populate_physmap   6

Definition at line 41 of file memory.h.

◆ XENMEM_exchange

#define XENMEM_exchange   11

Definition at line 105 of file memory.h.

◆ XENMEM_maximum_ram_page

#define XENMEM_maximum_ram_page   2

Definition at line 146 of file memory.h.

◆ XENMEM_current_reservation

#define XENMEM_current_reservation   3

Definition at line 153 of file memory.h.

◆ XENMEM_maximum_reservation

#define XENMEM_maximum_reservation   4

Definition at line 154 of file memory.h.

◆ XENMEM_maximum_gpfn

#define XENMEM_maximum_gpfn   14

Definition at line 159 of file memory.h.

◆ XENMEM_machphys_mfn_list

#define XENMEM_machphys_mfn_list   5

Definition at line 167 of file memory.h.

◆ XENMEM_machphys_compat_mfn_list

#define XENMEM_machphys_compat_mfn_list   25

Definition at line 198 of file memory.h.

◆ XENMEM_machphys_mapping

#define XENMEM_machphys_mapping   12

Definition at line 206 of file memory.h.

◆ XENMAPSPACE_shared_info

#define XENMAPSPACE_shared_info   0 /* shared info page */

Definition at line 216 of file memory.h.

◆ XENMAPSPACE_grant_table

#define XENMAPSPACE_grant_table   1 /* grant table page */

Definition at line 217 of file memory.h.

◆ XENMAPSPACE_gmfn

#define XENMAPSPACE_gmfn   2 /* GMFN */

Definition at line 218 of file memory.h.

◆ XENMAPSPACE_gmfn_range

#define XENMAPSPACE_gmfn_range   3 /* GMFN range, XENMEM_add_to_physmap only. */

Definition at line 219 of file memory.h.

◆ XENMAPSPACE_gmfn_foreign

#define XENMAPSPACE_gmfn_foreign
Value:
4 /* GMFN from another dom,
* XENMEM_add_to_physmap_batch only. */

Definition at line 220 of file memory.h.

◆ XENMEM_add_to_physmap

#define XENMEM_add_to_physmap   7

Definition at line 229 of file memory.h.

◆ XENMAPIDX_grant_table_status

#define XENMAPIDX_grant_table_status   0x80000000

Definition at line 239 of file memory.h.

◆ XENMEM_add_to_physmap_batch

#define XENMEM_add_to_physmap_batch   23

Definition at line 251 of file memory.h.

◆ XENMEM_add_to_physmap_range

#define XENMEM_add_to_physmap_range   XENMEM_add_to_physmap_batch

Definition at line 277 of file memory.h.

◆ xen_add_to_physmap_range

#define xen_add_to_physmap_range   xen_add_to_physmap_batch

Definition at line 278 of file memory.h.

◆ XENMEM_remove_from_physmap

#define XENMEM_remove_from_physmap   15

Definition at line 288 of file memory.h.

◆ XENMEM_memory_map

#define XENMEM_memory_map   9

Definition at line 307 of file memory.h.

◆ XENMEM_machine_memory_map

#define XENMEM_machine_memory_map   10

Definition at line 330 of file memory.h.

◆ XENMEM_set_memory_map

#define XENMEM_set_memory_map   13

Definition at line 337 of file memory.h.

◆ XENMEM_set_pod_target

#define XENMEM_set_pod_target   16

Definition at line 345 of file memory.h.

◆ XENMEM_get_pod_target

#define XENMEM_get_pod_target   17

Definition at line 346 of file memory.h.

Typedef Documentation

◆ xen_memory_reservation_t

Definition at line 95 of file memory.h.

◆ xen_memory_exchange_t

Definition at line 138 of file memory.h.

◆ xen_machphys_mfn_list_t

Definition at line 188 of file memory.h.

◆ xen_machphys_mapping_t

Definition at line 211 of file memory.h.

◆ xen_add_to_physmap_t

Definition at line 247 of file memory.h.

◆ xen_add_to_physmap_batch_t

Definition at line 273 of file memory.h.

◆ xen_add_to_physmap_range_t

Definition at line 279 of file memory.h.

◆ xen_remove_from_physmap_t

Definition at line 296 of file memory.h.

◆ xen_memory_map_t

Definition at line 322 of file memory.h.

◆ xen_foreign_memory_map_t

Definition at line 342 of file memory.h.

◆ xen_pod_target_t

Definition at line 357 of file memory.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( MIT  )

◆ DEFINE_XEN_GUEST_HANDLE() [1/9]

DEFINE_XEN_GUEST_HANDLE ( xen_memory_reservation_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [2/9]

DEFINE_XEN_GUEST_HANDLE ( xen_memory_exchange_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [3/9]

DEFINE_XEN_GUEST_HANDLE ( xen_machphys_mfn_list_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [4/9]

DEFINE_XEN_GUEST_HANDLE ( xen_machphys_mapping_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [5/9]

DEFINE_XEN_GUEST_HANDLE ( xen_add_to_physmap_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [6/9]

DEFINE_XEN_GUEST_HANDLE ( xen_add_to_physmap_batch_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [7/9]

DEFINE_XEN_GUEST_HANDLE ( xen_remove_from_physmap_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [8/9]

DEFINE_XEN_GUEST_HANDLE ( xen_memory_map_t  )

◆ DEFINE_XEN_GUEST_HANDLE() [9/9]

DEFINE_XEN_GUEST_HANDLE ( xen_foreign_memory_map_t  )