]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleReset.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleReset.c
CommitLineData
e077a93d
AB
1/** @file\r
2 Default implementation of architecture specific routines related to\r
3 PersistAcrossReset capsules\r
4\r
5 Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR>\r
a89fd3a3 6 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
e077a93d 7\r
9d510e61 8 SPDX-License-Identifier: BSD-2-Clause-Patent\r
e077a93d
AB
9\r
10**/\r
11\r
12#include "CapsuleService.h"\r
13\r
14/**\r
15 Whether the platform supports capsules that persist across reset. Note that\r
16 some platforms only support such capsules at boot time.\r
17\r
18 @return TRUE if a PersistAcrossReset capsule may be passed to UpdateCapsule()\r
19 at this time\r
20 FALSE otherwise\r
21**/\r
22BOOLEAN\r
23IsPersistAcrossResetCapsuleSupported (\r
24 VOID\r
25 )\r
26{\r
27 return FeaturePcdGet (PcdSupportUpdateCapsuleReset);\r
28}\r
29\r