1. Sync the latest network stack. Add NetLibCreateIPv4DPathNode () in netlib library.
[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
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 40extern EFI_GUID gEfiCapsuleGuid;\r
41\r
42EFI_STATUS\r
43EFIAPI\r
44UpdateCapsule(\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
50EFI_STATUS\r
51EFIAPI\r
52QueryCapsuleCapabilities(\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