uboot/include/xen/hvm.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0
   2 *
   3 * Simple wrappers around HVM functions
   4 *
   5 * Copyright (c) 2002-2003, K A Fraser
   6 * Copyright (c) 2005, Grzegorz Milos, gm281@cam.ac.uk,Intel Research Cambridge
   7 * Copyright (c) 2020, EPAM Systems Inc.
   8 */
   9#ifndef XEN_HVM_H__
  10#define XEN_HVM_H__
  11
  12#include <asm/xen/hypercall.h>
  13#include <xen/interface/hvm/params.h>
  14#include <xen/interface/xen.h>
  15
  16extern struct shared_info *HYPERVISOR_shared_info;
  17
  18int hvm_get_parameter(int idx, uint64_t *value);
  19int hvm_get_parameter_maintain_dcache(int idx, uint64_t *value);
  20
  21struct shared_info *map_shared_info(void *p);
  22void do_hypervisor_callback(struct pt_regs *regs);
  23void mask_evtchn(uint32_t port);
  24void unmask_evtchn(uint32_t port);
  25void clear_evtchn(uint32_t port);
  26
  27#endif /* XEN_HVM_H__ */
  28