3 Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved
5 SPDX-License-Identifier: BSD-2-Clause-Patent
15 PCH Extended Reset Protocol
18 #ifndef _EFI_PCH_EXTENDED_RESET_H_
19 #define _EFI_PCH_EXTENDED_RESET_H_
24 #define EFI_PCH_EXTENDED_RESET_PROTOCOL_GUID \
26 0xf0bbfca0, 0x684e, 0x48b3, 0xba, 0xe2, 0x6c, 0x84, 0xb8, 0x9e, 0x53, 0x39 \
28 extern EFI_GUID gEfiPchExtendedResetProtocolGuid
;
31 // Forward reference for ANSI C compatibility
33 typedef struct _EFI_PCH_EXTENDED_RESET_PROTOCOL EFI_PCH_EXTENDED_RESET_PROTOCOL
;
36 // Related Definitions
39 // PCH Extended Reset Types
42 UINT8 PowerCycle
: 1; // 0: Disabled*; 1: Enabled
43 UINT8 GlobalReset
: 1; // 0: Disabled*; 1: Enabled
44 UINT8 SusPwrDnAck
: 1; // 0: Do Nothing;
45 // 1: GPIO[30](SUS_PWR_DN_ACK) level is set low prior to Global Reset(for systems with an embedded controller)
46 UINT8 RsvdBits
: 5; // Reserved fields for future expansion w/o protocol change
47 } PCH_EXTENDED_RESET_TYPES
;
54 (EFIAPI
*EFI_PCH_EXTENDED_RESET
) (
55 IN EFI_PCH_EXTENDED_RESET_PROTOCOL
* This
,
56 IN PCH_EXTENDED_RESET_TYPES PchExtendedResetTypes
63 Execute Pch Extended Reset from the host controller.
67 This - Pointer to the EFI_PCH_EXTENDED_RESET_PROTOCOL instance.
68 PchExtendedResetTypes - Pch Extended Reset Types which includes PowerCycle, Globalreset.
72 Does not return if the reset takes place.
73 EFI_INVALID_PARAMETER - If ResetType is invalid.
78 // Interface structure for the Pch Extended Reset Protocol
80 struct _EFI_PCH_EXTENDED_RESET_PROTOCOL
{
81 EFI_PCH_EXTENDED_RESET Reset
;