summaryrefslogtreecommitdiff
path: root/UnixPkg/Include/Protocol/UnixUgaIo.h
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-29 03:24:13 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-29 03:24:13 +0000
commita4902cccdf477e93a55d6211fcb7a071bb48b71c (patch)
treedc61a7914f89038be9cfd4c1465b4bab91ffc7be /UnixPkg/Include/Protocol/UnixUgaIo.h
parent712a5698a6edd14d8247132cbbbe63da1ea69bf0 (diff)
downloadedk2-platforms-a4902cccdf477e93a55d6211fcb7a071bb48b71c.tar.xz
Complete coding to support X64 EFI ABI in UnixPkg. Code is not currently hooked in or tested, but it is code complete. Only missing step from testing is figuring out how to build with two different ABIs for the same platform. Sec needs a different ABI. May need to add a 2nd build step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10710 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Include/Protocol/UnixUgaIo.h')
-rw-r--r--UnixPkg/Include/Protocol/UnixUgaIo.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/UnixPkg/Include/Protocol/UnixUgaIo.h b/UnixPkg/Include/Protocol/UnixUgaIo.h
index 75923f34b9..3b32795219 100644
--- a/UnixPkg/Include/Protocol/UnixUgaIo.h
+++ b/UnixPkg/Include/Protocol/UnixUgaIo.h
@@ -51,19 +51,24 @@ EFI_STATUS
EFI_INPUT_KEY *key
);
+
+typedef struct {
+ UINTN SourceX;
+ UINTN SourceY;
+ UINTN DestinationX;
+ UINTN DestinationY;
+ UINTN Width;
+ UINTN Height;
+ UINTN Delta;
+} UGA_BLT_ARGS;
+
typedef
EFI_STATUS
(*UGABlt)(
IN EFI_UNIX_UGA_IO_PROTOCOL *Uga,
IN EFI_UGA_PIXEL *BltBuffer OPTIONAL,
IN EFI_UGA_BLT_OPERATION BltOperation,
- IN UINTN SourceX,
- IN UINTN SourceY,
- IN UINTN DestinationX,
- IN UINTN DestinationY,
- IN UINTN Width,
- IN UINTN Height,
- IN UINTN Delta OPTIONAL
+ IN UGA_BLT_ARGS *Args
);
struct _EFI_UNIX_UGA_IO_PROTOCOL {