From 7db61f68509693c01ba93fc4a0098a2c624a07e0 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Wed, 11 Mar 2015 05:34:18 +0000 Subject: [PATCH] OptionRomPkg: Update UndiRuntimeDxe driver. Change the Notify from ExitBootService to ReadyToBoot. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Star Zeng git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17038 6f19259b-4bc3-4df7-8a09-765794883524 --- OptionRomPkg/UndiRuntimeDxe/Init.c | 8 ++++---- OptionRomPkg/UndiRuntimeDxe/Undi32.h | 9 +-------- OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf | 6 ++++-- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/OptionRomPkg/UndiRuntimeDxe/Init.c b/OptionRomPkg/UndiRuntimeDxe/Init.c index 9410fe167a..4e4327005f 100644 --- a/OptionRomPkg/UndiRuntimeDxe/Init.c +++ b/OptionRomPkg/UndiRuntimeDxe/Init.c @@ -1,7 +1,7 @@ /** @file Initialization functions for EFI UNDI32 driver. -Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2015, 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 @@ -99,7 +99,7 @@ UndiNotifyVirtual ( **/ VOID EFIAPI -UndiNotifyExitBs ( +UndiNotifyReadyToBoot ( EFI_EVENT Event, VOID *Context ) @@ -1028,9 +1028,9 @@ InitializeUndi( Status = gBS->CreateEventEx ( EVT_NOTIFY_SIGNAL, TPL_NOTIFY, - UndiNotifyExitBs, + UndiNotifyReadyToBoot, NULL, - &gEfiEventExitBootServicesGuid, + &gEfiEventReadyToBootGuid, &Event ); ASSERT_EFI_ERROR (Status); diff --git a/OptionRomPkg/UndiRuntimeDxe/Undi32.h b/OptionRomPkg/UndiRuntimeDxe/Undi32.h index 2bc019ef24..d09761d59d 100644 --- a/OptionRomPkg/UndiRuntimeDxe/Undi32.h +++ b/OptionRomPkg/UndiRuntimeDxe/Undi32.h @@ -1,7 +1,7 @@ /** @file EFI internal structures for the EFI UNDI driver. -Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2015, 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 @@ -176,13 +176,6 @@ UNDI_notify_virtual ( VOID *context ); -VOID -EFIAPI -UndiNotifyExitBs ( - EFI_EVENT Event, - VOID *Context - ); - EFI_STATUS EFIAPI UndiDriverSupported ( diff --git a/OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf b/OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf index 654c5fc6a8..4be7044be7 100644 --- a/OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf +++ b/OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf @@ -1,8 +1,10 @@ ## @file # Component description file for Undi module. # -# This module provides support for Universal Network Driver Interface -# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+# This module provides support for Universal Network Driver Interface. +# Notes: this module is no longer regular maintained/validated. +# +# Copyright (c) 2006 - 2015, 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