mirror_edk2.git
10 years agoArmPlatformPkg/Bds: Connect all drivers if the SimpleTextIO is not available
oliviermartin [Thu, 31 Mar 2011 12:28:01 +0000 (12:28 +0000)]
ArmPlatformPkg/Bds: Connect all drivers if the SimpleTextIO is not available

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

10 years agoArmPkg: Fix InternalMemCopyMem()
oliviermartin [Thu, 31 Mar 2011 12:26:20 +0000 (12:26 +0000)]
ArmPkg: Fix InternalMemCopyMem()

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

10 years agoArmPkg/ArmDisassemblerLib: Fix register list
oliviermartin [Thu, 31 Mar 2011 12:24:44 +0000 (12:24 +0000)]
ArmPkg/ArmDisassemblerLib: Fix register list

'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

10 years agoArmPlatformPkg: Fix build
oliviermartin [Thu, 31 Mar 2011 12:24:08 +0000 (12:24 +0000)]
ArmPlatformPkg: Fix build

Declared DebugPrintErrorLevelLib for the ArmPlatformPkg builds.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11484 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/PrePeiCore: Fix build
oliviermartin [Thu, 31 Mar 2011 12:23:19 +0000 (12:23 +0000)]
ArmPlatformPkg/PrePeiCore: Fix build

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

10 years agoArmPlatformPkg/Bds: Fix build
oliviermartin [Thu, 31 Mar 2011 12:22:39 +0000 (12:22 +0000)]
ArmPlatformPkg/Bds: Fix build

Renamed BdsLinuxLib.h into BdsUnixLib.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11482 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPlatformPkg/ArmPlatformLib: Move the UEFI memory partionning to MemoryInitPei
oliviermartin [Thu, 31 Mar 2011 12:21:41 +0000 (12:21 +0000)]
ArmPlatformPkg/ArmPlatformLib: Move the UEFI memory partionning to MemoryInitPei

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

10 years agoArmPlatformPkg/ArmPlatformLib: Introduce the function ArmPlatformGetBootMode()
oliviermartin [Thu, 31 Mar 2011 12:18:28 +0000 (12:18 +0000)]
ArmPlatformPkg/ArmPlatformLib: Introduce the function ArmPlatformGetBootMode()

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

10 years agoArmPkg/BdsLib: Fix GetSystemMemoryResources()
oliviermartin [Thu, 31 Mar 2011 12:17:37 +0000 (12:17 +0000)]
ArmPkg/BdsLib: Fix GetSystemMemoryResources()

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

10 years agoArmPkg/BdsLib: Prevent application to hang the platform using watchdog
oliviermartin [Thu, 31 Mar 2011 12:16:28 +0000 (12:16 +0000)]
ArmPkg/BdsLib: Prevent application to hang the platform using watchdog

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

10 years agoEmbeddedPkg/Ebl: Add support for env variable deletion
oliviermartin [Thu, 31 Mar 2011 12:14:06 +0000 (12:14 +0000)]
EmbeddedPkg/Ebl: Add support for env variable deletion

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

10 years agoArmPlatformPkg: Introduce ArmPlatformInitialize() function
oliviermartin [Thu, 31 Mar 2011 12:12:58 +0000 (12:12 +0000)]
ArmPlatformPkg: Introduce ArmPlatformInitialize() function

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

10 years agoArmPlatformPkg: Rename gEmbeddedTokenSpaceGuid.PcdEmbeddedFd* into gArmTokenSpaceGuid...
oliviermartin [Thu, 31 Mar 2011 12:11:12 +0000 (12:11 +0000)]
ArmPlatformPkg: Rename gEmbeddedTokenSpaceGuid.PcdEmbeddedFd* into 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

10 years agoArmPlatformPkg: Use Serial print function to print out non debugging information
oliviermartin [Thu, 31 Mar 2011 12:09:31 +0000 (12:09 +0000)]
ArmPlatformPkg: Use Serial print function to print out non debugging information

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

10 years agoArmPlatformPkg/SP804Timer: Fix IRQ handler when the Timer IRQ is shared
oliviermartin [Thu, 31 Mar 2011 11:35:10 +0000 (11:35 +0000)]
ArmPlatformPkg/SP804Timer: Fix IRQ handler when the Timer IRQ is shared

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

10 years agoArmPkg/ArmLib: Define the macro IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE()
oliviermartin [Thu, 31 Mar 2011 11:33:42 +0000 (11:33 +0000)]
ArmPkg/ArmLib: Define the macro IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE()

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

