mirror_edk2.git
11 years agoUpdated ARM Exception handler to print out text values for CPSR register
AJFISH [Fri, 15 Jan 2010 17:30:25 +0000 (17:30 +0000)]
Updated ARM Exception handler to print out text values for CPSR register

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

11 years agoFix Duet broken caused by LzmaUefiDecompress's interface is changed in IntelFramework...
klu2 [Fri, 15 Jan 2010 12:39:20 +0000 (12:39 +0000)]
Fix Duet broken caused by LzmaUefiDecompress's interface is changed in IntelFrameworkModulePkg.

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

11 years agoUpdate PeiLoadFilePpi produced by PeiCore to load only images with relocation into...
lgao4 [Fri, 15 Jan 2010 09:48:37 +0000 (09:48 +0000)]
Update PeiLoadFilePpi produced by PeiCore to load only images with relocation into memory.

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

11 years agoFix some coding style issues in MdeModulePkg.
rsun3 [Fri, 15 Jan 2010 08:03:23 +0000 (08:03 +0000)]
Fix some coding style issues in MdeModulePkg.

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

11 years agoCorrect comments to match function declaration.
lgao4 [Fri, 15 Jan 2010 07:12:08 +0000 (07:12 +0000)]
Correct comments to match function declaration.

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

11 years agoRemove the duplicated definitions between Framework AcpiSupport and PI AcpiSystemDesc...
lgao4 [Fri, 15 Jan 2010 03:00:06 +0000 (03:00 +0000)]
Remove the duplicated definitions between Framework AcpiSupport and PI AcpiSystemDescriptionTable.

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

11 years agoCorrect the conflict EFI_ACPI_GET_ACPI_TABLE to EFI_ACPI_GET_ACPI_TABLE2
lgao4 [Fri, 15 Jan 2010 02:59:54 +0000 (02:59 +0000)]
Correct the conflict EFI_ACPI_GET_ACPI_TABLE to EFI_ACPI_GET_ACPI_TABLE2

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

11 years agoFix ICC build break
qhuang8 [Fri, 15 Jan 2010 02:54:46 +0000 (02:54 +0000)]
Fix ICC build break
Fix some typos

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

11 years agoFix ICC build break
qhuang8 [Fri, 15 Jan 2010 02:49:42 +0000 (02:49 +0000)]
Fix ICC build break

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

11 years agoAdd type-cast to fix build break for IA32 arch
qhuang8 [Fri, 15 Jan 2010 02:38:31 +0000 (02:38 +0000)]
Add type-cast to fix build break for IA32 arch

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

11 years agoFix ICC build break
qhuang8 [Fri, 15 Jan 2010 02:11:58 +0000 (02:11 +0000)]
Fix ICC build break

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

11 years agoUpdate scripts to point to edk2 BaseTools now fixes have been checked in
AJFISH [Fri, 15 Jan 2010 00:27:47 +0000 (00:27 +0000)]
Update scripts to point to edk2 BaseTools now fixes have been checked in

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

11 years agoFix gcc warning
AJFISH [Fri, 15 Jan 2010 00:01:20 +0000 (00:01 +0000)]
Fix gcc warning

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

11 years agoAdd generic CpuIoPei module that produces the CPU I/O PPU using the services of the...
mdkinney [Thu, 14 Jan 2010 23:47:50 +0000 (23:47 +0000)]
Add generic CpuIoPei module that produces the CPU I/O PPU using the services of the MdePkg IoLib

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

11 years agoAdded new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is...
AJFISH [Thu, 14 Jan 2010 23:39:29 +0000 (23:39 +0000)]
Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code.

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

11 years agoClean up format of comments
mdkinney [Thu, 14 Jan 2010 22:57:30 +0000 (22:57 +0000)]
Clean up format of comments

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

11 years agoUpdate CpuIo2Dxe to also support IPF
mdkinney [Thu, 14 Jan 2010 22:14:50 +0000 (22:14 +0000)]
Update CpuIo2Dxe to also support IPF
Clean up CpuIo2Dxe to follow the same design as the IntelFrameworkModulePlg module CpuIoDxe and the UefiCpuPkg module CpuIo2Smm

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

11 years agoClean up file header comments to match CPU I/O Protocol .h file.
mdkinney [Thu, 14 Jan 2010 22:12:32 +0000 (22:12 +0000)]
Clean up file header comments to match CPU I/O Protocol .h file.
Add check to make sure the Address parameter passed in is properly aligned for the requested operation.

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

