Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
memory.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: Apache-2.0 */
2/*
3 * Copyright (c) 2023 EPAM Systems
4 */
5
6#include <zephyr/kernel.h>
9
20int xendom_add_to_physmap(int domid, unsigned long idx, unsigned int space,
21 xen_pfn_t gpfn);
22
37int xendom_add_to_physmap_batch(int domid, int foreign_domid,
38 unsigned int space, unsigned int size,
39 xen_ulong_t *idxs, xen_pfn_t *gpfns, int *errs);
40
50
64int xendom_populate_physmap(int domid, unsigned int extent_order,
65 unsigned int nr_extents, unsigned int mem_flags,
66 xen_pfn_t *extent_start);
uint64_t xen_pfn_t
Definition arch-arm.h:204
uint64_t xen_ulong_t
Definition arch-arm.h:214
Public kernel APIs.
int xendom_populate_physmap(int domid, unsigned int extent_order, unsigned int nr_extents, unsigned int mem_flags, xen_pfn_t *extent_start)
Populate specified Xen domain page frames with memory.
int xendom_add_to_physmap(int domid, unsigned long idx, unsigned int space, xen_pfn_t gpfn)
Add mapping for specified page frame in Xen domain physmap.
int xendom_add_to_physmap_batch(int domid, int foreign_domid, unsigned int space, unsigned int size, xen_ulong_t *idxs, xen_pfn_t *gpfns, int *errs)
Add mapping for specified set of page frames to Xen domain physmap.
int xendom_remove_from_physmap(int domid, xen_pfn_t gpfn)
Removes page frame from Xen domain physmap.