10 years agoArmPlatformPkg/CTA9x4: Remove Variable Storage FD file from FDF
oliviermartin [Thu, 31 Mar 2011 11:32:25 +0000 (11:32 +0000)]
ArmPlatformPkg/CTA9x4: Remove Variable Storage FD file from FDF

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

10 years agoArmPkg/ArmV7: Fix TT_DESCRIPTOR_LARGEPAGE_CACHE_POLICY_MASK mask
oliviermartin [Thu, 31 Mar 2011 11:29:46 +0000 (11:29 +0000)]
ArmPkg/ArmV7: Fix TT_DESCRIPTOR_LARGEPAGE_CACHE_POLICY_MASK mask

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

10 years agoArmPkg/PL390GixDxe: Return from the interrupt handler when it is a sporadic interrupt
oliviermartin [Thu, 31 Mar 2011 11:28:25 +0000 (11:28 +0000)]
ArmPkg/PL390GixDxe: Return from the interrupt handler when it is a sporadic interrupt

Sporadic interrupts must not be handled by any interrupt handlers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11469 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/CpuDxe: Replace SIZE_4KB by TT_DESCRIPTOR_PAGE_SIZE
oliviermartin [Thu, 31 Mar 2011 11:26:00 +0000 (11:26 +0000)]
ArmPkg/CpuDxe: Replace SIZE_4KB by TT_DESCRIPTOR_PAGE_SIZE

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11468 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/Mmu: Support page size granularity in the initial MMU setting
oliviermartin [Thu, 31 Mar 2011 11:23:55 +0000 (11:23 +0000)]
ArmPkg/Mmu: Support page size granularity in the initial MMU setting

Formerly, it was only possible to use section size granularity for the
translation table regions.
This change allows to define initial translation table regions with
4K-byte granularty (page size granularity).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11467 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/PL180MciDxe: Improve error handling
oliviermartin [Thu, 31 Mar 2011 11:20:15 +0000 (11:20 +0000)]
ArmPkg/PL180MciDxe: Improve error handling

Get more error handling using PL180 status registers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11466 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoArmPkg/MmcDxe: Fix some returned conditions for MMC/SD commands
oliviermartin [Thu, 31 Mar 2011 11:16:02 +0000 (11:16 +0000)]
ArmPkg/MmcDxe: Fix some returned conditions for MMC/SD commands

Additional support for some states covered by the specifications.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11465 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEmbeddedPkg/MmcDxe: Fix protocols uninstallation in Stop() function
oliviermartin [Thu, 31 Mar 2011 11:11:59 +0000 (11:11 +0000)]
EmbeddedPkg/MmcDxe: Fix protocols uninstallation in Stop() function

The EFI handle argument passed to disconnect the protocol was not correct.
A pointer to this handle was passed as argument instead to be only the
handle itself.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11464 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. solve build time issue that FV size is exceed due to more modules is included.
erictian [Thu, 31 Mar 2011 09:18:14 +0000 (09:18 +0000)]
1. solve build time issue that FV size is exceed due to more modules is included.
2. solve invalid instruction issue when running SecMain executive.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11463 6f19259b-4bc3-4df7-8a09-765794883524

10 years agofix for the cp shell command - halt when an error was encountered and also fix the...
jcarsey [Wed, 30 Mar 2011 21:37:01 +0000 (21:37 +0000)]
fix for the cp shell command - halt when an error was encountered and also fix the error message displayed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11462 6f19259b-4bc3-4df7-8a09-765794883524

10 years agodidn't mean to remove this comment.
jcarsey [Wed, 30 Mar 2011 21:05:25 +0000 (21:05 +0000)]
didn't mean to remove this comment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11461 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremove redirection command line updating from the shell core code.
jcarsey [Wed, 30 Mar 2011 21:04:57 +0000 (21:04 +0000)]
remove redirection command line updating from the shell core code.
add redirection command line updating to the redirection support function (UpdateStdInStdOutStdErr).
add more user input verification to redirection.

reduce user input verification from inside quoted parameters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11460 6f19259b-4bc3-4df7-8a09-765794883524

