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)]

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9771 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9770 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9769 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9768 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9767 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9766 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9765 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9764 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9763 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9762 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9761 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9760 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9759 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agogit-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9758 de2fecce-e211-0410-80a6...
jcarsey [Thu, 14 Jan 2010 20:26:39 +0000 (20:26 +0000)]
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9758 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9757 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9756 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9755 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9754 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9753 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9752 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9751 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9750 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9749 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9748 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9747 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9746 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9745 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9744 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9743 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9742 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9741 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9740 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9739 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9738 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9737 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9736 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9735 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9734 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9733 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9732 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9731 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9730 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9729 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9728 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9727 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9726 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9725 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9724 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9723 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9722 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9721 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agogit-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9720 de2fecce-e211-0410-80a6...
jcarsey [Tue, 12 Jan 2010 19:04:06 +0000 (19:04 +0000)]
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9720 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9719 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9718 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9717 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9716 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9715 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9714 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9713 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9712 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9711 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9710 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9709 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9708 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9707 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9706 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9705 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9704 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9703 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9702 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9701 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9700 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9699 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9698 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9697 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9696 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9695 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9694 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9693 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9692 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9691 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9690 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9689 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9688 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9687 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9686 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9685 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9684 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agoRevision to the earlier changes
michaelx_krau [Thu, 7 Jan 2010 01:15:05 +0000 (01:15 +0000)]
Revision to the earlier changes

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9683 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agoCorrections to the Index page
michaelx_krau [Thu, 7 Jan 2010 01:10:07 +0000 (01:10 +0000)]
Corrections to the Index page

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9682 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agoUpdated html component through the web interface.
michaelx_krau [Thu, 7 Jan 2010 01:03:29 +0000 (01:03 +0000)]
Updated html component through the web interface.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9681 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9680 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9679 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9678 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9677 de2fecce-e211-0410-80a6-f3fac2684e05

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.tianocore.org/svn/edk2/trunk@9676 de2fecce-e211-0410-80a6-f3fac2684e05

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

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9675 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agoOVMF Status Codes: Disable serial output, enable memory output
jljusten [Mon, 4 Jan 2010 16:18:03 +0000 (16:18 +0000)]
OVMF Status Codes: Disable serial output, enable memory output

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9674 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agoOVMF: Define MDEPKG_NDEBUG to disable all debug code by default
jljusten [Mon, 4 Jan 2010 16:18:02 +0000 (16:18 +0000)]
OVMF: Define MDEPKG_NDEBUG to disable all debug code by default

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9673 de2fecce-e211-0410-80a6-f3fac2684e05

11 years agoOVMF: Update OVMF FD/FV build to minimize ROM size
jljusten [Mon, 4 Jan 2010 16:17:59 +0000 (16:17 +0000)]
OVMF: Update OVMF FD/FV build to minimize ROM size

* Only SEC is uncompressed now
* The MAIN FV with PEI & DXE can easily shrink and grow as needed
* The final output will now be OVMF.Fv rather than OVMF.fd
* The final output size will be a multiple of 64kb

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9672 de2fecce-e211-0410-80a6-f3fac2684e05