mirror of https://github.com/acidanthera/audk.git
Ovmf/Xen: move Xen interface version to <xen.h>
Tiancore has its private copy of the Xen headers, and all drivers that depend on it should use the same Xen interface version, so let's move the #define to xen.h itself. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16967 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9b89163eea
commit
0ac10d1d8e
|
@ -27,6 +27,11 @@
|
||||||
#ifndef __XEN_PUBLIC_XEN_H__
|
#ifndef __XEN_PUBLIC_XEN_H__
|
||||||
#define __XEN_PUBLIC_XEN_H__
|
#define __XEN_PUBLIC_XEN_H__
|
||||||
|
|
||||||
|
//
|
||||||
|
// Xen interface version used by Tianocore
|
||||||
|
//
|
||||||
|
#define __XEN_INTERFACE_VERSION__ 0x00040400
|
||||||
|
|
||||||
#include "xen-compat.h"
|
#include "xen-compat.h"
|
||||||
|
|
||||||
#if defined(MDE_CPU_IA32) || defined(MDE_CPU_X64)
|
#if defined(MDE_CPU_IA32) || defined(MDE_CPU_X64)
|
||||||
|
|
|
@ -18,11 +18,6 @@
|
||||||
|
|
||||||
#include <Uefi.h>
|
#include <Uefi.h>
|
||||||
|
|
||||||
//
|
|
||||||
// Xen interface version used
|
|
||||||
//
|
|
||||||
#define __XEN_INTERFACE_VERSION__ 0x00040400
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Libraries
|
// Libraries
|
||||||
//
|
//
|
||||||
|
|
|
@ -18,10 +18,6 @@
|
||||||
|
|
||||||
#include <Uefi.h>
|
#include <Uefi.h>
|
||||||
|
|
||||||
//
|
|
||||||
// Xen interface version used
|
|
||||||
//
|
|
||||||
#define __XEN_INTERFACE_VERSION__ 0x00040400
|
|
||||||
#define xen_mb() MemoryFence()
|
#define xen_mb() MemoryFence()
|
||||||
#define xen_rmb() MemoryFence()
|
#define xen_rmb() MemoryFence()
|
||||||
#define xen_wmb() MemoryFence()
|
#define xen_wmb() MemoryFence()
|
||||||
|
|
Loading…
Reference in New Issue