]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[xen] Allow for platforms that have no Xen support
authorMichael Brown <mcb30@ipxe.org>
Sun, 5 Feb 2023 22:02:05 +0000 (22:02 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sun, 5 Feb 2023 22:21:36 +0000 (22:21 +0000)
commita2bed43939b40ec843fd99bc9fd0d0e58124e082
tree90fd251383b5265592cd2df3d25044150072c024
parent7cc305f7b4fb3508e64afa8c4c54bee1fff1f405
[xen] Allow for platforms that have no Xen support

The Xen headers support only x86 and ARM.  Allow for platforms such as
LoongArch64 to build despite the absence of Xen support by providing
an architecture-specific <bits/xen.h> that simply does:

  #ifndef _BITS_XEN_H
  #define _BITS_XEN_H
  #include <ipxe/nonxen.h>
  #endif /* _BITS_XEN_H */

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/nonxen.h [new file with mode: 0644]
src/include/xen/import.pl
src/include/xen/xen.h