10 years agopointer verification (not NULL) and buffer overrun fixes.
jcarsey [Wed, 30 Mar 2011 19:33:03 +0000 (19:33 +0000)]
pointer verification (not NULL) and buffer overrun fixes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11459 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd more user input verification to connect and vol commands.
jcarsey [Wed, 30 Mar 2011 16:36:42 +0000 (16:36 +0000)]
add more user input verification to connect and vol commands.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11458 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremove unused variable.
jcarsey [Wed, 30 Mar 2011 16:12:42 +0000 (16:12 +0000)]
remove unused variable.
add some parens.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11457 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix ICC compilation failure. No functionality impact.
niruiyu [Wed, 30 Mar 2011 04:37:59 +0000 (04:37 +0000)]
Fix ICC compilation failure. No functionality impact.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11456 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate inf file to follow spec.
ydong10 [Wed, 30 Mar 2011 03:41:33 +0000 (03:41 +0000)]
Update inf file to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11455 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate inf file to follow spec.
ydong10 [Wed, 30 Mar 2011 03:40:42 +0000 (03:40 +0000)]
Update inf file to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11454 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate inf file to follow spec.
ydong10 [Wed, 30 Mar 2011 03:38:50 +0000 (03:38 +0000)]
Update inf file to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11453 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate inf file to follow spec.
ydong10 [Wed, 30 Mar 2011 03:37:47 +0000 (03:37 +0000)]
Update inf file to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11452 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate inf file to follow spec.
ydong10 [Wed, 30 Mar 2011 03:36:54 +0000 (03:36 +0000)]
Update inf file to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11451 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoclarify error message when listing files based on a metaname without a current workin...
jcarsey [Tue, 29 Mar 2011 20:19:51 +0000 (20:19 +0000)]
clarify error message when listing files based on a metaname without a current working directory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11450 6f19259b-4bc3-4df7-8a09-765794883524

10 years agofix changing time daylight settings without changing the time.
jcarsey [Tue, 29 Mar 2011 19:59:37 +0000 (19:59 +0000)]
fix changing time daylight settings without changing the time.
add extra output for daylight setting.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11449 6f19259b-4bc3-4df7-8a09-765794883524

10 years agosmbiosview - add user input verification.
jcarsey [Tue, 29 Mar 2011 19:31:18 +0000 (19:31 +0000)]
smbiosview - add user input verification.

HexEdit/Edit
 - More user input verification for HexEdit.
 - updated title bar refreshment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11448 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoinitialize variable before error returns.
jcarsey [Tue, 29 Mar 2011 19:28:20 +0000 (19:28 +0000)]
initialize variable before error returns.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11447 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoTypo for the old patch enhance code style.
ydong10 [Tue, 29 Mar 2011 08:57:21 +0000 (08:57 +0000)]
Typo for the old patch enhance code style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11446 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd DevicePathFromText support for ACPI _ADR node.
niruiyu [Tue, 29 Mar 2011 08:24:21 +0000 (08:24 +0000)]
Add DevicePathFromText support for ACPI _ADR node.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11445 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoprevents "" from being the result of trying to open the root of a drive.
jcarsey [Mon, 28 Mar 2011 21:49:17 +0000 (21:49 +0000)]
prevents "" from being the result of trying to open the root of a drive.
more input validation on vol command.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11444 6f19259b-4bc3-4df7-8a09-765794883524

10 years agocp - fix conditional for memory de-allocaiton.
jcarsey [Mon, 28 Mar 2011 18:42:51 +0000 (18:42 +0000)]
cp - fix conditional for memory de-allocaiton.
string file - fix copyright date.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11443 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd right PCD Library instance mapping
hhtian [Sat, 26 Mar 2011 05:53:59 +0000 (05:53 +0000)]
Add right PCD Library instance mapping

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11442 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd all the command libraries.
jcarsey [Fri, 25 Mar 2011 22:24:20 +0000 (22:24 +0000)]
add all the command libraries.
add NetLib
add all NULL-named command libraries.
update version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11441 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoconsole logger - support disabling the console out.
jcarsey [Fri, 25 Mar 2011 22:23:05 +0000 (22:23 +0000)]
console logger - support disabling the console out.
console wrapper - comment fixes.
file handle wrappers - allow for creation of layers of file interfaces to automatically convert ASCII to UCS-2.
shell - add CTRL-S support and change how searching for startup.nsh.
shellenvvar - zero the memory allocations.
shall man parser - input verification on the help text.
shellparameters protocol - input redirection verification enhanced, leave ^ behind when not used.
shell protocol - remove ASSERTs, fixed GetDeviceName, allow mapping of BlockIO devices, and enhanced key monitoring for CTRL-S (now CTRL-S and CTRL-C).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11440 6f19259b-4bc3-4df7-8a09-765794883524

