mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11680 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3c063fedc4
commit
d664f8a25c
@ -3,7 +3,7 @@
|
|||||||
by HII Thunk Modules. These Config access Protocols are used to thunk UEFI Config
|
by HII Thunk Modules. These Config access Protocols are used to thunk UEFI Config
|
||||||
Access Callback to Framework HII Callback and EFI Variable Set/Get operations.
|
Access Callback to Framework HII Callback and EFI Variable Set/Get operations.
|
||||||
|
|
||||||
Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2008 - 2011, 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
|
||||||
@ -1107,13 +1107,7 @@ ThunkCallback (
|
|||||||
EFI_INPUT_KEY Key;
|
EFI_INPUT_KEY Key;
|
||||||
BOOLEAN NvMapAllocated;
|
BOOLEAN NvMapAllocated;
|
||||||
|
|
||||||
if ((Action == EFI_BROWSER_ACTION_FORM_OPEN) || (Action == EFI_BROWSER_ACTION_FORM_CLOSE)) {
|
if (Action == EFI_BROWSER_ACTION_CHANGING) {
|
||||||
//
|
|
||||||
// Ignore UEFI OPEN/CLOSE Action for FrameworkCallback
|
|
||||||
//
|
|
||||||
return EFI_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
ASSERT (This != NULL);
|
ASSERT (This != NULL);
|
||||||
ASSERT (Value != NULL);
|
ASSERT (Value != NULL);
|
||||||
ASSERT (ActionRequest != NULL);
|
ASSERT (ActionRequest != NULL);
|
||||||
@ -1227,7 +1221,6 @@ ThunkCallback (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Clean up.
|
// Clean up.
|
||||||
//
|
//
|
||||||
@ -1236,3 +1229,9 @@ ThunkCallback (
|
|||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// All other action return unsupported.
|
||||||
|
//
|
||||||
|
return EFI_UNSUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user