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
This commit is contained in:
@ -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
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user