11 years agoClean up comments
mdkinney [Thu, 14 Jan 2010 21:45:28 +0000 (21:45 +0000)]
Clean up comments

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

11 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9758 6f19259b...
jcarsey [Thu, 14 Jan 2010 20:26:39 +0000 (20:26 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9758 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up function header comments to match SMM CPU I/O 2 Protocol definition in the...
mdkinney [Thu, 14 Jan 2010 20:15:14 +0000 (20:15 +0000)]
Clean up function header comments to match SMM CPU I/O 2 Protocol definition in the MdePkg.

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

11 years agoRemove duplicate typedef of EFI_SMM_CPU_IO_INTERFACE
mdkinney [Thu, 14 Jan 2010 19:23:56 +0000 (19:23 +0000)]
Remove duplicate typedef of EFI_SMM_CPU_IO_INTERFACE

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

11 years agoAdd generic module that produces the Framework CPU I/O Protocol using the services...
mdkinney [Thu, 14 Jan 2010 18:57:44 +0000 (18:57 +0000)]
Add generic module that produces the Framework CPU I/O Protocol using the services from the MdePkg IoLib

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

11 years agoUpdate Width check for < 0.
mdkinney [Thu, 14 Jan 2010 18:14:39 +0000 (18:14 +0000)]
Update Width check for < 0.

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

11 years agoAccording to PI 1.2 spec Vol 3 chapter 8 PCD, if the PCD service determined that...
klu2 [Thu, 14 Jan 2010 16:29:29 +0000 (16:29 +0000)]
According to PI 1.2 spec Vol 3 chapter 8 PCD, if the PCD service determined that the size of the data being set was
incompatible with a call to this function, PCD_PPI/PROTOCOL's SetXEx interfaces should be return EFI_INVALID_PARAEMTER instead of ASSERT().

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

11 years agoFix GCC build bug and add a debug library to dump load and unload commands into the...
AJFISH [Thu, 14 Jan 2010 16:18:02 +0000 (16:18 +0000)]
Fix GCC build bug and add a debug library to dump load and unload commands into the RVI debugger window.

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

11 years agoFix the issue in MdeModulePkg that mismatch between PCD type and the PCD Lib API...
rsun3 [Thu, 14 Jan 2010 09:46:12 +0000 (09:46 +0000)]
Fix the issue in MdeModulePkg that mismatch between PCD type and the PCD Lib API to get the PCD.

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

11 years agoFix parameter checking for CPU I/O 2 Protocol on NT32 platform.
xli24 [Thu, 14 Jan 2010 09:07:47 +0000 (09:07 +0000)]
Fix parameter checking for CPU I/O 2 Protocol on NT32 platform.

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

11 years agoadd france language support on DeviceManager of BDS.
eric_tian [Thu, 14 Jan 2010 07:32:36 +0000 (07:32 +0000)]
add france language support on DeviceManager of BDS.

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

11 years agoadd DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to...
eric_tian [Thu, 14 Jan 2010 07:25:27 +0000 (07:25 +0000)]
add DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to delete these variables.

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

11 years agoEnsure there is only one instance of Status Code PPI in system.
xli24 [Thu, 14 Jan 2010 07:23:10 +0000 (07:23 +0000)]
Ensure there is only one instance of Status Code PPI in system.

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

11 years agoadd DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to...
eric_tian [Thu, 14 Jan 2010 07:16:22 +0000 (07:16 +0000)]
add DataSize check to avoid PlatformLang/Lang variable is auto-mapped when try to delete these variables.

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

11 years agofixed one bug that old rsp was calculate incorrectly.
vanjeff [Thu, 14 Jan 2010 05:49:16 +0000 (05:49 +0000)]
fixed one bug that old rsp was calculate incorrectly.

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

11 years agoSome HII related definitions change. Note these changes are inconsistent with current...
rsun3 [Thu, 14 Jan 2010 05:38:29 +0000 (05:38 +0000)]
Some HII related definitions change. Note these changes are inconsistent with current UEFI 2.3 spec. They are supposed to be in later errata document.

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

11 years agoSome HII related definitions change. Note these changes are inconsistent with current...
rsun3 [Thu, 14 Jan 2010 05:38:04 +0000 (05:38 +0000)]
Some HII related definitions change. Note these changes are inconsistent with current UEFI 2.3 spec. They are supposed to be in later errata document.

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

11 years agoWhen found the file according to given file name guid, PeiFfs2FvPpiFindFileByName...
klu2 [Thu, 14 Jan 2010 05:31:07 +0000 (05:31 +0000)]
When found the file according to given file name guid, PeiFfs2FvPpiFindFileByName() should break the searching loop and return success.

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

11 years agoFix file header
mdkinney [Thu, 14 Jan 2010 05:18:07 +0000 (05:18 +0000)]
Fix file header

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

11 years agoFix formatting
mdkinney [Thu, 14 Jan 2010 04:48:36 +0000 (04:48 +0000)]
Fix formatting

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

11 years agoClean up .h files for the CPU I/O PPI and the CPU I/O 2 Protocol
mdkinney [Thu, 14 Jan 2010 04:43:31 +0000 (04:43 +0000)]
Clean up .h files for the CPU I/O PPI and the CPU I/O 2 Protocol
Minor clean up to PeiIoLibCpuIo.inf

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

11 years agoFix Boot Option appear twice while add a new boot option in some specific steps.
gikidy [Thu, 14 Jan 2010 04:42:45 +0000 (04:42 +0000)]
Fix Boot Option appear twice while add a new boot option in some specific steps.

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

11 years agoAdd module that produces the SMM CPU I/O 2 Protocol
mdkinney [Thu, 14 Jan 2010 04:24:00 +0000 (04:24 +0000)]
Add module that produces the SMM CPU I/O 2 Protocol

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

11 years agoPut Framework SMM CPU I/O Protocol into its own .h file and add the GUID for this...
mdkinney [Thu, 14 Jan 2010 04:22:06 +0000 (04:22 +0000)]
Put Framework SMM CPU I/O Protocol into its own .h file and add the GUID for this protocol to the DEC file.

Some definitions are shared between the Framework SMM CPU I/O Protocol and the PI SMM CPU I/O 2 Protocol, so SmmCpuIo.h include SmmCpuIo2.h from the MdePkg

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

11 years agoChange SMM CPU I/O to SMM CPU I/O 2
mdkinney [Thu, 14 Jan 2010 04:20:04 +0000 (04:20 +0000)]
Change SMM CPU I/O to SMM CPU I/O 2

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

11 years agoAdded support for L2 (4K) page tables and made the CPU driver change cachability...
AJFISH [Thu, 14 Jan 2010 03:25:08 +0000 (03:25 +0000)]
Added support for L2 (4K) page tables and made the CPU driver change cachability attributes on request. Also got the DebugUncache infrastructure working for the first time. Looks like it works for the simple case. Checking in so we can get more eyes looking at the code.

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

11 years agoRemove extra reference to SmmCpuIo.h
mdkinney [Thu, 14 Jan 2010 02:25:24 +0000 (02:25 +0000)]
Remove extra reference to SmmCpuIo.h
Minor clean ups to INF

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

11 years agoUpdate INF file to properly declare which PCDs must be Fixed, and update PCD usage...
mdkinney [Thu, 14 Jan 2010 01:59:30 +0000 (01:59 +0000)]
Update INF file to properly declare which PCDs must be Fixed, and update PCD usage that does not require the FixedPcdGetxx() access method.

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

11 years agoCleanup INF file for PEI Core
mdkinney [Thu, 14 Jan 2010 01:40:51 +0000 (01:40 +0000)]
Cleanup INF file for PEI Core
1) Remove references to CPU I/O PPI and PCI CFG2 PPI.  The PEI Core does have the PEI Services Table that caches a copy of these, but the PEI Core never produces a real version of these PPIs.  Instead, the PEI Core only has a null implementation of the APIs so we can catch PIEMs that call these services before they are properly installed.

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

11 years agoClean up INF. Remove dependency on CPU I/O 2 Protocol and the IntelFrameworkPkg...
mdkinney [Thu, 14 Jan 2010 01:00:18 +0000 (01:00 +0000)]
Clean up INF.  Remove dependency on CPU I/O 2 Protocol and the IntelFrameworkPkg.  The dependency will be inherited in the IoLib used uses the CPU I/O 2 Protocol.

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

11 years agoUpdate Copyright date
mdkinney [Thu, 14 Jan 2010 00:24:41 +0000 (00:24 +0000)]
Update Copyright date

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

11 years agoClean up MetronomeDxe INF file. This module uses the IoLib, so the dependency on...
mdkinney [Thu, 14 Jan 2010 00:13:55 +0000 (00:13 +0000)]
Clean up MetronomeDxe INF file.  This module uses the IoLib, so the dependency on the CPU I/O Protocol can be removed from this INF file.  If the IoLib that layers on top of a CPU I/O Protocol is used, then the dependency will be inherited from the lib.

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

11 years agoadd blank line
jcarsey [Wed, 13 Jan 2010 19:07:58 +0000 (19:07 +0000)]
add blank line

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

11 years agoadding new parameter to search and replace function to allow for easy skipping of...
jcarsey [Wed, 13 Jan 2010 16:46:33 +0000 (16:46 +0000)]
adding new parameter to search and replace function to allow for easy skipping of items preceded by ^

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

11 years agoAdding a Debug version of the UncachedMemoryAllocationLib that will make the PCI...
AJFISH [Wed, 13 Jan 2010 15:18:34 +0000 (15:18 +0000)]
Adding a Debug version of the UncachedMemoryAllocationLib that will make the PCI DMA address not match the CPU C address for a DMA buffer. The PCI DMA address will generate a page fault if accessed from the CPU. This should make it easy to debug EFI DMA code to make sure it is following the correct rules for which pointer to use.

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

11 years agoMinor code enhancement.
xli24 [Wed, 13 Jan 2010 03:30:59 +0000 (03:30 +0000)]
Minor code enhancement.

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

11 years agoA few more header fixes
AJFISH [Tue, 12 Jan 2010 19:22:47 +0000 (19:22 +0000)]
A few more header fixes

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

11 years agoMore headers cleanup.
AJFISH [Tue, 12 Jan 2010 19:18:17 +0000 (19:18 +0000)]
More headers cleanup.

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

11 years agoWorking on adding paging to the CpuDxe driver so it can update cachablity. At this...
AJFISH [Tue, 12 Jan 2010 19:14:09 +0000 (19:14 +0000)]
Working on adding paging to the CpuDxe driver so it can update cachablity. At this point it is coded, but untested. So this file is not yet hooked into the driver.

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

11 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9720 6f19259b...
jcarsey [Tue, 12 Jan 2010 19:04:06 +0000 (19:04 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9720 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoOne more header fix
AJFISH [Tue, 12 Jan 2010 18:54:54 +0000 (18:54 +0000)]
One more header fix

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

11 years agoFix some more headers. Add some missing library classes in .dec file and update ...
AJFISH [Tue, 12 Jan 2010 18:53:38 +0000 (18:53 +0000)]
Fix some more headers. Add some missing library classes in .dec file and update .dsc to default to cortex ARM cpu type.

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

11 years agoUpdating ArmLib.h to add functions needed to turn on paging in CpuDxe. Also added...
AJFISH [Tue, 12 Jan 2010 18:49:41 +0000 (18:49 +0000)]
Updating ArmLib.h to add functions needed to turn on paging in CpuDxe. Also added a protocol to enable debugging of DMA issues. DxeCpu driver will produce and the UncachedMemoryAllocationLib can consume.

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

11 years agoNeed to add some extra functions to the libraries to support paging in the CpuDxe...
AJFISH [Tue, 12 Jan 2010 18:47:28 +0000 (18:47 +0000)]
Need to add some extra functions to the libraries to support paging in the CpuDxe driver (still working on that). Also looks like some of the .INF file hade the token used to search replace the copyright headers and not the headers so I updated that.

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

11 years agoAdd some missing 64-bit math functions for gcc
AJFISH [Tue, 12 Jan 2010 18:23:25 +0000 (18:23 +0000)]
Add some missing 64-bit math functions for gcc

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

11 years agoFix the warning: Line 389, the Index of mMonthName may be -1.
tye [Tue, 12 Jan 2010 11:42:18 +0000 (11:42 +0000)]
Fix the warning: Line 389, the Index of mMonthName may be -1.

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

11 years agoDon't calculate the directory size and the caller of EFI_FILE protocol can calculate...
qhuang8 [Tue, 12 Jan 2010 10:32:47 +0000 (10:32 +0000)]
Don't calculate the directory size and the caller of EFI_FILE protocol can calculate that for better UI.
The enhancement algorithm to calculate directory size (Edk r2583) is incorrect because SetPosition() does not allow other arguments other than 0, causing current file cursor is lost.

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

11 years agoShellPkg: Rename PcdShellLibMaxPrintBufferSize to PcdShellPrintBufferSize
jljusten [Tue, 12 Jan 2010 07:08:33 +0000 (07:08 +0000)]
ShellPkg: Rename PcdShellLibMaxPrintBufferSize to PcdShellPrintBufferSize

It appears that this was intended to be renamed in r9710.

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

11 years agoMinor code enhancement.
xli24 [Tue, 12 Jan 2010 03:30:58 +0000 (03:30 +0000)]
Minor code enhancement.

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

11 years agoupdating comments mostly. also added some new lib functions.
jcarsey [Mon, 11 Jan 2010 21:49:04 +0000 (21:49 +0000)]
updating comments mostly.  also added some new lib functions.

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

11 years agoAdd ASSERT () to make sure the array is accessed within the limit.
tye [Mon, 11 Jan 2010 10:56:53 +0000 (10:56 +0000)]
Add ASSERT () to make sure the array is accessed within the limit.

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

11 years agoRemove unnecessary colon for @note tag.
xli24 [Mon, 11 Jan 2010 07:35:49 +0000 (07:35 +0000)]
Remove unnecessary colon for @note tag.

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

11 years ago1. Add missing CloseProtocol in case RemainingDevicePath is NULL or EndOfDp
davidhuang [Mon, 11 Jan 2010 05:54:01 +0000 (05:54 +0000)]
1. Add missing CloseProtocol in case RemainingDevicePath is NULL or EndOfDp

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

11 years ago1. Eliminate RemainingDevicePath Type limitation, let PassThru to check its validation.
davidhuang [Mon, 11 Jan 2010 05:44:16 +0000 (05:44 +0000)]
1. Eliminate RemainingDevicePath Type limitation, let PassThru to check its validation.
2. Change ScsiTargetId from allocation to local variable.

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

11 years agodisable ICC compiler warning #593: variable was set but never used.
eric_tian [Mon, 11 Jan 2010 02:29:54 +0000 (02:29 +0000)]
disable ICC compiler warning #593: variable was set but never used.

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

11 years agoupdate copyright to 2010
lgao4 [Sat, 9 Jan 2010 07:39:45 +0000 (07:39 +0000)]
update copyright to 2010

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

11 years agoMake EdkCompatibilityPkg pass IPF build with WINDKK tool chain.
lgao4 [Sat, 9 Jan 2010 07:37:42 +0000 (07:37 +0000)]
Make EdkCompatibilityPkg pass IPF build with WINDKK tool chain.

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

11 years agoFix typo in comment.
AJFISH [Fri, 8 Jan 2010 23:13:32 +0000 (23:13 +0000)]
Fix typo in comment.

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

11 years agoFixed a bug in the HardwareInterrupt handler that would blow the stack if you reenabl...
AJFISH [Fri, 8 Jan 2010 23:07:33 +0000 (23:07 +0000)]
Fixed a bug in the HardwareInterrupt handler that would blow the stack if you reenable interrupts in the TimerHandler. It should be noted this happens as the TimerHandler raises and restores TPL for the timer tick used by the DXE Core. There was some work around code in the CPU driver to prevent interrupts from being enabled while handling exceptions. This has been removed.

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

11 years agoFixed incorrect syntax for immediate HEX value.
geekboy15a [Fri, 8 Jan 2010 21:39:54 +0000 (21:39 +0000)]
Fixed incorrect syntax for immediate HEX value.

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

11 years agoRemoved use of pre-initialized global data in this file as it was causing problems...
geekboy15a [Fri, 8 Jan 2010 21:29:30 +0000 (21:29 +0000)]
Removed use of pre-initialized global data in this file as it was causing problems with UNIXGCC tool chain.

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

11 years agoFix stray charcter in comment.
AJFISH [Fri, 8 Jan 2010 21:28:45 +0000 (21:28 +0000)]
Fix stray charcter in comment.

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

11 years agoAdding support for a single stack, GCC check in will follow
AJFISH [Fri, 8 Jan 2010 21:12:20 +0000 (21:12 +0000)]
Adding support for a single stack, GCC check in will follow

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

11 years agoRemove bad comment
AJFISH [Fri, 8 Jan 2010 21:08:31 +0000 (21:08 +0000)]
Remove bad comment

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

11 years agoUpdate to support a single stack. GCC update will follow.
AJFISH [Fri, 8 Jan 2010 21:07:58 +0000 (21:07 +0000)]
Update to support a single stack. GCC update will follow.

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

11 years agoupdate comments
AJFISH [Fri, 8 Jan 2010 21:03:12 +0000 (21:03 +0000)]
update comments

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

11 years ago1)Remove “Back to Previous Page'”, since it cannot go back to “Device Manager page.
vanjeff [Fri, 8 Jan 2010 05:00:19 +0000 (05:00 +0000)]
1)Remove “Back to Previous Page'”, since it cannot go back to “Device Manager page.
2)Add Configure item in page.
3)Add more security check when storing IP setting, to correctly sync the operations between Ip4ConfigDxe and ifconfig.efi

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

