]>
Commit | Line | Data |
---|---|---|
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 | |
6 | \r | |
7 | This program and the accompanying materials are licensed and made available\r | |
8 | under the terms and conditions of the BSD License which accompanies this\r | |
9 | distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #include "CapsuleService.h"\r | |
18 | \r | |
19 | /**\r | |
20 | Whether the platform supports capsules that persist across reset. Note that\r | |
21 | some platforms only support such capsules at boot time.\r | |
22 | \r | |
23 | @return TRUE if a PersistAcrossReset capsule may be passed to UpdateCapsule()\r | |
24 | at this time\r | |
25 | FALSE otherwise\r | |
26 | **/\r | |
27 | BOOLEAN\r | |
28 | IsPersistAcrossResetCapsuleSupported (\r | |
29 | VOID\r | |
30 | )\r | |
31 | {\r | |
32 | return FeaturePcdGet (PcdSupportUpdateCapsuleReset);\r | |
33 | }\r | |
34 | \r | |
35 | /**\r | |
36 | Writes Back a range of data cache lines covering a set of capsules in memory.\r | |
37 | \r | |
38 | Writes Back the data cache lines specified by ScatterGatherList.\r | |
39 | \r | |
40 | @param ScatterGatherList Physical address of the data structure that\r | |
41 | describes a set of capsules in memory\r | |
42 | \r | |
43 | **/\r | |
44 | VOID\r | |
45 | CapsuleCacheWriteBack (\r | |
46 | IN EFI_PHYSICAL_ADDRESS ScatterGatherList\r | |
47 | )\r | |
48 | {\r | |
49 | }\r |