InOsEmuPkg/Unix: Fix build issues for GCC44 IA32

Signed-off-by: jljusten

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11880 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2011-06-23 15:23:39 +00:00
parent 27f6b4f869
commit 54e0b04c74
5 changed files with 9 additions and 11 deletions

View File

@ -148,6 +148,7 @@ EmuBusDriverBindingStart (
EMU_VENDOR_DEVICE_PATH_NODE *Node; EMU_VENDOR_DEVICE_PATH_NODE *Node;
BOOLEAN CreateDevice; BOOLEAN CreateDevice;
InstallStatus = EFI_UNSUPPORTED;
Status = EFI_UNSUPPORTED; Status = EFI_UNSUPPORTED;
// //

View File

@ -489,6 +489,8 @@ EmuSimpleFileSystemOpenVolume (
EMU_EFI_FILE_PRIVATE *PrivateFile; EMU_EFI_FILE_PRIVATE *PrivateFile;
EFI_TPL OldTpl; EFI_TPL OldTpl;
Status = EFI_UNSUPPORTED;
if (This == NULL || Root == NULL) { if (This == NULL || Root == NULL) {
return EFI_INVALID_PARAMETER; return EFI_INVALID_PARAMETER;
} }

View File

@ -667,10 +667,11 @@ EmuSnpDriverBindingStart (
MAC_ADDR_DEVICE_PATH Node; MAC_ADDR_DEVICE_PATH Node;
EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath; EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath;
Private = NULL;
// //
// Grab the protocols we need // Grab the protocols we need
// //
Status = gBS->OpenProtocol( Status = gBS->OpenProtocol(
ControllerHandle, ControllerHandle,
&gEfiDevicePathProtocolGuid, &gEfiDevicePathProtocolGuid,

View File

@ -257,8 +257,8 @@ SecSleep (
struct timeval start, end; struct timeval start, end;
unsigned long MicroSec; unsigned long MicroSec;
rq.tv_sec = Nanoseconds / 1000000000; rq.tv_sec = DivU64x32 (Nanoseconds, 1000000000);
rq.tv_nsec = Nanoseconds % 1000000000; rq.tv_nsec = ModU64x32 (Nanoseconds, 1000000000);
// //
// nanosleep gets interrupted by our timer tic. // nanosleep gets interrupted by our timer tic.

View File

@ -254,19 +254,13 @@ INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
!if $(BUILD_FAT) !if $(BUILD_FAT)
INF FatPkg/EnhancedFatDxe/Fat.inf INF FatPkg/EnhancedFatDxe/Fat.inf
!else !else
# Used checked in Visual Studio binaries INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F {
SECTION PE32 = FatBinPkg/EnhancedFatDxe/X64/Fat.efi
}
!endif !endif
!if $(BUILD_NEW_SHELL) !if $(BUILD_NEW_SHELL)
INF ShellPkg/Application/Shell/Shell.inf INF ShellPkg/Application/Shell/Shell.inf
!else !else
# Used checked in Visual Studio binaries INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {
SECTION PE32 = EdkShellBinPkg/FullShell/X64/Shell_Full.efi
}
!endif !endif
FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) { FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {