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