3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 Reset Architectural Protocol implementation
26 IN EFI_RESET_TYPE ResetType
,
27 IN EFI_STATUS ResetStatus
,
29 IN VOID
*ResetData OPTIONAL
39 ResetType - warm or cold
40 ResetStatus - possible cause of reset
41 DataSize - Size of ResetData in bytes
42 ResetData - Optional Unicode string
43 For details, see efiapi.h
46 Does not return if the reset takes place.
47 EFI_INVALID_PARAMETER If ResetType is invalid.
56 case EfiResetShutdown
:
58 IoWrite8 (0x64, Data
);
66 // Given we should have reset getting here would be bad