summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CodeModule: BaseTools - tools_def.txt VS2010, VS2010x86, VS2012 and ↵UDK2014lhauch2014-08-011-12/+20
| | | | | | | | | | | | | | | | VS2012x86 update locations for rc.exe tool This change will point to the correct location of the rc.exe tool. RC.exe is used for building UEFI compliant drivers that must have a UEFI_HII_RESOURCE_SECTION generated as part of the .efi image file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lhauch <larry.hauch@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> Reviewed-by: Yingke Liu <yingke.d.liu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15736 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patches r15544 and r15545 from main trunk.Jeff Fan2014-07-282-13/+26
| | | | | | | | | | 1. Remove the assertion which may cause IsDevicePathValid() hang in DEBUG build. 2. Remove the RT attribute for HDDP variable and validate the variable content before using it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15688 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r15576 from main trunk.Jeff Fan2014-06-231-1/+2
| | | | | | | | | PcAtChipsetPkg: Enable timer interrupt through I/O APIC. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15579 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r2668 from BTT.Jeff Fan2014-06-191-2/+3
| | | | | | | | | Fix GCC build rules for ASL sources that contain PCDs. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15569 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r15467 from main trunk.Jeff Fan2014-04-164-2/+42
| | | | | | | | | MdeModulePkg/SecurityPkg: Update TreePei to handle FvInfo2 and update FwVol of PeiCore to always install both FvInfo and FvInfo2. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15472 6f19259b-4bc3-4df7-8a09-765794883524
* Revert r15444 check-in.Tian, Feng2014-04-102-32/+63
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Feng <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15446 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg/UsbMassStorage: Don’t send READ_CAPACITY to unsupported usb ↵Tian, Feng2014-04-102-63/+32
| | | | | | | | | | | mass storage type device. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Feng <feng.tian@intel.com> Reviewed-by: Zeng, Star <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15444 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patches r15401, r15403, r15404, r15405, r15407, r15408, r15409, r15410, ↵Jeff Fan2014-04-0927-219/+180
| | | | | | | | | | | | | | | | | | | | | | | | r15412, r15416, r15425 and r15426 from main trunk. 1. Remove RT attribute for variable PlatDriOver. 2. Update code logic, remove ASSERT and use error handling. 3. Calculate enough space for 2 variables (public key and variable data) instead of directly setting them 1 by 1. Fixed a bug in public key reclaim(). 4. Remove hide TPM support. 5. Add ASSERT to check if NewVariable is NULL. 6. Add NULL pointer check in I2chost. 7. SecurityPkg Variable: Add NULL pointer check. 8. Add check to avoid null pointer deference. 9. Check the input file pointer before use it. 10. Remove unused [PcdsDynamic, PcdsDynamicEx] section. 11.Check the parameter before use it. 12.Add missing parameter comment in AddPubKeyInStore() Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15442 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patches r15357, r15360, r15376, r15385, r15386, r15387, r15388, r15391 ↵Jeff Fan2014-04-0943-504/+1540
| | | | | | | | | | | | | | | | | | | | and r15393 from main trunk. 1. MdeModulePkg PCD: Fix PCD driver to return default data if size mismatch. 2. Fix current TPM device string missing. Use efivarstore instead of varstor, remove TPM disable. 3. Comment PwdCredential driver. 4. Report the setting variable failure to platform through the status code when core cannot handle the error. 5. Support load 64 bit image from 32 bit core. Add more enhancement to check invalid PE format. 6. MdeModulePkg/SecurityPkg Variable: Calculate enough space for PlatformLang and Lang variables and use PcdUefiVariableDefaultLangDeprecate to turn off auto update between PlatformLang and Lang variables. 7. Remove RT attribute for variable LegacyDevOrder 8. Add check to make sure the data be valid. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15441 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patches r15328, r15329, r15330, r15331, r15332, r15333, r15334, r15336, ↵Jeff Fan2014-04-0928-180/+333
| | | | | | | | | | | | | | | | | | | | | | | | | r15337, r15338, r15339, r15340, r15351 and r15356 from main trunk. 1. Remove ASSERT when failed to Get/Set "AttemptOrder" and "ClientId" variable. Removes RT attribute for "AttemptOrder" variable. 2. Fix the return status when physical presence variable and MemoryOverwriteRequestControl variable are corrupt. 3. Remove ASSERT check for SetVariable in FirmwarePerformanceDataTableDxe. 4. Add comments to describe PlatformDriOverrideDxe is used for test purpose. 5. Remove unnecessary dependency in variable driver. 6. Remove the RT attribute for the MemoryTypeInformation variable because it’s not necessary. 7. Add comments for PcdHideTpmSupport. 8. Remove ASSERT when SetVariable for ConOutDev/ConInDev/ErrOutDev variables failed. 9. IntelFrameworkModulePkg AcpiS3SaveDxe: Remove ASSERT, add lock and remove RT for AcpiGlobalVariable variable. 10.Did proper error handling when SetVariable failed, and put RTC write operation at the behind of SetVariable, if SetVariable failed, RTC content could not be changed. 11.Fix the return value bug when updating public key database variable failure. 12.MdeModulePkg/SecurityPkg Variable: Return error status to avoid inconsistency between PlatformLang and Lang. 13.Removes MacString Rt attribute in Ip4Config/Mnp driver. 14.Force UID modules build error to warn user that currently it is just a sample. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15440 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r15321 from main trunk.Jeff Fan2014-03-072-2/+2
| | | | | | | | | Remove unused variable attribute flag. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15322 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r15280 from main trunk.Jeff Fan2014-03-033-3/+18
| | | | | | | | | Add comment for S3BootScriptSaveMemPoll API, since it does not match PI specification. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15281 6f19259b-4bc3-4df7-8a09-765794883524
* Copy ShellBinPkg from EDKII trunk r15261Tian, Hot2014-02-2618-0/+361
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15269 6f19259b-4bc3-4df7-8a09-765794883524
* Copy ShellPkg from EDKII trunk r15257Tian, Hot2014-02-26219-0/+96561
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15268 6f19259b-4bc3-4df7-8a09-765794883524
* remove ShellBinPkg for rebranchTian, Hot2014-02-2618-361/+0
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15267 6f19259b-4bc3-4df7-8a09-765794883524
* remove ShellPkg fro rebranchTian, Hot2014-02-26219-96561/+0
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15266 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patches r15259 and r15263 from main trunk.Jeff Fan2014-02-262-2/+2
| | | | | | | | | | | 1. Fix the bug for the structure definition of _EFI_ADAPTER_INFORMATION_PROTOCOL in AdapterInformation. 2. When exit from GetFullStringFromHiiFormPackages function, should update the PointerProgress parameter if necessary. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15265 6f19259b-4bc3-4df7-8a09-765794883524
* Create UDK2014 branch from EDKII trunk r15251Tian, Hot2014-02-260-0/+0
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014@15264 6f19259b-4bc3-4df7-8a09-765794883524
* Check the Config access protocol before use it.Eric Dong2014-02-212-15/+20
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15251 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: Update "ls" command to better handle "-r" parameterJaben Carsey2014-02-181-104/+136
| | | | | | | | | | This makes sure that recursion into sub directories looks through all subdirectories, not just those that match the initial search pass. Also only prints out any information for directories in which at least one matching file is found. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <Jaben.Carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15250 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmRealViewEbPkg: Fixed assertion in RuntimeDxeOlivier Martin2014-02-182-8/+8
| | | | | | | | | | | | An assertion that was comparing the block size with the size of the storage was failing. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15249 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmRealViewEbPkg: Added MMC supportOlivier Martin2014-02-183-6/+29
| | | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15248 6f19259b-4bc3-4df7-8a09-765794883524
* Update configrequest string at runtime for dynamic created question.Eric Dong2014-02-183-97/+32
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15247 6f19259b-4bc3-4df7-8a09-765794883524
* Update the ValueChanged flag before call CHANGED callback type.Eric Dong2014-02-181-5/+9
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15246 6f19259b-4bc3-4df7-8a09-765794883524
* Add flag to make UEFI run from DRAM or FLASH for FVPsOlivier Martin2014-02-172-1/+25
| | | | | | | | | | | | | - By setting the 'ARM_FVP_RUN_NORFLASH' flag at compile time UEFI will be linked to run from NOR FLASH0 on FVPs. - The RAM load location is currently set to 128MB from base of DRAM. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15245 6f19259b-4bc3-4df7-8a09-765794883524
* Set the Reset flag if user select one statement which has reset attribute ↵Eric Dong2014-02-131-0/+10
| | | | | | | | | | and not has storage. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15244 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed the issue in ExitBootServices() implementation to avoid the potential ↵Gao, Liming2014-02-131-9/+9
| | | | | | | | | | | | boot service usage after () after gCpu->DisableInterrupt (). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gao, Liming <liming.gao@intel.com> Reviewed-By: Olivier Martin <Olivier.martin@arm.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Zeng, Star <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15243 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: refactor elimination of non-replaced environment variablesJaben Carsey2014-02-121-34/+108
| | | | | | | | | | This changes how non-replaced environment variables are found and eliminated from the command line. This new method makes sure that the found environment variables are not using escaped characters and that they do not stretch over quoted strings Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15242 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: CRLF fixupLeif Lindholm2014-02-1220-1055/+1055
| | | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15241 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Added ArmReadMidr()Olivier Martin2014-02-125-4/+29
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15240 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/BdsLib: Removed unused MachineType argument (AArch64)Olivier Martin2014-02-121-5/+2
| | | | | | | | | | | MachineType was used on 32-bit. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15239 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Removed unused header 'BdsUnixLib.h'Olivier Martin2014-02-122-40/+1
| | | | | | | | | | | This header contains a function that does not exist. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15238 6f19259b-4bc3-4df7-8a09-765794883524
* EmbeddedPkg/FdtLib: Updated libfdt to 1.4.0Olivier Martin2014-02-129-66/+176
| | | | | | | | | | | | | | | | | Last commit from git://git.jdl.com/software/dtc.git: commit 65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf Author: Jon Loeliger <jdl@jdl.com> Date: Sat Jun 22 12:54:28 2013 -0500 Tag Version 1.4.0 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15237 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/BdsLib: Let the user press enter when inputting booleansOlivier Martin2014-02-121-2/+4
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15236 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg/DiskIo: Introduced 'PcdDiskIoDataBufferBlockNum'Olivier Martin2014-02-124-14/+14
| | | | | | | | | | | | | PcdDiskIoDataBufferBlockNum replaced the hardcoded value into the Disk I/O driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Tian, Feng <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15235 6f19259b-4bc3-4df7-8a09-765794883524
* Keep highlight on the current highlight menu if form auto exit, not exit by ↵Eric Dong2014-02-122-15/+69
| | | | | | | | | | user input. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15234 6f19259b-4bc3-4df7-8a09-765794883524
* Add more check for PE COFF SizeOfHeader field.jyao12014-02-121-1/+25
| | | | | | | | Signed-off by: jiewen yao <jiewen.yao@intel.com> reviewed by: eric dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15233 6f19259b-4bc3-4df7-8a09-765794883524
* Set the free buffer pointer to NULL to avoid later free again.Eric Dong2014-02-121-0/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15232 6f19259b-4bc3-4df7-8a09-765794883524
* Add code to check the return status for ShellReadFile and ShellWriteFile ↵Shumin Qiu2014-02-122-2/+13
| | | | | | | | | | | when execute the 'cp' command. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15231 6f19259b-4bc3-4df7-8a09-765794883524
* Add code to check whether the pointer 'PathForReturn' in ShellProtocol.c is ↵Shumin Qiu2014-02-121-1/+3
| | | | | | | | | | | NULL before used. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15230 6f19259b-4bc3-4df7-8a09-765794883524
* Update the logic, only check the value change status for user input action, ↵Eric Dong2014-02-123-23/+223
| | | | | | | | | | not detect the change caused by Hii driver change through SetBrowserData function. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15229 6f19259b-4bc3-4df7-8a09-765794883524
* Adjust date/time opcode before use it.Eric Dong2014-02-121-0/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15228 6f19259b-4bc3-4df7-8a09-765794883524
* Fix several typo issues.Elvin Li2014-02-122-24/+24
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Elvin Li <elvin.li@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15227 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: Fix changing to file system with 2 colons like "fs0::"Jaben Carsey2014-02-111-2/+4
| | | | | | | | | | first colon must be last character in the string. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15226 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: Fix uninitialized Variable errorJaben Carsey2014-02-111-1/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15225 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: InternalShellExecuteDevicePath: avoid memory leaksBrendan Jackman2014-02-111-20/+22
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15224 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: Make Argv[0] the full file path of the commandBrendan Jackman2014-02-111-0/+36
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15223 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: Error out when ProcessCommandLine failsBrendan Jackman2014-02-111-1/+4
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15222 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: Fixed Memory leak in UefiMain()Brendan Jackman2014-02-111-21/+27
| | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15221 6f19259b-4bc3-4df7-8a09-765794883524
* ShellPkg: Manually parse parametersBrendan Jackman2014-02-111-93/+155
| | | | | | | | | | | | | | | | | We can't use ShellCommandLineParse as it would error out when the shell was called with args like "cp -r foo bar", because "-r" is not a recognised shell option A different way to avoid some of this manual parsing would be to prepend '^' to each argument, but that would still require the degree of parsing necessary to work out which words are part of the command and which are shell options. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15220 6f19259b-4bc3-4df7-8a09-765794883524