logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

mei_uuid.h (738B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * MEI UUID definition
  4. *
  5. * Copyright (C) 2010, Intel Corp.
  6. * Huang Ying <ying.huang@intel.com>
  7. */
  8. #ifndef _LINUX_MEI_UUID_H_
  9. #define _LINUX_MEI_UUID_H_
  10. #include <linux/types.h>
  11. typedef struct {
  12. __u8 b[16];
  13. } uuid_le;
  14. #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \
  15. ((uuid_le) \
  16. {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \
  17. (b) & 0xff, ((b) >> 8) & 0xff, \
  18. (c) & 0xff, ((c) >> 8) & 0xff, \
  19. (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }})
  20. #define NULL_UUID_LE \
  21. UUID_LE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \
  22. 0x00, 0x00, 0x00, 0x00)
  23. #endif /* _LINUX_MEI_UUID_H_ */