11 years agoMinor code enhancement.
xli24 [Fri, 8 Jan 2010 04:10:38 +0000 (04:10 +0000)]
Minor code enhancement.

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

11 years agorefine the code and add more security check.
vanjeff [Fri, 8 Jan 2010 02:35:56 +0000 (02:35 +0000)]
refine the code and add more security check.

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

11 years agoRemove dependency on PCI Root Bridge I/O Protocol. This library should only layer...
mdkinney [Thu, 7 Jan 2010 22:03:51 +0000 (22:03 +0000)]
Remove dependency on PCI Root Bridge I/O Protocol.  This library should only layer on top of the CPU I/O Protocol.

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

11 years agoCoding style fix.
rsun3 [Thu, 7 Jan 2010 13:43:40 +0000 (13:43 +0000)]
Coding style fix.

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

11 years agoCorrect copyright year to 2010
lgao4 [Thu, 7 Jan 2010 09:36:41 +0000 (09:36 +0000)]
Correct copyright year to 2010

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

11 years agoCorrect copyright year to 2010
lgao4 [Thu, 7 Jan 2010 09:36:09 +0000 (09:36 +0000)]
Correct copyright year to 2010

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

11 years agoMinor code enhancement.
xli24 [Thu, 7 Jan 2010 09:17:03 +0000 (09:17 +0000)]
Minor code enhancement.

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

