X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Nt32Pkg%2FResetRuntimeDxe%2Freset.c;h=468f7128fb96b87d3b97734a1db4e7f0b5c361fe;hb=52cb711dab08047f38529e087583c965058894e3;hp=0ee9a4e846aa595b816b4da50004cf30077ac9d1;hpb=6ae81428485020dd371eaefa5b97b24f21efe117;p=mirror_edk2.git diff --git a/Nt32Pkg/ResetRuntimeDxe/reset.c b/Nt32Pkg/ResetRuntimeDxe/reset.c index 0ee9a4e846..468f7128fb 100644 --- a/Nt32Pkg/ResetRuntimeDxe/reset.c +++ b/Nt32Pkg/ResetRuntimeDxe/reset.c @@ -1,7 +1,7 @@ /**@file -Copyright (c) 2006, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2006, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -19,7 +19,7 @@ Abstract: **/ -#include +#include #include #include #include @@ -35,14 +35,13 @@ InitializeNtReset ( IN EFI_SYSTEM_TABLE *SystemTable ); -STATIC -EFI_STATUS +VOID EFIAPI WinNtResetSystem ( IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, - IN CHAR16 *ResetData OPTIONAL + IN VOID *ResetData OPTIONAL ); @@ -85,14 +84,13 @@ Returns: return Status; } -STATIC -EFI_STATUS +VOID EFIAPI WinNtResetSystem ( IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, - IN CHAR16 *ResetData OPTIONAL + IN VOID *ResetData OPTIONAL ) /*++ @@ -124,5 +122,5 @@ Returns: // // Should never go here // - return EFI_SUCCESS; + ASSERT (FALSE); }