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.
18 Reset Architectural Protocol as defined in Tiano under NT Emulation
27 IN EFI_HANDLE ImageHandle
,
28 IN EFI_SYSTEM_TABLE
*SystemTable
35 IN EFI_RESET_TYPE ResetType
,
36 IN EFI_STATUS ResetStatus
,
38 IN CHAR16
*ResetData OPTIONAL
45 IN EFI_HANDLE ImageHandle
,
46 IN EFI_SYSTEM_TABLE
*SystemTable
55 ImageHandle of the loaded driver
56 Pointer to the System Table
62 // TODO: SystemTable - add argument and description to function comment
67 SystemTable
->RuntimeServices
->ResetSystem
= WinNtResetSystem
;
70 Status
= gBS
->InstallMultipleProtocolInterfaces (
72 &gEfiResetArchProtocolGuid
,
76 ASSERT_EFI_ERROR (Status
);
85 IN EFI_RESET_TYPE ResetType
,
86 IN EFI_STATUS ResetStatus
,
88 IN CHAR16
*ResetData OPTIONAL
94 TODO: Add function description
98 ResetType - TODO: add argument description
99 ResetStatus - TODO: add argument description
100 DataSize - TODO: add argument description
101 ResetData - TODO: add argument description
105 EFI_SUCCESS - TODO: Add description for return value
110 // BUGBUG Need to kill all console windows later
113 // Discard ResetType, always return 0 as exit code
115 gWinNt
->ExitProcess (0);
118 // Should never go here