summaryrefslogtreecommitdiff
path: root/UnixPkg/UnixUgaDxe/UnixUga.h
diff options
context:
space:
mode:
Diffstat (limited to 'UnixPkg/UnixUgaDxe/UnixUga.h')
-rw-r--r--UnixPkg/UnixUgaDxe/UnixUga.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/UnixPkg/UnixUgaDxe/UnixUga.h b/UnixPkg/UnixUgaDxe/UnixUga.h
index b6d2a30..e1e61f7 100644
--- a/UnixPkg/UnixUgaDxe/UnixUga.h
+++ b/UnixPkg/UnixUgaDxe/UnixUga.h
@@ -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
//
@@ -301,4 +308,25 @@ Returns:
--*/
;
+
+EFI_STATUS
+UnixUgaInitializeSimplePointerForWindow (
+ IN UGA_PRIVATE_DATA *Private
+ )
+/*++
+
+Routine Description:
+
+ TODO: Add function description
+
+Arguments:
+
+ Private - TODO: add argument description
+
+Returns:
+
+ TODO: add return values
+
+--*/
+;
#endif