vki-xen-version.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. This file is part of Valgrind, a dynamic binary instrumentation
  3. framework.
  4. Copyright (C) 2012-2017 Citrix
  5. This program is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the
  8. License, or (at your option) any later version.
  9. This program is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  16. 02111-1307, USA.
  17. The GNU General Public License is contained in the file COPYING.
  18. */
  19. /* Contributed by Andrew Cooper <andrew.cooper3@citrix.com>
  20. and Ian Campbell <ian.campbell@citrix.com> */
  21. #ifndef __VKI_XEN_VERSION_H
  22. #define __VKI_XEN_VERSION_H
  23. #define VKI_XENVER_version 0
  24. #define VKI_XENVER_extraversion 1
  25. #define VKI_XENVER_compile_info 2
  26. #define VKI_XENVER_capabilities 3
  27. #define VKI_XENVER_changeset 4
  28. #define VKI_XENVER_platform_parameters 5
  29. #define VKI_XENVER_get_features 6
  30. #define VKI_XENVER_pagesize 7
  31. #define VKI_XENVER_guest_handle 8
  32. #define VKI_XENVER_commandline 9
  33. typedef char vki_xen_extraversion_t[16];
  34. struct vki_xen_compile_info {
  35. char compiler[64];
  36. char compile_by[16];
  37. char compile_domain[32];
  38. char compile_date[32];
  39. };
  40. typedef char vki_xen_capabilities_info_t[1024];
  41. typedef char vki_xen_changeset_info_t[64];
  42. struct vki_xen_platform_parameters {
  43. unsigned long virt_start;
  44. };
  45. struct vki_xen_feature_info {
  46. unsigned int submap_idx; /* IN: which 32-bit submap to return */
  47. vki_uint32_t submap; /* OUT: 32-bit submap */
  48. };
  49. typedef char vki_xen_commandline_t[1024];
  50. #endif // __VKI_XEN_VERSION_H
  51. /*--------------------------------------------------------------------*/
  52. /*--- end ---*/
  53. /*--------------------------------------------------------------------*/