3 Copyright (c) 2004 - 2005, 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.
18 Reset Architectural Protocol as defined in Tiano under UNIX Emulation
25 IN EFI_HANDLE ImageHandle
,
26 IN EFI_SYSTEM_TABLE
*SystemTable
33 IN EFI_RESET_TYPE ResetType
,
34 IN EFI_STATUS ResetStatus
,
36 IN CHAR16
*ResetData OPTIONAL
42 IN EFI_HANDLE ImageHandle
,
43 IN EFI_SYSTEM_TABLE
*SystemTable
52 ImageHandle of the loaded driver
53 Pointer to the System Table
59 // TODO: SystemTable - add argument and description to function comment
64 SystemTable
->RuntimeServices
->ResetSystem
= UnixResetSystem
;
67 Status
= gBS
->InstallMultipleProtocolInterfaces (
69 &gEfiResetArchProtocolGuid
,
73 ASSERT_EFI_ERROR (Status
);
82 IN EFI_RESET_TYPE ResetType
,
83 IN EFI_STATUS ResetStatus
,
85 IN CHAR16
*ResetData OPTIONAL
91 TODO: Add function description
95 ResetType - TODO: add argument description
96 ResetStatus - TODO: add argument description
97 DataSize - TODO: add argument description
98 ResetData - TODO: add argument description
102 EFI_SUCCESS - TODO: Add description for return value
107 // BUGBUG Need to kill all console windows later
110 // Discard ResetType, always return 0 as exit code
115 // Should never go here