Commit Graph

124 Commits

Author SHA1 Message Date
jcarsey b0475f1289 clarify library type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11432 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:06:46 +00:00
jcarsey 78ed876bf4 remove ASSERT.
zero memory allocations.
add support for virtual devices without driver binding.

add #define protection for the header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11431 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:06:23 +00:00
jcarsey 0dc527e780 add absolute value MACRO.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11430 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:04:15 +00:00
jcarsey 4bbdc0e1bd FileHandleLib - use standard unicode file tag.
ShellCEntryLib - add #define protection.
ShellCommandLib - add optional sorting of command list.
ShellLib - add string-to-number with EFI_STATUS return value for verification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11429 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:03:58 +00:00
jcarsey 7d271d7b01 move include file line under #define protection.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11428 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:01:56 +00:00
jcarsey 345cd2357a cls - add input verification.
echo - add input verificaiton.
help - prints out commands in sorted order.
touch - add comments.
type - add error when file not found.  add comments.

main lib files:
add comments, clarify error messages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11427 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 21:01:08 +00:00
jcarsey b54fd049bd Cd - add more input verification.
Cp - support "\" as root of drive indicator.
Load - invert "-nc" to not connect.
Ls - ignore archive file attribute.
Map - add more input verification.  fix add by handle.
Mv - support overwrite question. support "\" as root of drive indicator.
Parse - add comments.
Rm - add comments.
TimeDate - add more input verification. add comments.
Vol - add new command.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11426 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 20:58:08 +00:00
jcarsey 2398d9b1d7 update functionality on Bcfg command.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11425 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 20:51:19 +00:00
jcarsey 252d945725 updated comments and added string-to-number conversion with return value to indicate success or failure. All parameter checking updated to non-case-sensitive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11424 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 20:49:53 +00:00
jcarsey 68fb05272b Add Network1 profile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11423 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 20:47:02 +00:00
jcarsey 9586a35127 update allocation to use Zero pool library function.
correct copyright date.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11422 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 20:45:41 +00:00
jcarsey 4eb59be368 renaming the BaseFileHandleLib to UefiFileHandleLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11421 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 20:43:54 +00:00
jcarsey 77dcec128b Updating level 1 commands.
exit - correctly convert the parameter to the return code.
for  - update string-to-number conversion.
if   - use shell string-to-number conversion and add comments.
stall- add command

main lib files:
add comments, clarify user visible strings, add stall.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11420 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-25 20:43:03 +00:00
mdkinney f506e94f8a Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package.






git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11376 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 22:40:23 +00:00
hhtian d08fadb0e2 update copyright format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11153 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 15:19:03 +00:00
jcarsey c154b99708 fixes for NULL verification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11125 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 18:10:34 +00:00
jcarsey 5f88eebe2b fix for exit was specified in the startup script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11114 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 20:31:45 +00:00
jcarsey f50204289c fix unaligned device path node access.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11089 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-24 16:12:11 +00:00
jcarsey da70d02589 fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11082 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 22:49:12 +00:00
jcarsey 5d73d92f56 Add "Debug1" profile (all but Edit and HexEdit commands)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11068 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 22:36:37 +00:00
jcarsey 75aadf59c3 adding "Install1" profile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11067 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 22:32:21 +00:00
jcarsey 8be0ba36fc fixes for IPF, CTRL-C support, and file redirection.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11066 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 22:31:47 +00:00
jcarsey 3a4932d079 adding new commands (libraries) to the build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11065 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 20:55:07 +00:00
jcarsey ff51746bd4 update error handling to use less ASSERT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11053 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 21:40:12 +00:00
jcarsey a12e31e680 Update return value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11052 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 19:50:46 +00:00
jcarsey a301fe0cc8 Clarify the MARCO a little.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11051 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 19:46:26 +00:00
jcarsey 4ba4961641 Adding Driver1 profile commands to the UEFI Shell 2.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11050 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 19:40:21 +00:00
jcarsey 6fd0a8c9ac remove link to old inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10911 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-05 15:27:28 +00:00
jcarsey 3e082d5826 Verify more memory allocations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10910 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:44:57 +00:00
jcarsey 9ea69f8a05 Verify memory allocations were successful.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10909 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:30:40 +00:00
jcarsey d38a107995 change the en-dash to the standard dash character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10908 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:29:30 +00:00
jcarsey e53bf79de7 verify that a memory allocation was successful.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10907 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:28:35 +00:00
jcarsey 0ab85bef03 move DeleteScriptFileStruct from a private to a public function. This allows for better memory cleanup when errors occur.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10906 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:26:29 +00:00
jcarsey 40d7a9cfaa fix a misspelling.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10905 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:25:24 +00:00
jcarsey 3c865f2064 1) Removing ASSERTs for proper return values.
2) Verifying that memory allocations were successful.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10904 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-04 16:24:30 +00:00
jcarsey 5dcb535512 No need to sort arrays of 1 element.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10899 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-28 18:57:40 +00:00
jcarsey 2f6b90fbcd delete unnecessary files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10898 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-28 15:23:53 +00:00
jljusten 7effcbff29 ShellPkg: Fix "unreachable code" warning with VS2005
Since all paths of the switch block now return, it
is not possible to reach the code following the switch
block.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10894 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-20 07:03:51 +00:00
jcarsey 1ca79586f4 revert/update of a change this morning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10892 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 21:58:15 +00:00
jcarsey 89fb1cf0db removing incorrect files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10891 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 21:32:38 +00:00
jljusten e97233217e ShellPkg: Fix several GCC compiler warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10890 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 20:09:48 +00:00
jljusten a48ea69457 ShellPkg: Remove optimization disable compiler flag
This flag is not required, and also is only compatible
with Visual Studio.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10889 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 20:09:17 +00:00
jljusten e26d7b5975 ShellPkg: Fix EFIAPI usage inconsistencies
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10888 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 20:08:57 +00:00
jljusten 8d095e78c6 ShellPkg: Fix path issues for Linux build support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10887 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 20:08:20 +00:00
jljusten 8d0eff6317 ShellPkg: Remove unnecessary package dependencies
Remove unnecessary references to IntelFrameworkPkg and
IntelFrameworkModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10886 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-17 20:07:42 +00:00
jcarsey 36b4e01a25 remove extra file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10884 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 22:37:24 +00:00
jcarsey 94f1ff8a87 remove extra file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10883 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 22:37:00 +00:00
hhtian d18221e82e Update readme format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10878 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 00:43:45 +00:00
hhtian fbec9c0f1c copyright format update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10875 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-14 12:22:42 +00:00
jcarsey a405b86d27 udk2010.up2.shell initial release.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10874 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-14 05:18:09 +00:00