]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Universal/Capsule/RuntimeDxe/CapsuleService.h
sync comments, fix function header, rename variable name to follow coding style.
[mirror_edk2.git] / EdkModulePkg / Universal / Capsule / RuntimeDxe / CapsuleService.h
CommitLineData
045f4521 1/*++\r
2\r
396514f5 3Copyright (c) 2006, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
045f4521 11\r
12Module Name:\r
13\r
14 CapsuleService.h\r
15\r
16Abstract:\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
25#include <Common/CapsuleName.h>\r
26\r
396514f5 27extern EFI_GUID gEfiCapsuleGuid;\r
045f4521 28\r
29EFI_STATUS\r
30EFIAPI\r
31UpdateCapsule(\r
396514f5 32 IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
045f4521 33 IN UINTN CapsuleCount,\r
34 IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL\r
35 );\r
36\r
37EFI_STATUS\r
38EFIAPI\r
39QueryCapsuleCapabilities(\r
40 IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
41 IN UINTN CapsuleCount,\r
42 OUT UINT64 *MaxiumCapsuleSize,\r
43 OUT EFI_RESET_TYPE *ResetType\r
44 );\r
45\r
46#endif\r
47\r