ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / EmbeddedPkg / Include / Library / EfiResetSystemLib.h
CommitLineData
2ef2b01e
A
1/** @file\r
2\r
60274cca 3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
2ef2b01e 4\r
878b807a 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
2ef2b01e
A
6\r
7**/\r
8\r
9\r
10#ifndef __EFI_RESET_SYSTEM_LIB_H___\r
11#define __EFI_RESET_SYSTEM_LIB_H___\r
12\r
13\r
14/**\r
15 Resets the entire platform.\r
16\r
17 @param ResetType The type of reset to perform.\r
18 @param ResetStatus The status code for the reset.\r
19 @param DataSize The size, in bytes, of WatchdogData.\r
20 @param ResetData For a ResetType of EfiResetCold, EfiResetWarm, or\r
21 EfiResetShutdown the data buffer starts with a Null-terminated\r
22 Unicode string, optionally followed by additional binary data.\r
23\r
24**/\r
25EFI_STATUS\r
26EFIAPI\r
27LibResetSystem (\r
28 IN EFI_RESET_TYPE ResetType,\r
29 IN EFI_STATUS ResetStatus,\r
30 IN UINTN DataSize,\r
31 IN CHAR16 *ResetData OPTIONAL\r
32 );\r
3402aac7 33\r
2ef2b01e
A
34\r
35\r
36/**\r
37 Initialize any infrastructure required for LibResetSystem () to function.\r
38\r
39 @param ImageHandle The firmware allocated handle for the EFI image.\r
40 @param SystemTable A pointer to the EFI System Table.\r
3402aac7 41\r
2ef2b01e
A
42 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
43\r
44**/\r
45EFI_STATUS\r
46EFIAPI\r
47LibInitializeResetSystem (\r
48 IN EFI_HANDLE ImageHandle,\r
49 IN EFI_SYSTEM_TABLE *SystemTable\r
50 );\r
51\r
52#endif\r