| 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 |  | 
|---|
| 9 | #ifndef _UAPI_LINUX_MEI_UUID_H_ | 
|---|
| 10 | #define _UAPI_LINUX_MEI_UUID_H_ | 
|---|
| 11 |  | 
|---|
| 12 | #include <linux/types.h> | 
|---|
| 13 |  | 
|---|
| 14 | typedef struct { | 
|---|
| 15 | __u8 b[16]; | 
|---|
| 16 | } uuid_le; | 
|---|
| 17 |  | 
|---|
| 18 | #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)		\ | 
|---|
| 19 | ((uuid_le)								\ | 
|---|
| 20 | {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \ | 
|---|
| 21 | (b) & 0xff, ((b) >> 8) & 0xff,					\ | 
|---|
| 22 | (c) & 0xff, ((c) >> 8) & 0xff,					\ | 
|---|
| 23 | (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }}) | 
|---|
| 24 |  | 
|---|
| 25 | #define NULL_UUID_LE							\ | 
|---|
| 26 | UUID_LE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00,	\ | 
|---|
| 27 | 0x00, 0x00, 0x00, 0x00) | 
|---|
| 28 |  | 
|---|
| 29 | #endif /* _UAPI_LINUX_MEI_UUID_H_ */ | 
|---|
| 30 |  | 
|---|