summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/Protocol/ShimLock.h
blob: b31365173d17fcf7c227830c3361349a7bf6bc46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _IPXE_EFI_SHIM_LOCK_PROTOCOL_H
#define _IPXE_EFI_SHIM_LOCK_PROTOCOL_H

/** @file
 *
 * EFI "shim lock" protocol
 *
 */

FILE_LICENCE ( BSD3 );

#define EFI_SHIM_LOCK_PROTOCOL_GUID					\
	{ 0x605dab50, 0xe046, 0x4300,					\
	{ 0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23 } }

#define SHIMAPI __asmcall

typedef
EFI_STATUS SHIMAPI
(*EFI_SHIM_LOCK_VERIFY) (
  IN VOID *buffer,
  IN UINT32 size
  );

typedef struct _EFI_SHIM_LOCK_PROTOCOL {
  EFI_SHIM_LOCK_VERIFY Verify;
  VOID *Reserved1;
  VOID *Reserved2;
} EFI_SHIM_LOCK_PROTOCOL;

#endif /*_IPXE_EFI_SHIM_LOCK_PROTOCOL_H */