10 years agofix comments.
jcarsey [Fri, 25 Mar 2011 21:22:50 +0000 (21:22 +0000)]
fix comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11439 6f19259b-4bc3-4df7-8a09-765794883524

10 years agocomp - add comments and add input verification
jcarsey [Fri, 25 Mar 2011 21:22:20 +0000 (21:22 +0000)]
comp - add comments and add input verification
bcfg - updated for bugs.
compress - rename for coding standards. add comments.
dblk - add comments, input verification, and a header line
dmem - add comments, add input verification, add system table info
dmpstore - add comments
eficompress - add comments and add input verification
efidecompress - add comments and add input verification
loadpcirom - add comments and more output messages
memmap - add more output to exceed the spec.
mm - move functions, add comments, add input verification.
mode - add comment
pci - add input verification.
SerMode - add comments and add input verification
setsize - add comments and add input verification
setvar - add comments and add input verification
smbiosview - add input verification.

clarify error messages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11438 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd Edit and Hexedit shared features.
jcarsey [Fri, 25 Mar 2011 21:15:26 +0000 (21:15 +0000)]
add Edit and Hexedit shared features.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11437 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd Edit and HexEdit commands.
jcarsey [Fri, 25 Mar 2011 21:15:07 +0000 (21:15 +0000)]
add Edit and HexEdit commands.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11436 6f19259b-4bc3-4df7-8a09-765794883524

10 years agozero memory allocation.
jcarsey [Fri, 25 Mar 2011 21:14:20 +0000 (21:14 +0000)]
zero memory allocation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11435 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoconnect - add comments and add input verification
jcarsey [Fri, 25 Mar 2011 21:13:43 +0000 (21:13 +0000)]
connect - add comments and add input verification
devices - add comments and add input verification
devtree - add comments and add input verification
dh - add comments, add input verification, add support for "-d"
disconnect - add comments and add input verification
drivers - add comments
drvcfg - add comment
drvdiag - add comments, add input verification, and fix language use
openinfo - add comments and add input verification
reconnect - add comment
unload - add input verification.

main library files: add comments, #define protection, and more output to the user.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11434 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoconsist mapping - add comments and change variable names.
jcarsey [Fri, 25 Mar 2011 21:09:21 +0000 (21:09 +0000)]
consist mapping - add comments and change variable names.
UefiShellCommandLib - add comments and zero out memory allocations.

add guid to inf file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11433 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoclarify library type.
jcarsey [Fri, 25 Mar 2011 21:06:46 +0000 (21:06 +0000)]
clarify library type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11432 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremove ASSERT.
jcarsey [Fri, 25 Mar 2011 21:06:23 +0000 (21:06 +0000)]
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

10 years agoadd absolute value MACRO.
jcarsey [Fri, 25 Mar 2011 21:04:15 +0000 (21:04 +0000)]
add absolute value MACRO.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11430 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFileHandleLib - use standard unicode file tag.
jcarsey [Fri, 25 Mar 2011 21:03:58 +0000 (21:03 +0000)]
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

10 years agomove include file line under #define protection.
jcarsey [Fri, 25 Mar 2011 21:01:56 +0000 (21:01 +0000)]
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

10 years agocls - add input verification.
jcarsey [Fri, 25 Mar 2011 21:01:08 +0000 (21:01 +0000)]
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

10 years agoCd - add more input verification.
jcarsey [Fri, 25 Mar 2011 20:58:08 +0000 (20:58 +0000)]
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

10 years agoupdate functionality on Bcfg command.
jcarsey [Fri, 25 Mar 2011 20:51:19 +0000 (20:51 +0000)]
update functionality on Bcfg command.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11425 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoupdated comments and added string-to-number conversion with return value to indicate...
jcarsey [Fri, 25 Mar 2011 20:49:53 +0000 (20:49 +0000)]
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

10 years agoAdd Network1 profile.
jcarsey [Fri, 25 Mar 2011 20:47:02 +0000 (20:47 +0000)]
Add Network1 profile.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11423 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoupdate allocation to use Zero pool library function.
jcarsey [Fri, 25 Mar 2011 20:45:41 +0000 (20:45 +0000)]
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

