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