iPXE
Data Structures | Defines | 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

Defines

#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)

Define Documentation

Definition at line 39 of file memory.h.

Definition at line 40 of file memory.h.

#define XENMEM_populate_physmap   6

Definition at line 41 of file memory.h.

#define XENMEM_exchange   11

Definition at line 105 of file memory.h.

#define XENMEM_maximum_ram_page   2

Definition at line 146 of file memory.h.

Definition at line 153 of file memory.h.

Definition at line 154 of file memory.h.

#define XENMEM_maximum_gpfn   14

Definition at line 159 of file memory.h.

#define XENMEM_machphys_mfn_list   5

Definition at line 167 of file memory.h.

Definition at line 198 of file memory.h.

#define XENMEM_machphys_mapping   12

Definition at line 206 of file memory.h.

#define XENMAPSPACE_shared_info   0 /* shared info page */

Definition at line 216 of file memory.h.

Referenced by hvm_map_shared_info().

#define XENMAPSPACE_grant_table   1 /* grant table page */

Definition at line 217 of file memory.h.

Referenced by hvm_map_grant().

#define XENMAPSPACE_gmfn   2 /* GMFN */

Definition at line 218 of file memory.h.

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

Definition at line 219 of file memory.h.

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

Definition at line 220 of file memory.h.

#define XENMEM_add_to_physmap   7

Definition at line 228 of file memory.h.

#define XENMAPIDX_grant_table_status   0x80000000

Definition at line 238 of file memory.h.

#define XENMEM_add_to_physmap_batch   23

Definition at line 250 of file memory.h.

Definition at line 276 of file memory.h.

Definition at line 277 of file memory.h.

#define XENMEM_remove_from_physmap   15

Definition at line 287 of file memory.h.

#define XENMEM_memory_map   9

Definition at line 306 of file memory.h.

#define XENMEM_machine_memory_map   10

Definition at line 329 of file memory.h.

#define XENMEM_set_memory_map   13

Definition at line 336 of file memory.h.

#define XENMEM_set_pod_target   16

Definition at line 344 of file memory.h.

#define XENMEM_get_pod_target   17

Definition at line 345 of file memory.h.


Typedef Documentation

Definition at line 95 of file memory.h.

Definition at line 138 of file memory.h.

Definition at line 188 of file memory.h.

Definition at line 211 of file memory.h.

Definition at line 246 of file memory.h.

Definition at line 272 of file memory.h.

Definition at line 278 of file memory.h.

Definition at line 295 of file memory.h.

Definition at line 321 of file memory.h.

Definition at line 341 of file memory.h.

Definition at line 356 of file memory.h.


Function Documentation

FILE_LICENCE ( MIT  )