]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | Reset.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Reset PPI as defined in Tiano\r | |
19 | \r | |
20 | Used to reset the platform from PEI\r | |
21 | \r | |
22 | --*/\r | |
23 | \r | |
24 | #ifndef _PEI_RESET_H_\r | |
25 | #define _PEI_RESET_H_\r | |
26 | \r | |
27 | #define PEI_RESET_PPI_GUID \\r | |
28 | { \\r | |
7ccf38a3 | 29 | 0xef398d58, 0x9dfd, 0x4103, {0xbf, 0x94, 0x78, 0xc6, 0xf4, 0xfe, 0x71, 0x2f} \\r |
3eb9473e | 30 | }\r |
31 | \r | |
32 | //\r | |
33 | // *******************************************************\r | |
34 | // PEI_RESET_TYPE\r | |
35 | // *******************************************************\r | |
36 | //\r | |
37 | typedef enum {\r | |
38 | PeiResetCold,\r | |
4cb43192 | 39 | PeiResetWarm\r |
3eb9473e | 40 | } PEI_RESET_TYPE;\r |
41 | \r | |
42 | typedef\r | |
43 | EFI_STATUS\r | |
8cdb2112 | 44 | (EFIAPI *PEI_RESET_PPI_RESET_SYSTEM) (\r |
3eb9473e | 45 | IN EFI_PEI_SERVICES **PeiServices\r |
46 | );\r | |
47 | \r | |
48 | typedef struct {\r | |
8cdb2112 | 49 | PEI_RESET_PPI_RESET_SYSTEM ResetSystem;\r |
3eb9473e | 50 | } PEI_RESET_PPI;\r |
51 | \r | |
52 | extern EFI_GUID gPeiResetPpiGuid;\r | |
53 | \r | |
54 | #endif\r |