]>
Commit | Line | Data |
---|---|---|
00663d04 LE |
1 | /** @file\r |
2 | Polymorphic functions that are called from both the privileged driver (i.e.,\r | |
3 | the DXE_SMM variable module) and the non-privileged drivers (i.e., one or\r | |
4 | both of the DXE_RUNTIME variable modules).\r | |
5 | \r | |
6 | Each of these functions has two implementations, appropriate for privileged\r | |
7 | vs. non-privileged driver code.\r | |
8 | \r | |
9 | Copyright (c) 2017, Red Hat, Inc.<BR>\r | |
10 | Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r | |
11 | \r | |
12 | This program and the accompanying materials are licensed and made available\r | |
13 | under the terms and conditions of the BSD License which accompanies this\r | |
14 | distribution. The full text of the license may be found at\r | |
15 | http://opensource.org/licenses/bsd-license.php\r | |
16 | \r | |
17 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r | |
18 | WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
19 | **/\r | |
20 | #ifndef _PRIVILEGE_POLYMORPHIC_H_\r | |
21 | #define _PRIVILEGE_POLYMORPHIC_H_\r | |
22 | \r | |
23 | #include <Uefi/UefiBaseType.h>\r | |
24 | \r | |
25 | /**\r | |
26 | SecureBoot Hook for auth variable update.\r | |
27 | \r | |
28 | @param[in] VariableName Name of Variable to be found.\r | |
29 | @param[in] VendorGuid Variable vendor GUID.\r | |
30 | **/\r | |
31 | VOID\r | |
32 | EFIAPI\r | |
33 | SecureBootHook (\r | |
34 | IN CHAR16 *VariableName,\r | |
35 | IN EFI_GUID *VendorGuid\r | |
36 | );\r | |
37 | \r | |
38 | #endif\r |