From b9c8e50e2054fc21c2029db309f813d03ccd6082 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Thu, 22 Jul 2010 21:21:38 +0000 Subject: Port UnixPkg to also support X64. Currently only supports Unix x86_64 ABI. In the future we can make Sec support x86_64 ABI and the rest of the code support X64 EFI ABI. This will require assembly gaskets to fix the calling convention differences. I currently have noop gaskets in place for x86_64 ABI. This has only been tested on OS X 10.6. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10685 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/UnixFirmwareVolumePei/UnixFwh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UnixPkg/UnixFirmwareVolumePei') diff --git a/UnixPkg/UnixFirmwareVolumePei/UnixFwh.c b/UnixPkg/UnixFirmwareVolumePei/UnixFwh.c index babae5da21..b135f6dc28 100644 --- a/UnixPkg/UnixFirmwareVolumePei/UnixFwh.c +++ b/UnixPkg/UnixFirmwareVolumePei/UnixFwh.c @@ -117,7 +117,7 @@ Returns: PcdGet32 (PcdFlashNvStorageFtwSpareSize) + PcdGet32 (PcdUnixFlashNvStorageEventLogSize); - BuildFvHob (FdFixUp + PcdGet32 (PcdUnixFlashNvStorageVariableBase), FdSize); + BuildFvHob (FdFixUp + PcdGet64 (PcdUnixFlashNvStorageVariableBase), FdSize); } else { // // For other FD's just map them in. -- cgit v1.2.3