2 Some definitions for reset.
4 Copyright (c) 2006 - 2010, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 #include <Library/BaseLib.h>
21 #include <Library/IoLib.h>
22 #include <Library/PciLib.h>
23 #include <Library/HobLib.h>
24 #include <Library/DebugLib.h>
25 #include <Library/BaseMemoryLib.h>
26 #include <Library/UefiBootServicesTableLib.h>
28 #include <Protocol/Reset.h>
29 #include <Guid/AcpiDescription.h>
32 Initialize the state information for the Reset Architectural Protocol.
34 @param[in] ImageHandle Image handle of the loaded driver
35 @param[in] SystemTable Pointer to the System Table
37 @retval EFI_SUCCESS Thread can be successfully created
38 @retval EFI_UNSUPPORTED Cannot find the info to reset system
44 IN EFI_HANDLE ImageHandle
,
45 IN EFI_SYSTEM_TABLE
*SystemTable
52 @param[in] ResetType Warm or cold
53 @param[in] ResetStatus Possible cause of reset
54 @param[in] DataSize Size of ResetData in bytes
55 @param[in] ResetData Optional Unicode string
61 IN EFI_RESET_TYPE ResetType
,
62 IN EFI_STATUS ResetStatus
,
64 IN CHAR16
*ResetData
, OPTIONAL
65 IN EFI_ACPI_DESCRIPTION
*AcpiDescription
71 IN EFI_ACPI_DESCRIPTION
*AcpiDescription