Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
memory.h File Reference
#include "xen.h"

Go to the source code of this file.

Data Structures

struct  xen_memory_reservation
 
struct  xen_add_to_physmap_batch
 
struct  xen_add_to_physmap
 
struct  xen_remove_from_physmap
 

Macros

#define XENMEM_populate_physmap   6
 
#define XENMEM_add_to_physmap_batch   23
 
#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
 
#define XENMAPSPACE_gmfn_foreign   4
 
#define XENMAPSPACE_dev_mmio   5
 
#define XENMEM_add_to_physmap   7
 
#define XENMAPIDX_grant_table_status   0x80000000
 
#define XENMEM_remove_from_physmap   15
 

Typedefs

typedef struct xen_memory_reservation xen_memory_reservation_t
 
typedef struct xen_add_to_physmap_batch xen_add_to_physmap_batch_t
 
typedef struct xen_add_to_physmap xen_add_to_physmap_t
 
typedef struct xen_remove_from_physmap xen_remove_from_physmap_t
 

Functions

 DEFINE_XEN_GUEST_HANDLE (xen_memory_reservation_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_add_to_physmap_batch_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_add_to_physmap_t)
 
 DEFINE_XEN_GUEST_HANDLE (xen_remove_from_physmap_t)
 

Macro Definition Documentation

◆ XENMAPIDX_grant_table_status

#define XENMAPIDX_grant_table_status   0x80000000

◆ XENMAPSPACE_dev_mmio

#define XENMAPSPACE_dev_mmio   5

◆ XENMAPSPACE_gmfn

#define XENMAPSPACE_gmfn   2 /* GMFN */

◆ XENMAPSPACE_gmfn_foreign

#define XENMAPSPACE_gmfn_foreign   4

◆ XENMAPSPACE_gmfn_range

#define XENMAPSPACE_gmfn_range   3

◆ XENMAPSPACE_grant_table

#define XENMAPSPACE_grant_table   1 /* grant table page */

◆ XENMAPSPACE_shared_info

#define XENMAPSPACE_shared_info   0 /* shared info page */

◆ XENMEM_add_to_physmap

#define XENMEM_add_to_physmap   7

◆ XENMEM_add_to_physmap_batch

#define XENMEM_add_to_physmap_batch   23

◆ XENMEM_populate_physmap

#define XENMEM_populate_physmap   6

◆ XENMEM_remove_from_physmap

#define XENMEM_remove_from_physmap   15

Typedef Documentation

◆ xen_add_to_physmap_batch_t

◆ xen_add_to_physmap_t

◆ xen_memory_reservation_t

◆ xen_remove_from_physmap_t

Function Documentation

◆ DEFINE_XEN_GUEST_HANDLE() [1/4]

DEFINE_XEN_GUEST_HANDLE ( xen_add_to_physmap_batch_t )

◆ DEFINE_XEN_GUEST_HANDLE() [2/4]

DEFINE_XEN_GUEST_HANDLE ( xen_add_to_physmap_t )

◆ DEFINE_XEN_GUEST_HANDLE() [3/4]

DEFINE_XEN_GUEST_HANDLE ( xen_memory_reservation_t )

◆ DEFINE_XEN_GUEST_HANDLE() [4/4]

DEFINE_XEN_GUEST_HANDLE ( xen_remove_from_physmap_t )