diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-02 23:19:30 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-02 23:19:30 +0000 |
commit | 2ac288f9199196dfc4ab05bee0a7815ca361174a (patch) | |
tree | 66ba7102ed0f7e8b6deab5416f868aa43c82ad50 /UnixPkg/Sec/SecMain.c | |
parent | 5d23922674950ec2d2654b4c606692696681b544 (diff) | |
download | edk2-platforms-2ac288f9199196dfc4ab05bee0a7815ca361174a.tar.xz |
Fix issue with fixing tabs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11297 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Sec/SecMain.c')
-rw-r--r-- | UnixPkg/Sec/SecMain.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/UnixPkg/Sec/SecMain.c b/UnixPkg/Sec/SecMain.c index dc4b14c00f..a82ec1cce1 100644 --- a/UnixPkg/Sec/SecMain.c +++ b/UnixPkg/Sec/SecMain.c @@ -279,17 +279,17 @@ Returns: // Open the FD and remmeber where it got mapped into our processes address space // Status = MapFile ( - FileName, - &gFdInfo[Index].Address, - &gFdInfo[Index].Size - ); + FileName, + &gFdInfo[Index].Address, + &gFdInfo[Index].Size + ); if (EFI_ERROR (Status)) { printf ("ERROR : Can not open Firmware Device File %s (%x). Exiting.\n", FileName, (unsigned int)Status); exit (1); } printf (" FD loaded from %s at 0x%08lx", - FileName, (unsigned long)gFdInfo[Index].Address); + FileName, (unsigned long)gFdInfo[Index].Address); if (PeiCoreFile == NULL) { // @@ -419,10 +419,10 @@ Returns: /* Read entry address. */ lseek (fd, FileSize - 0x20, SEEK_SET); if (read (fd, &EntryAddress, 4) != 4) - { - close (fd); - return EFI_DEVICE_ERROR; - } + { + close (fd); + return EFI_DEVICE_ERROR; + } } #endif @@ -664,8 +664,8 @@ Returns: *MemoryBase = 0; res = MapMemory(0, gSystemMemory[Index].Size, - PROT_READ | PROT_WRITE | PROT_EXEC, - MAP_PRIVATE | MAP_ANONYMOUS); + PROT_READ | PROT_WRITE | PROT_EXEC, + MAP_PRIVATE | MAP_ANONYMOUS); if (res == MAP_FAILED) return EFI_DEVICE_ERROR; *MemorySize = gSystemMemory[Index].Size; |