]>
Commit | Line | Data |
---|---|---|
74fea867 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation\r | |
4 | All rights reserved. This program and the accompanying materials\r | |
5 | are licensed and made available under the terms and conditions of the BSD License\r | |
6 | which accompanies this distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | CapsuleService.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Capsule Runtime Service\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _CAPSULE_RUNTIME_H_\r | |
23 | #define _CAPSULE_RUNTIME_H_\r | |
24 | \r | |
ed7748fe | 25 | \r |
74fea867 | 26 | #include <PiDxe.h>\r |
ed7748fe | 27 | \r |
74fea867 | 28 | #include <Protocol/Capsule.h>\r |
29 | #include <Guid/CapsuleVendor.h>\r | |
ed7748fe | 30 | \r |
74fea867 | 31 | #include <Library/UefiDriverEntryPoint.h>\r |
32 | #include <Library/DxeServicesTableLib.h>\r | |
33 | #include <Library/UefiRuntimeLib.h>\r | |
34 | #include <Library/DebugLib.h>\r | |
35 | #include <Library/PcdLib.h>\r | |
36 | #include <Library/BaseMemoryLib.h>\r | |
37 | #include <Library/MemoryAllocationLib.h>\r | |
38 | #include <Library/UefiBootServicesTableLib.h>\r | |
39 | \r | |
74fea867 | 40 | extern EFI_GUID gEfiCapsuleGuid;\r |
41 | \r | |
42 | EFI_STATUS\r | |
43 | EFIAPI\r | |
44 | UpdateCapsule(\r | |
45 | IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r | |
46 | IN UINTN CapsuleCount,\r | |
47 | IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL\r | |
48 | );\r | |
49 | \r | |
50 | EFI_STATUS\r | |
51 | EFIAPI\r | |
52 | QueryCapsuleCapabilities(\r | |
53 | IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r | |
54 | IN UINTN CapsuleCount,\r | |
55 | OUT UINT64 *MaxiumCapsuleSize,\r | |
56 | OUT EFI_RESET_TYPE *ResetType\r | |
57 | );\r | |
58 | \r | |
59 | #endif\r | |
60 | \r |