10 years agorenaming the BaseFileHandleLib to UefiFileHandleLib.
jcarsey [Fri, 25 Mar 2011 20:43:54 +0000 (20:43 +0000)]
renaming the BaseFileHandleLib to UefiFileHandleLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11421 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdating level 1 commands.
jcarsey [Fri, 25 Mar 2011 20:43:03 +0000 (20:43 +0000)]
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

10 years agoRefine code to make code follow the coding style.
ydong10 [Fri, 25 Mar 2011 05:36:54 +0000 (05:36 +0000)]
Refine code to make code follow the coding style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11419 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd PCD Library instance mapping for GraphicsConsole driver.
rsun3 [Thu, 24 Mar 2011 11:05:27 +0000 (11:05 +0000)]
Add PCD Library instance mapping for GraphicsConsole driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11418 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg Terminal: Add text mode for PcdConOutColumn/Row
jljusten [Wed, 23 Mar 2011 02:11:31 +0000 (02:11 +0000)]
MdeModulePkg Terminal: Add text mode for PcdConOutColumn/Row

Add a new text mode with a resolution of PcdConOutColumn x PcdConOutRow.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11416 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdeModulePkg GraphicsConsole: Add text mode for PcdConOutColumn/Row
jljusten [Wed, 23 Mar 2011 02:11:14 +0000 (02:11 +0000)]
MdeModulePkg GraphicsConsole: Add text mode for PcdConOutColumn/Row

Add a new text mode with a resolution of PcdConOutColumn x PcdConOutRow.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11415 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix gBS->Stall bug. The current code would only stall for a single timer tick. Fixing...
andrewfish [Tue, 22 Mar 2011 20:30:35 +0000 (20:30 +0000)]
Fix gBS->Stall bug. The current code would only stall for a single timer tick. Fixing this issue exposed another issue with time slip in the stall that was also fixed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11414 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/PlatformPei: Fix issue with 'RELEASE' tag build
jljusten [Tue, 22 Mar 2011 04:54:18 +0000 (04:54 +0000)]
OvmfPkg/PlatformPei: Fix issue with 'RELEASE' tag build

When building in release mode on OVMF, the ASSERT_EFI_ERROR
macro is empty.  So, to set the BootMode, in a release build,
it must be outside of ASSERT_EFI_ERROR.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11413 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOvmfPkg/PlatformPei: Set BootMode, install MasterBootMode PPI
jljusten [Tue, 22 Mar 2011 01:55:08 +0000 (01:55 +0000)]
OvmfPkg/PlatformPei: Set BootMode, install MasterBootMode PPI

MdeModulePkg/Core/DxeIplPeim is now dependent on
gEfiPeiMasterBootModePpiGuid in order to run.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11412 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix ICC build failure.
lgao4 [Fri, 18 Mar 2011 05:59:21 +0000 (05:59 +0000)]
Fix ICC build failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11411 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUse exactly match method for HiiCompareLanguage.
ydong10 [Thu, 17 Mar 2011 07:31:35 +0000 (07:31 +0000)]
Use exactly match method for HiiCompareLanguage.
Compare all of Language2 against the characters in Language1 up to the first ‘;’ or Null terminator.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11409 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRemove the local LegacyBiosMpTable.h. It has been defined in MdePkg.
lgao4 [Thu, 17 Mar 2011 06:30:50 +0000 (06:30 +0000)]
Remove the local LegacyBiosMpTable.h. It has been defined in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11408 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd the missing LegacyBiosMpTable.h per MultiProcessor Specification.
lgao4 [Thu, 17 Mar 2011 06:30:21 +0000 (06:30 +0000)]
Add the missing LegacyBiosMpTable.h per MultiProcessor Specification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11407 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix LocateDevicePath() to return proper error status code. It was returning EFI_INVA...
mdkinney [Wed, 16 Mar 2011 16:17:09 +0000 (16:17 +0000)]
Fix LocateDevicePath() to return proper error status code.  It was returning EFI_INVALID_PARAMETER if Device was NULL even if not handles matched the search criteria.  The proper behavior is to return EFI_NOT_FOUND if not handles match the search criteria, and only return EFI_INVALID_PARAMETER if at least one match is found and Device is NULL.

