diff options
Diffstat (limited to 'UnixPkg/Include')
-rw-r--r-- | UnixPkg/Include/Protocol/UnixThunk.h | 6 | ||||
-rw-r--r-- | UnixPkg/Include/Protocol/UnixUgaIo.h | 19 |
2 files changed, 15 insertions, 10 deletions
diff --git a/UnixPkg/Include/Protocol/UnixThunk.h b/UnixPkg/Include/Protocol/UnixThunk.h index 5346c1c32d..689e32fd7d 100644 --- a/UnixPkg/Include/Protocol/UnixThunk.h +++ b/UnixPkg/Include/Protocol/UnixThunk.h @@ -308,14 +308,14 @@ void typedef int #if __CYGWIN__ -(*UnixIoCtl) (int fd, int __request, ...); +(*UnixIoCtl) (int fd, int __request, UINTN Arg); #else -(*UnixIoCtl) (int fd, unsigned long int __request, ...); +(*UnixIoCtl) (int fd, unsigned long int __request, void *Arg); #endif typedef int -(*UnixFcntl) (int __fd, int __cmd, ...); +(*UnixFcntl) (int __fd, int __cmd, void *Arg); typedef int 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 { |