| * Copyright (c) 2021 EPAM Systems |
| * SPDX-License-Identifier: Apache-2.0 |
| #include <zephyr/arch/arm64/hypercall.h> |
| #include <zephyr/xen/hvm.h> |
| #include <zephyr/xen/public/hvm/hvm_op.h> |
| #include <zephyr/xen/public/hvm/params.h> |
| #include <zephyr/kernel.h> |
| int hvm_set_parameter(int idx, int domid, uint64_t value) |
| struct xen_hvm_param xhv; |
| return HYPERVISOR_hvm_op(HVMOP_set_param, &xhv); |
| int hvm_get_parameter(int idx, int domid, uint64_t *value) |
| struct xen_hvm_param xhv; |
| ret = HYPERVISOR_hvm_op(HVMOP_get_param, &xhv); |