summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-12ShellPkg: Fix GCC 4.4 build issuesjljusten9-32/+15
This change fixes various GCC 4.4 build issues * EFIAPI usage inconsistencies * multi-character literal warning ('eell') * Filename case inconsistencies * Use 'ULL' suffix for integers > 4GB git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11519 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-12Old driver sample code does not return an EFI_UNSUPPORTED status code if a ↵ydong101-312/+346
callback occurs for something which is unrecognized. Now any call back type except:EFI_BROWSER_ACTION_FORM_OPEN, EFI_BROWSER_ACTION_FORM_CLOSE, EFI_BROWSER_ACTION_FROM_RETRIEVE and EFI_BROWSER_ACTION_FORM_CHANGING, all return EFI_UNSUPPORTED. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11518 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-11EditTitleBar - Remove ASSERT. Complete display output for Disk and Memory ↵jcarsey2-9/+12
output. HexEdit - Add more user input verification. Fix output display. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11517 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-11Set EXECUTE flags in so RELEASE builds can tun correctly.mdkinney1-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11516 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-09New EDK Shell binary(r51)niruiyu7-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11515 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-08Add more checks to skip allocated SMRAM regions when searching for a largest ↵rsun32-2/+16
free SMRAM region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11514 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07Fix Xcode, clang, and ARM build and link issues.andrewfish14-194/+149
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11513 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07add user input verification.jcarsey1-3/+16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11512 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07ShellParametersProtocol - remove parsing from within quoted parameters.jcarsey3-24/+27
Pci - Add missing enumeration in switch statement. For - Verify parameter before dereferencing. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11511 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07Fix ICC build error.tye11-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11510 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07Add assertion check for TmpString against NULL.niruiyu1-13/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11509 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07Add (UINT16) static cast before passing UINT32 parameter to CreateDeviceNodeniruiyu1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11508 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-06Update ISID to fixed value: first 3 bytes are derived from MAC address while ↵tye17-22/+162
the other 3 bytes are configurable via ISCSI configuration. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11507 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-05add some parens.jcarsey1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11506 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-05add comments to function declarations and definitions and updated to match ↵jcarsey47-3349/+3668
coding style document. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11505 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-05rename a file.jcarsey1-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11504 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-04check memory allocations for success.jcarsey5-33/+48
check pointer before access. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11503 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-04correct last commit. fix build break for some compilers.jcarsey1-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11502 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-04fix build break on some compilers.jcarsey1-2/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11501 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01remove duplicate memory de-allocation.jcarsey2-8/+16
Add function header comment. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11500 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01Comment's added and fixed.jcarsey19-518/+481
Pointer's checked for NULL before access and after memory allocations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11499 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01fix initialization of pointer.jcarsey1-2/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11498 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01Use the minimum value for Numeric and the first option value for OneOf as ↵lgao42-2/+72
their default value when no specific default value is specified. HII IFR Numeric and OneOf opcode may not specify their default value in opcode. And, zero may not be valid value for them. To make sure the valid value is set to default value, the minimum value for Numeric and the first option value for OneOf will be chosen as default value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11497 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01PerformancePkg.dsc: ydong101-1/+2
1. Change FileHandleLib instance path. 2. Add SortLib used by ShellLib. Detail: This library instance was renamed from BaseFileHandleLib to UefiFileHandleLib in r11421. The SortLib is added to be used by ShellLib in r11424. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11496 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01NetworkPkg.dsc: ydong101-1/+2
1. Change FileHandleLib instance path. 2. Add SortLib used by ShellLib. Detail: This library instance was renamed from BaseFileHandleLib to UefiFileHandleLib in r11421. The SortLib is added to be use by ShellLib in r11424. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11495 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01> When GetHealthStatus() returns NULL FormHiiHandle, DeviceManager shouldn't ↵niruiyu6-130/+154
call SendForm to show the configuration form. > Combine the multiple reset request returned by GetHealthStatus() when repairing all the controllers. > Fix the bug that source code and VFR code use different value for DRIVER_HEALTH_FORM_ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11494 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01Set the BlockIo.Media.IoAlign to 0 because the BlockIo produced by Partition ↵niruiyu1-2/+7
driver consumes DiskIo for read/write operation which doesn't have IO alignment requirement. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11493 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31OvmfPkg/*.dsc: Change FileHandleLib instance pathjljusten3-3/+3
This library instance was renamed from BaseFileHandleLib to UefiFileHandleLib in r11421. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11492 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31Fix Xcode compile bug. It looks like these two arguments had an extra level ↵andrewfish1-1/+1
of indirection that was in error. Good thing about extra compilers is we catch this kind of thing for almost free. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11491 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg/Arm9Lib: Assert if memory region size is TT_DESCRIPTOR_SECTION_SIZE ↵oliviermartin1-0/+3
aligned The current code does not support memory region size that is not aligned on TT_DESCRIPTOR_SECTION_SIZE boundary. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11490 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31BeagleBoardPkg: Fix buildoliviermartin1-0/+1
Add missing DebugPrintErrorLevelLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11489 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg: Fix ArmPkg.dsc and ArmVExpress-CTA9x4.dsc buildsoliviermartin2-2/+24
- There were some missing and duplicate files in ArmPkg.dsc - PL301Axi.h was missing to build ArmVExpress-CTA9x4 build Note: PL34xDmc has been temporary removed from ArmPkg just the time to fix its dependency on ArmPlatform.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11488 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/Bds: Connect all drivers if the SimpleTextIO is not availableoliviermartin1-3/+25
If none of the Simple Text Input/Output Protocol implementations were started before starting BDS then an exception error occured. This fix forces to connect all the drivers if no SimpleText IO protocols are found. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11487 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg: Fix InternalMemCopyMem()oliviermartin2-94/+212
This function crashed when regions overalapped. The condition to optimize the copy of overlapped regions was not correct. ArmPkg: Add comments to InternalMemCopyMem() These comments explain the flow of this assembly function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11486 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg/ArmDisassemblerLib: Fix register listoliviermartin1-0/+1
'r1' register was missing from the list. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11485 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg: Fix buildoliviermartin3-0/+3
Declared DebugPrintErrorLevelLib for the ArmPlatformPkg builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11484 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/PrePeiCore: Fix buildoliviermartin1-1/+1
Renamed TEMPORARY_RAM_SUPPORT_PPI into EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11483 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/Bds: Fix buildoliviermartin1-1/+1
Renamed BdsLinuxLib.h into BdsUnixLib.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11482 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/ArmPlatformLib: Move the UEFI memory partionning to MemoryInitPeioliviermartin10-192/+158
Formerly, each platform was responsible to declare the location of its UEFI memory region (used by PEI and DXE Foundations). The ArmPlatformLib was also declaring every region of its partitionned system memory with a System Resource HOB. In this new model, the MemoryInit expects the system memory to be declared with the PCDs gArmTokenSpaceGuid.PcdSystemMemoryBase/Size. These PCDs declare the largest continuous DRAM region. Additional regions can be declared with the ArmPLatformLib function ArmPlatformGetAdditionalSystemMemory(). Now, it is the PEIM that partitions the system memory for every platform. It installs a region of the size PcdSystemMemoryUefiRegionSize (default 128MB) for the PEI permanent memory at the top of the DRAM region. And a region of gArmPlatformTokenSpaceGuid.PcdSystemMemoryFixRegionSize (default 128MB) is declared at the base of the system memory. This region is used for the allocation that requires fixed address or have some constraints on their locations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11481 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/ArmPlatformLib: Introduce the function ArmPlatformGetBootMode()oliviermartin5-6/+46
This function returns the current Boot Mode of the ARM Platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11480 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg/BdsLib: Fix GetSystemMemoryResources()oliviermartin1-67/+107
The function was not correctly merging the system memory chunks. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11479 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg/BdsLib: Prevent application to hang the platform using watchdogoliviermartin1-0/+9
Before to start an image we start the watchdog. And it stops when the application returns. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11478 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31EmbeddedPkg/Ebl: Add support for env variable deletionoliviermartin1-4/+25
Passing only the variable name should delete the environment variable if it exists. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11477 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg: Introduce ArmPlatformInitialize() functionoliviermartin8-9/+54
This function is responsible to handle all the specific platform code that must be run in secure world to initialize some controllers. ArmPlatformPkg/Sec: Move the L2x0 initialization to ArmPlatformLib The L2x0 controller must be initialized in secure world. Move its initialization into the ArmPlatformInitialize() of the Cortex A9x4 Core Tile PlatformLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11476 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg: Rename gEmbeddedTokenSpaceGuid.PcdEmbeddedFd* into ↵oliviermartin20-50/+52
gArmTokenSpaceGuid.PcdNormalFd* This renaming is for matching the namespace with the secure firmware gArmTokenSpaceGuid.PcdSecureFdBaseAddress/Size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11475 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg: Use Serial print function to print out non debugging informationoliviermartin6-28/+57
Exception errors and early print statements must be also print out in Release builds. Replace the DEBUG() macro by the SerialPortWrite() function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11474 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/SP804Timer: Fix IRQ handler when the Timer IRQ is sharedoliviermartin1-7/+9
The handler must check if the raised interrupt belongs to the SP804 Timer controller. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11473 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg/ArmLib: Define the macro IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE()oliviermartin1-4/+6
This macro returns TRUE is the ARM memory region is a Secure region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11472 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/CTA9x4: Remove Variable Storage FD file from FDFoliviermartin7-105/+36
The Variable Storage is now formated by the NOR Flsah driver. Force the NOR Flash driver to be loaded before the Variable Service DXE driver. And check if the Non Volatile Storage exists in NOR flash. If not, the driver writes the correct header. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11471 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPkg/ArmV7: Fix TT_DESCRIPTOR_LARGEPAGE_CACHE_POLICY_MASK maskoliviermartin1-2/+2
The value for this mask was not correct. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11470 6f19259b-4bc3-4df7-8a09-765794883524