1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 2 /* 3 * MEI UUID definition 3 * MEI UUID definition 4 * 4 * 5 * Copyright (C) 2010, Intel Corp. 5 * Copyright (C) 2010, Intel Corp. 6 * Huang Ying <ying.huang@intel.com> 6 * Huang Ying <ying.huang@intel.com> 7 */ 7 */ 8 8 9 #ifndef _UAPI_LINUX_MEI_UUID_H_ 9 #ifndef _UAPI_LINUX_MEI_UUID_H_ 10 #define _UAPI_LINUX_MEI_UUID_H_ 10 #define _UAPI_LINUX_MEI_UUID_H_ 11 11 12 #include <linux/types.h> 12 #include <linux/types.h> 13 13 14 typedef struct { 14 typedef struct { 15 __u8 b[16]; 15 __u8 b[16]; 16 } uuid_le; 16 } uuid_le; 17 17 18 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d 18 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ 19 ((uuid_le) 19 ((uuid_le) \ 20 {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) 20 {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \ 21 (b) & 0xff, ((b) >> 8) & 0xff, 21 (b) & 0xff, ((b) >> 8) & 0xff, \ 22 (c) & 0xff, ((c) >> 8) & 0xff, 22 (c) & 0xff, ((c) >> 8) & 0xff, \ 23 (d0), (d1), (d2), (d3), (d4), (d5), (d6), ( 23 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }}) 24 24 25 #define NULL_UUID_LE 25 #define NULL_UUID_LE \ 26 UUID_LE(0x00000000, 0x0000, 0x0000, 0x 26 UUID_LE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \ 27 0x00, 0x00, 0x00, 0x00) 27 0x00, 0x00, 0x00, 0x00) 28 28 29 #endif /* _UAPI_LINUX_MEI_UUID_H_ */ 29 #endif /* _UAPI_LINUX_MEI_UUID_H_ */ 30 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.