11 years agoMinor code enhancement.
xli24 [Thu, 7 Jan 2010 09:12:14 +0000 (09:12 +0000)]
Minor code enhancement.

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

11 years agoMinor code enhancement.
xli24 [Thu, 7 Jan 2010 09:08:58 +0000 (09:08 +0000)]
Minor code enhancement.

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

11 years agoEnable SetupBrowser to support multiple form class guid.
lgao4 [Wed, 6 Jan 2010 06:41:09 +0000 (06:41 +0000)]
Enable SetupBrowser to support multiple form class guid.

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

11 years agoOVMF SEC: Fix VS2005 compiler warnings
jljusten [Wed, 6 Jan 2010 06:31:12 +0000 (06:31 +0000)]
OVMF SEC: Fix VS2005 compiler warnings

* FindPeiCore.c => FindFfsFileAndSection: remove unreachable code
* SecMain.c => SecCoreStartupWithStack: confirm 64-bit to 32-bit
  conversion with IA32 builds.

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

11 years agoFix bugs in SmmBaseHelper driver.
rsun3 [Tue, 5 Jan 2010 09:28:48 +0000 (09:28 +0000)]
Fix bugs in SmmBaseHelper driver.
1. Should use sizeof(EFI_SMM_CPU_SAVE_STATE) instead of sizeof (EFI_SMI_CPU_SAVE_STATE) to allocate buffer for CpuSaveState in Framework SMST;
2. The type of Width parameter for ReadSaveState() and WriteSaveState() functions of SMM CPU Protocol is UINTN instead of an enumeration type.

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

11 years agoFix build break
mdkinney [Tue, 5 Jan 2010 00:09:32 +0000 (00:09 +0000)]
Fix build break

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

11 years agoOVMF VTF0 Reset Vector: Cleanup Global Descriptor Table (GDT)
jljusten [Mon, 4 Jan 2010 16:18:09 +0000 (16:18 +0000)]
OVMF VTF0 Reset Vector: Cleanup Global Descriptor Table (GDT)

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

11 years agoOVMF VTF0 Reset Vector: Set 'accessed' bit in GDT descriptors
jljusten [Mon, 4 Jan 2010 16:18:06 +0000 (16:18 +0000)]
OVMF VTF0 Reset Vector: Set 'accessed' bit in GDT descriptors

In some environments, the accessed bit should be set to allow the
global descriptor table (GDT) to reside in unmodifiable flash
memory.

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