OptionRomPkg: Update UndiRuntimeDxe driver.

Change the Notify from ExitBootService to ReadyToBoot.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17038 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Liming Gao 2015-03-11 05:34:18 +00:00 committed by lgao4
parent dd51e45b6f
commit 7db61f6850
3 changed files with 9 additions and 14 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
Initialization functions for EFI UNDI32 driver. Initialization functions for EFI UNDI32 driver.
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -99,7 +99,7 @@ UndiNotifyVirtual (
**/ **/
VOID VOID
EFIAPI EFIAPI
UndiNotifyExitBs ( UndiNotifyReadyToBoot (
EFI_EVENT Event, EFI_EVENT Event,
VOID *Context VOID *Context
) )
@ -1028,9 +1028,9 @@ InitializeUndi(
Status = gBS->CreateEventEx ( Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_NOTIFY, TPL_NOTIFY,
UndiNotifyExitBs, UndiNotifyReadyToBoot,
NULL, NULL,
&gEfiEventExitBootServicesGuid, &gEfiEventReadyToBootGuid,
&Event &Event
); );
ASSERT_EFI_ERROR (Status); ASSERT_EFI_ERROR (Status);

View File

@ -1,7 +1,7 @@
/** @file /** @file
EFI internal structures for the EFI UNDI driver. EFI internal structures for the EFI UNDI driver.
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -176,13 +176,6 @@ UNDI_notify_virtual (
VOID *context VOID *context
); );
VOID
EFIAPI
UndiNotifyExitBs (
EFI_EVENT Event,
VOID *Context
);
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
UndiDriverSupported ( UndiDriverSupported (

View File

@ -1,8 +1,10 @@
## @file ## @file
# Component description file for Undi module. # Component description file for Undi module.
# #
# This module provides support for Universal Network Driver Interface # This module provides support for Universal Network Driver Interface.
# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> # Notes: this module is no longer regular maintained/validated.
#
# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License