]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleReset.c
MdeModulePkg/CapsuleRuntimeDxe: Add cache flush for IA32 and X64
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleReset.c
1 /** @file
2 Default implementation of architecture specific routines related to
3 PersistAcrossReset capsules
4
5 Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR>
6 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
7
8 This program and the accompanying materials are licensed and made available
9 under the terms and conditions of the BSD License which accompanies this
10 distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 **/
17
18 #include "CapsuleService.h"
19
20 /**
21 Whether the platform supports capsules that persist across reset. Note that
22 some platforms only support such capsules at boot time.
23
24 @return TRUE if a PersistAcrossReset capsule may be passed to UpdateCapsule()
25 at this time
26 FALSE otherwise
27 **/
28 BOOLEAN
29 IsPersistAcrossResetCapsuleSupported (
30 VOID
31 )
32 {
33 return FeaturePcdGet (PcdSupportUpdateCapsuleReset);
34 }
35