mirror of https://github.com/acidanthera/audk.git
Update the logic: After check the environment, calculate the new parameter and update it.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17188 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e8b4d9f4aa
commit
ab2cf8eabb
|
@ -1901,6 +1901,11 @@ FindTopMenu (
|
|||
}
|
||||
*SkipValue = 0;
|
||||
}
|
||||
|
||||
//
|
||||
// First enter to show the menu, update highlight info.
|
||||
//
|
||||
UpdateHighlightMenuInfo (*HighlightMenu, *TopOfScreen, *SkipValue);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -633,4 +633,19 @@ RefreshTimeOutProcess (
|
|||
IN VOID *Context
|
||||
);
|
||||
|
||||
/**
|
||||
Record the highlight menu and top of screen menu info.
|
||||
|
||||
@param Highlight The menu opton which is highlight.
|
||||
@param TopOfScreen The menu opton which is at the top of the form.
|
||||
@param SkipValue The skip line info for the top of screen menu.
|
||||
|
||||
**/
|
||||
VOID
|
||||
UpdateHighlightMenuInfo (
|
||||
IN LIST_ENTRY *Highlight,
|
||||
IN LIST_ENTRY *TopOfScreen,
|
||||
IN UINTN SkipValue
|
||||
);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue