]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | System reset Library Services. This library class defines a set of\r | |
3 | methods to reset whole system.\r | |
4 | \r | |
5 | Copyright (c) 2005 - 2007, Intel Corporation\r | |
6 | All rights reserved. This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef __RESET_SYSTEM_LIB_H__\r | |
17 | #define __RESET_SYSTEM_LIB_H__\r | |
18 | \r | |
19 | /**\r | |
20 | Calling this function causes a system-wide reset. This sets\r | |
21 | all circuitry within the system to its initial state. This type of reset \r | |
22 | is asynchronous to system operation and operates without regard to \r | |
23 | cycle boundaries.\r | |
24 | \r | |
25 | System reset should not return, if it returns, it means the system does \r | |
26 | not support cold reset.\r | |
27 | **/\r | |
28 | VOID\r | |
29 | EFIAPI\r | |
30 | ResetCold (\r | |
31 | VOID\r | |
32 | );\r | |
33 | \r | |
34 | /**\r | |
35 | Calling this function causes a system-wide initialization. The processors \r | |
36 | are set to their initial state, and pending cycles are not corrupted.\r | |
37 | \r | |
38 | System reset should not return, if it returns, it means the system does \r | |
39 | not support warm reset.\r | |
40 | **/\r | |
41 | VOID\r | |
42 | EFIAPI\r | |
43 | ResetWarm (\r | |
44 | VOID\r | |
45 | );\r | |
46 | \r | |
47 | /**\r | |
48 | Calling this function causes the system to enter a power state equivalent \r | |
49 | to the ACPI G2/S5 or G3 states.\r | |
50 | \r | |
51 | System shutdown should not return, if it returns, it means the system does \r | |
52 | not support shut down reset.\r | |
53 | **/\r | |
54 | VOID\r | |
55 | EFIAPI\r | |
56 | ResetShutdown (\r | |
57 | VOID\r | |
58 | );\r | |
59 | \r | |
60 | /**\r | |
61 | Calling this function causes the system to enter S3 and then\r | |
62 | wake up immediately.\r | |
63 | \r | |
64 | Reset update should not return, if it returns, it means the\r | |
65 | library does not the feature.\r | |
66 | **/\r | |
67 | VOID\r | |
68 | EFIAPI\r | |
69 | EnterS3WithImmediateWake (\r | |
70 | VOID\r | |
71 | );\r | |
72 | #endif\r |