summaryrefslogtreecommitdiff
path: root/EmbeddedPkg
AgeCommit message (Collapse)Author
2011-09-22Arm Packages: Fixed coding style/Line endings to follow EDK2 coding conventionoliviermartin
Arm Packages: Fixed mispelling Arm Packages: Reduced warnings all over the code git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12407 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-22EmbeddedPkg/Ebl: Fix EBL copy file commandoliviermartin
In the previous version, this command was not working: cp fs0:\zImage fs1:\ This change uses the source filename is the destination filename is not specified. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12406 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-07EmbeddedPkg/Mmc: Fixed ARMGCC buildoliviermartin
Fixed the build error: Redefinition of typedef 'EFI_MMC_HOST_PROTOCOL' git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12291 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-06Clean up Rules of Platform FDFs to apply only one EFI image and Depex for ↵oliviermartin
each driver git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12285 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01EmbeddedPkg/MmcDxe: Add 'This' pointer attribute to protocol functionoliviermartin
This attribute allows the EFI_MMC_HOST_PROTOCOL interface to manage multiple instances in one driver. EmbeddedPkg/MmcDxe: Add Revision attribute to the EFI_MMC_HOST_PROTOCOL Note: The ARM PL180 and Omap35xx MMC host drivers has been updated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12255 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-30EmbeddedPkg/MmcDxe: Card Presence Detect Race Conditionoliviermartin
The MMC driver defaults to assume a card is not present. It then starts a timer in MmcDxeInitialize to check for card presence every 200ms. However it does not immediately check to see if a card is present so if the EFI driver connection process occurs less than 200ms after the driver load, the connection process for partition or filesystem drivers will fail because MediaPresent still is FALSE. To resolve this race condition, we need to immediately perform the presence check in the Start routine. EmbeddedPkg/MmcDxe: Media ID Handling Initialize the MMC device on Start or when presence changes instead of doing it on the Block IO calls. This way the layered drivers can be stopped and rebuilt with new Media IDs instead of experiencing errors on calls to Block IO. Proposed-by: Eugene Cohen (HP) Reviewed-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12237 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-18ArmPkg: Fix ARMGCC buildoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12165 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-15EmbeddedPkg/MmcDxe: Set the BlockLength at the beginning of the BlockIo transferoliviermartin
Before the SetBlockLength command was called prior to a Read or Write command. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12133 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-15EmbeddedPkg/MmcDxe: Fix the indexes in the response arrayoliviermartin
The indexes have been reversed compare to the specification which created confusions in some MMC responses. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12132 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-15EmbeddedPkg/MmcDxe: Implement the correct macro to get the device size of SD ↵oliviermartin
2 High Density cards git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12131 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-15EmbeddedPkg/MmcDxe: Fix the CMD3 sequenceoliviermartin
In the former version, we were checking the card was in the new state (Standby state). But the transition to the nez state is only visible in the response of the next command. This commit removes the check on the MMC state. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12130 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-15EmbeddedPkg/MmcDxe: Improved parameters checkingoliviermartin
Ensure the passed parameters are correct. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12129 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-15EmbeddedPkg/MmcDxe: Create a periodic function to check if a card is presentoliviermartin
In the former version, the check was done for every BlockIo operation. By using a periodical function, we check less time in consequence performance are better. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12128 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-08EmbeddedPkg: Fix mispellingsoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12101 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06ArmPlatformPkg: Remove PcdStandalone from Sec module and Introduce ↵oliviermartin
ArmPlatformSecExtraAction() The PcdStandalone is a PCD ARM Ltd uses to make the difference between a standalone UEFI (boot from cold boot to Boot Manager without user intervention) and a Debug UEFI firmware (the firmware engineer has to copy the Normale World image into the DRAM to enable his/her firmware). By coping the firmware into DRAM in the non standalone version it is much faster than reflashing the NOR Flash after each build. ArmPlatformSecExtraAction() function is called just before the Sec module jump to normal world. The platform firmware can run extra actions at this stage. The 'ARM Standalone' concept has moved to the implementation of ArmPlatformSecExtraAction() for the ARM development boards (in ArmPlatformPkg/Library/DebugSecExtraActionLib). ArmPlatformPkg: Enable DebugAgentLib in Sec and PrePeiCore ArmPlatformPkg: Fix line endings in some source files Use CR+LF line endings as defined by the EDK2 coding convention git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11991 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-04ArmPlatformPkg: Fix build issuesoliviermartin
Other compiler version ... other warnings git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11970 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg: Removed unused PCD valuesoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11955 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg/Ebl: Check if gST->ConOut has been initializedoliviermartin
An exception error occured in EBL when gST->ConOut had not been intialized. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11954 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg/PrePiLib: Export HobConstructor()oliviermartin
This function only create the HOB Handoff Info Table structure in memory. In opposition to CreateHobList() that creates the structure and starts to populate it with few HOBs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11948 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg/PrePiHobListPointerLib: New interface to abstract the ↵oliviermartin
HobListPointer storage This interface allows to use different mechanism to store the HobList Pointer. EmbeddedPkg/PrePiHobListPointerLib: Implementation of PrePiHobListPointerLib using PCD This library uses a PCD to store the location of the HobList Pointer. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11947 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg/PrePiLib: Remove the performance measurements from the libraryoliviermartin
The PrePiLib should really be used for the PEI phase (not the SEC phase). It is the DXE core that take the tick for the end of the PEI phase. The Platform PrePi module should be responsible to take the tick when it starts for the PEI phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11946 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg/PrePiHobLib: Move Hob functions from PrePiLib to PrePiHobLiboliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11945 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg: Introduce PrePiMemoryAllocationLib (2)oliviermartin
Forgot the new files ... git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11944 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01EmbeddedPkg: Introduce PrePiMemoryAllocationLiboliviermartin
This Memory Allocation Library for PrePi is based on the memory functions of PrePiLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11943 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-15ArmPkg: Fix warnings raised by ARMGCColiviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11829 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11EmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the ↵oliviermartin
function call The UEFI platform designer had to add '%a' to their EBL prompt PCD to print out the path in the shell. This change makes the addition of the path automatically after the platform specific value in the EBL shell. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11798 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08Fix bug in SerialRead returning error if no data was present.andrewfish
No data should not be an error return. Causing lots of REPORT_STATUS_CODE messages out of the TerminalDxe driver. Signed-off-by: andrewfish Reviewed-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11770 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03EmbeddedPkg/SerialDxe: Only read Serial Port if data availableoliviermartin
Poll the Serial Port to ensure data are available. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11730 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03EmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Patholiviermartin
The UART device type and subtype were inccorect. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11729 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03EmbeddedPkg/SimpleTextInOutSerial: Update the cursor positionoliviermartin
It is a UEFI requirement to update the cursor position infomation for each string displayed using calls to EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL->OutputString(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11728 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03EmbeddedPkg/MmcDxe: Fix coding styleoliviermartin
Make the coding style more compliant with the EDK2 coding convention. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11727 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03EmbeddedPkg/MmcDxe: Wait for the MMC controller to be in Transfer Modeoliviermartin
The MMC controller might be ready for data but not be in a 'ready' state to send or receive commands. This fix waits for the MMC controller to be in the correct state. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11726 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkgoliviermartin
The MmcDxe is not ARM architecture specific. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11725 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27EmbeddedPkg/LauterbachT32: Lauterbach T32 Debug Scriptsoliviermartin
These scripts are used for UEFI Source debugging with Lauterbach T32. They can be used at different stages of the UEFI boot time. A README.txt file explains how to use these scripts. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11599 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31EmbeddedPkg/Ebl: Add support for env variable deletionoliviermartin
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-02-01Fix EBL GetCurrentIpAddress & GetCurrentMacAddress commands. Add variable ↵andrewfish
services commands. Fix arugment parsing in EBL. All fixes from ARM Ltd. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11290 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15Update remaining ARM .S files with INTERWORK_FUNC macro. This is the 2nd ↵andrewfish
half of check-in 11167. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11169 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06Fix dec file to pass new stricter error checking.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11124 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-09These libraries moved to ArmPkg, but did not get deleted. Fixing that issue.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10862 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-12Fix bug in LoadFv command. Don't free the buffer the file was loaded into as ↵andrewfish
the DXE Core will point to it as an FV. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10791 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-23Fix more InitializeDebugAgent API change bugs. GDB stub was not turned on in ↵andrewfish
example platforms. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10687 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28NullDmaLib:DmaMap() function needs to return valid DeviceAddress.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10554 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28Add a DMA lib that works like PCI_IO protocl. Add a NULL version that would ↵andrewfish
work with Intel (DMA is coherent no matter what you do). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10551 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18Fix newline at end of file issue.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10508 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18Remove DebugSupport driver for ARM and DebugSupportProtocol. In edk2 you can ↵andrewfish
link debugger into DXE core directly so you don't need a debug support. Also we are going to FIQ for debugger ctrl-c break in, so no need to hook the timer infrastructure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10495 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-11Added a PCD to turn on/off probing Block IO devices to detect ↵andrewfish
add/remove/change. FAT driver does not do this so if the shell does not do this you will get dir hits on an SD Card that has been removed. Default is ON. I moved this feature from device command to main command loop so it gets done after you type return before your command is processed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10479 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-08Fix gcc warning.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10471 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-08Removed connect/disconnect in device command and replace with simple BlockIo ↵andrewfish
readblocks to probe for media change. This relies on ReinstallProtocolInterface() calls in the BlockIo drivers to make the filesystems reload. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10468 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-07Fix svn check in bug that broke CWD. Update the connect disconnect support ↵andrewfish
in device command to minimize operations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10462 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-04Remove probe for removable media from FileLib, it was getting called way too ↵andrewfish
much. Now it is in the EBL shell device command. Cleanup some spacing issues in the lib code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10454 6f19259b-4bc3-4df7-8a09-765794883524