Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator. Cleaned up POSIX include situation by centralizing it in a single file, like NT32. Fixed TPL issue with TPL High not being emulated correctly, it was possible to take a timer tick when the locks in the DXE core should have prevented this. Remove some unused files to make things easier to maintain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11105 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -25,6 +25,7 @@ Abstract:
|
||||
#include "PiDxe.h"
|
||||
#include <Guid/EventGroup.h>
|
||||
#include <Protocol/SimpleTextIn.h>
|
||||
#include <Protocol/SimplePointer.h>
|
||||
#include <Protocol/UgaDraw.h>
|
||||
#include "Protocol/UnixUgaIo.h"
|
||||
#include <Library/DebugLib.h>
|
||||
@@ -48,6 +49,7 @@ typedef struct {
|
||||
EFI_HANDLE Handle;
|
||||
EFI_UGA_DRAW_PROTOCOL UgaDraw;
|
||||
EFI_SIMPLE_TEXT_INPUT_PROTOCOL SimpleTextIn;
|
||||
EFI_SIMPLE_POINTER_PROTOCOL SimplePointer;
|
||||
|
||||
EFI_UNIX_THUNK_PROTOCOL *UnixThunk;
|
||||
|
||||
@@ -61,6 +63,8 @@ typedef struct {
|
||||
UINT32 ColorDepth;
|
||||
UINT32 RefreshRate;
|
||||
|
||||
EFI_SIMPLE_POINTER_MODE PointerMode;
|
||||
|
||||
//
|
||||
// UGA Private Data knowing when to start hardware
|
||||
//
|
||||
@@ -78,6 +82,9 @@ typedef struct {
|
||||
#define UGA_PRIVATE_DATA_FROM_TEXT_IN_THIS(a) \
|
||||
CR(a, UGA_PRIVATE_DATA, SimpleTextIn, UGA_PRIVATE_DATA_SIGNATURE)
|
||||
|
||||
#define UGA_PRIVATE_DATA_FROM_POINTER_THIS(a) \
|
||||
CR(a, UGA_PRIVATE_DATA, SimplePointer, UGA_PRIVATE_DATA_SIGNATURE)
|
||||
|
||||
//
|
||||
// Global Protocol Variables
|
||||
//
|
||||
@@ -287,6 +294,27 @@ UnixUgaInitializeSimpleTextInForWindow (
|
||||
)
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
TODO: Add function description
|
||||
|
||||
Arguments:
|
||||
|
||||
Private - TODO: add argument description
|
||||
|
||||
Returns:
|
||||
|
||||
TODO: add return values
|
||||
|
||||
--*/
|
||||
;
|
||||
|
||||
EFI_STATUS
|
||||
UnixUgaInitializeSimplePointerForWindow (
|
||||
IN UGA_PRIVATE_DATA *Private
|
||||
)
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
TODO: Add function description
|
||||
|
Reference in New Issue
Block a user