yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 1 | /** @file
|
lgao4 | d713251 | 2008-07-16 10:44:37 +0000 | [diff] [blame] | 2 | This file declares Reset PPI used to reset the platform.
|
| 3 |
|
| 4 | This PPI is installed by some platform- or chipset-specific PEIM that
|
| 5 | abstracts the Reset Service to other agents.
|
yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 6 |
|
lgao4 | d713251 | 2008-07-16 10:44:37 +0000 | [diff] [blame] | 7 | Copyright (c) 2006 - 2008, Intel Corporation
|
yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 8 | All rights reserved. This program and the accompanying materials
|
| 9 | are licensed and made available under the terms and conditions of the BSD License
|
| 10 | which accompanies this distribution. The full text of the license may be found at
|
| 11 | http://opensource.org/licenses/bsd-license.php
|
| 12 |
|
| 13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 15 |
|
yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 16 | @par Revision Reference:
|
xli24 | 0047820 | 2008-10-28 13:04:40 +0000 | [diff] [blame^] | 17 | This PPI is introduced in PI Version 1.0.
|
yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 18 |
|
| 19 | **/
|
| 20 |
|
| 21 | #ifndef __RESET_PPI_H__
|
| 22 | #define __RESET_PPI_H__
|
| 23 |
|
lgao4 | d713251 | 2008-07-16 10:44:37 +0000 | [diff] [blame] | 24 | #include <Pi/PiPeiCis.h>
|
| 25 |
|
yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 26 | #define EFI_PEI_RESET_PPI_GUID \
|
| 27 | { \
|
| 28 | 0xef398d58, 0x9dfd, 0x4103, {0xbf, 0x94, 0x78, 0xc6, 0xf4, 0xfe, 0x71, 0x2f } \
|
| 29 | }
|
| 30 |
|
xli24 | 13c3803 | 2008-09-23 07:55:57 +0000 | [diff] [blame] | 31 | //
|
| 32 | // EFI_PEI_RESET_PPI.ResetSystem() is equivalent to the
|
| 33 | // PEI Service ResetSystem().
|
xli24 | 0047820 | 2008-10-28 13:04:40 +0000 | [diff] [blame^] | 34 | // It is introduced in PIPeiCis.h.
|
xli24 | 13c3803 | 2008-09-23 07:55:57 +0000 | [diff] [blame] | 35 | //
|
lgao4 | d713251 | 2008-07-16 10:44:37 +0000 | [diff] [blame] | 36 |
|
xli24 | 13c3803 | 2008-09-23 07:55:57 +0000 | [diff] [blame] | 37 | ///
|
| 38 | /// This PPI provides provide a simple reset service.
|
| 39 | ///
|
yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 40 | typedef struct {
|
yshang1 | 5879b87 | 2007-06-13 11:11:23 +0000 | [diff] [blame] | 41 | EFI_PEI_RESET_SYSTEM ResetSystem;
|
| 42 | } EFI_PEI_RESET_PPI;
|
| 43 |
|
| 44 | extern EFI_GUID gEfiPeiResetPpiGuid;
|
| 45 |
|
| 46 | #endif
|