UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4599 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -24,7 +24,7 @@ Revision History
|
||||
#define _GRAPHICS_CONSOLE_H
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Protocol/FrameworkHii.h>
|
||||
//#include <Protocol/FrameworkHii.h>
|
||||
#include <Protocol/SimpleTextOut.h>
|
||||
#include <Protocol/GraphicsOutput.h>
|
||||
#include <Protocol/UgaDraw.h>
|
||||
@@ -32,10 +32,17 @@ Revision History
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/UefiDriverEntryPoint.h>
|
||||
#include <Library/UefiLib.h>
|
||||
#include <Library/FrameworkHiiLib.h>
|
||||
//#include <Library/FrameworkHiiLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/HiiLib.h>
|
||||
#include <Library/BaseLib.h>
|
||||
|
||||
#include <MdeModuleHii.h>
|
||||
|
||||
#include <Protocol/HiiFont.h>
|
||||
#include <Protocol/HiiDatabase.h>
|
||||
|
||||
|
||||
extern EFI_COMPONENT_NAME_PROTOCOL gGraphicsConsoleComponentName;
|
||||
@@ -174,8 +181,8 @@ GraphicsConsoleComponentNameGetControllerName (
|
||||
//
|
||||
// Glyph database
|
||||
//
|
||||
#define GLYPH_WIDTH 8
|
||||
#define GLYPH_HEIGHT 19
|
||||
//#define GLYPH_WIDTH 8
|
||||
//#define GLYPH_HEIGHT 19
|
||||
|
||||
//
|
||||
// User can define valid graphic resolution here
|
||||
@@ -306,11 +313,6 @@ GraphicsConsoleConOutEnableCursor (
|
||||
IN BOOLEAN Visible
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EfiLocateHiiProtocol (
|
||||
VOID
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
GraphicsConsoleControllerDriverSupported (
|
||||
@@ -336,4 +338,11 @@ GraphicsConsoleControllerDriverStop (
|
||||
IN EFI_HANDLE *ChildHandleBuffer
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EfiLocateHiiProtocol (
|
||||
VOID
|
||||
)
|
||||
;
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user