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