]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h
Fix warnings generated by gcc for ia32 builds:
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleService.h
CommitLineData
74fea867 1/*++\r
2\r
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
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
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
74fea867 32#include <Library/UefiRuntimeLib.h>\r
33#include <Library/DebugLib.h>\r
34#include <Library/PcdLib.h>\r
74fea867 35#include <Library/UefiBootServicesTableLib.h>\r
6ee65722 36#include <Library/CapsuleLib.h>\r
74fea867 37\r
38EFI_STATUS\r
39EFIAPI\r
40UpdateCapsule(\r
41 IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
42 IN UINTN CapsuleCount,\r
43 IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL\r
44 );\r
45\r
46EFI_STATUS\r
47EFIAPI\r
48QueryCapsuleCapabilities(\r
49 IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
50 IN UINTN CapsuleCount,\r
51 OUT UINT64 *MaxiumCapsuleSize,\r
52 OUT EFI_RESET_TYPE *ResetType\r
53 );\r
54\r
55#endif\r
56\r