Also update function header comment block for LocateDevicePath() to match UEFI Specification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11406 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoNew EDK Shell binary (r50).
niruiyu [Wed, 16 Mar 2011 06:20:38 +0000 (06:20 +0000)]
New EDK Shell binary (r50).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11405 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd description for 64-byte FIFO enable bit for PcdSerialFifoControl.
mdkinney [Wed, 16 Mar 2011 02:58:51 +0000 (02:58 +0000)]
Add description for 64-byte FIFO enable bit for PcdSerialFifoControl.
Update SerialPortInitializer() to properly preserve BIT5 in FCR instead of BIT4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11404 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd support for the GetTimerValue() to the CPU AP for NT32. This also requires some...
mdkinney [Wed, 16 Mar 2011 00:38:17 +0000 (00:38 +0000)]
Add support for the GetTimerValue() to the CPU AP for NT32.  This also requires some performance counter APIs to be added to the WinNtThunk Protocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11403 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine the inf and dec to follow spec.
ydong10 [Tue, 15 Mar 2011 07:13:45 +0000 (07:13 +0000)]
Refine the inf and dec to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11402 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoReserve more space width for Option value.
lgao4 [Tue, 15 Mar 2011 06:35:57 +0000 (06:35 +0000)]
Reserve more space width for Option value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11401 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to follow coding style.
ydong10 [Tue, 15 Mar 2011 00:53:52 +0000 (00:53 +0000)]
Refine code to follow coding style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11400 6f19259b-4bc3-4df7-8a09-765794883524

10 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11399 6f19259b...
ydong10 [Tue, 15 Mar 2011 00:52:27 +0000 (00:52 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11399 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRoll back change to previous version. Language should be compared as the exact match.
lgao4 [Mon, 14 Mar 2011 10:25:29 +0000 (10:25 +0000)]
Roll back change to previous version. Language should be compared as the exact match.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11398 6f19259b-4bc3-4df7-8a09-765794883524

10 years agojudge recovery mode at ReadOnlyVariable2Ppi interface. if yes, then return EFI_NOT_FOUND
erictian [Mon, 14 Mar 2011 09:57:55 +0000 (09:57 +0000)]
judge recovery mode at ReadOnlyVariable2Ppi interface. if yes, then return EFI_NOT_FOUND

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11397 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoNew EDK Shell binary (r49) with LibGetString() fix.
niruiyu [Mon, 14 Mar 2011 09:36:46 +0000 (09:36 +0000)]
New EDK Shell binary (r49) with LibGetString() fix.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11396 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance inf to follow spec.
ydong10 [Mon, 14 Mar 2011 08:50:25 +0000 (08:50 +0000)]
Enhance inf to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11395 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance inf to follow spec.
ydong10 [Mon, 14 Mar 2011 08:47:08 +0000 (08:47 +0000)]
Enhance inf to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11394 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance inf to follow spec.
ydong10 [Mon, 14 Mar 2011 08:46:05 +0000 (08:46 +0000)]
Enhance inf to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11393 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance inf and dec file to follow specs.
ydong10 [Mon, 14 Mar 2011 08:43:59 +0000 (08:43 +0000)]
Enhance inf and dec file to follow specs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11392 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance dec file to follow spec.
ydong10 [Mon, 14 Mar 2011 08:40:55 +0000 (08:40 +0000)]
Enhance dec file to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11391 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance inf to follow spec.
ydong10 [Mon, 14 Mar 2011 08:40:20 +0000 (08:40 +0000)]
Enhance inf to follow spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11390 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoEnhance inf file to follow inf spec.
ydong10 [Mon, 14 Mar 2011 08:36:16 +0000 (08:36 +0000)]
Enhance inf file to follow inf spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11389 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd gEfiPeiMasterBootModeGuid dependency for getting right boot mode
erictian [Mon, 14 Mar 2011 05:55:12 +0000 (05:55 +0000)]
add gEfiPeiMasterBootModeGuid dependency for getting right boot mode

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11388 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoif it's in recovery mode, variable region is unreliable, so the ReadOnlyVariable2Ppi...
erictian [Mon, 14 Mar 2011 05:53:05 +0000 (05:53 +0000)]
if it's in recovery mode, variable region is unreliable, so the ReadOnlyVariable2Ppi should return EFI_NOT_FOUND

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11387 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix a bug in SmmPerformanceLib that there is no return value in normal cases for...
rsun3 [Mon, 14 Mar 2011 03:47:31 +0000 (03:47 +0000)]
Fix a bug in SmmPerformanceLib that there is no return value in normal cases for GetPerformanceMeasurement().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11386 6f19259b-4bc3-4df7-8a09-765794883524