12 years agoUse GetFirstGuidHob() instead of GetNextGuidHob() when only the first GUID instance...
mdkinney [Mon, 25 Jan 2010 01:52:31 +0000 (01:52 +0000)]
Use GetFirstGuidHob() instead of GetNextGuidHob() when only the first GUID instance is required
Remove extra references to gEfiHobListGuid in INF files.

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

12 years agoCorrect PeiCore not dispatch the register for shadow image without relocation.
lgao4 [Sun, 24 Jan 2010 12:55:59 +0000 (12:55 +0000)]
Correct PeiCore not dispatch the register for shadow image without relocation.

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

12 years agoSMM driver should link UefiRuntimeLib.
hhtian [Sat, 23 Jan 2010 07:59:34 +0000 (07:59 +0000)]
SMM driver should link UefiRuntimeLib.

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

12 years ago1. update bat file to generate right bootia32.efi/bootx64.efi file according to comma...
eric_tian [Tue, 19 Jan 2010 08:28:28 +0000 (08:28 +0000)]
1. update bat file to generate right bootia32.efi/bootx64.efi file according to command line parameters.
2. fix a print error in which a %x in format string exists but the corresponding variable argument is not present!
3. fix CONSUME_MEMORY too small issue. In X64 arch, cpu may cause the paging table is too big and beyond the pei memory scope between EfiMemoryTop and EfimemoryBottom. for example, a cpu support 44bits addressing memory space may occupied ~64M paging table.

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

12 years agoImprove coding style in MdeModulePkg.
rsun3 [Tue, 19 Jan 2010 06:42:21 +0000 (06:42 +0000)]
Improve coding style in MdeModulePkg.

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

12 years agoMinor code enhancement.
gikidy [Mon, 18 Jan 2010 07:20:22 +0000 (07:20 +0000)]
Minor code enhancement.

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

12 years agoFix URL issues with FAT package. Also add a warning about BeagleBoard build on window...
AJFISH [Sun, 17 Jan 2010 18:15:44 +0000 (18:15 +0000)]
Fix URL issues with FAT package. Also add a warning about BeagleBoard build on windows not patching the FD.

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

12 years agoFix RVCT compiler warnings, and a bug in the GdbStub
AJFISH [Sun, 17 Jan 2010 04:44:33 +0000 (04:44 +0000)]
Fix RVCT compiler warnings, and a bug in the GdbStub

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

12 years agoMissed a fix in the Cpu Driver. Added some more debug for Execption handling and...
AJFISH [Sun, 17 Jan 2010 02:54:31 +0000 (02:54 +0000)]
Missed a fix in the Cpu Driver. Added some more debug for Execption handling and clean up some uncached stuff.

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

12 years agoTrying a larger font.
AJFISH [Sun, 17 Jan 2010 01:15:27 +0000 (01:15 +0000)]
Trying a larger font.

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

12 years agoMake the console print use a fixed font.
AJFISH [Sun, 17 Jan 2010 00:52:28 +0000 (00:52 +0000)]
Make the console print use a fixed font.

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

12 years agoAdding some hints on how to load symbols via RVD
AJFISH [Sun, 17 Jan 2010 00:48:14 +0000 (00:48 +0000)]
Adding some hints on how to load symbols via RVD

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

12 years agoFix another link
AJFISH [Sat, 16 Jan 2010 22:10:16 +0000 (22:10 +0000)]
Fix another link

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

12 years agoFix some broken links
AJFISH [Sat, 16 Jan 2010 22:00:51 +0000 (22:00 +0000)]
Fix some broken links

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

12 years agoAdd underline for links and fix EBL prompt
AJFISH [Sat, 16 Jan 2010 21:25:51 +0000 (21:25 +0000)]
Add underline for links and fix EBL prompt

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

12 years agoAdded a begleboard page and hooked it in.
AJFISH [Sat, 16 Jan 2010 21:07:29 +0000 (21:07 +0000)]
Added a begleboard page and hooked it in.

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

12 years agoSeems the BiosVideo thunk does not work recently, temporary disable it.
klu2 [Sat, 16 Jan 2010 08:32:38 +0000 (08:32 +0000)]
Seems the BiosVideo thunk does not work recently, temporary disable it.

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

12 years agoUpdate for Beagle board information.
michaelx_krau [Fri, 15 Jan 2010 22:59:13 +0000 (22:59 +0000)]
Update for Beagle board information.

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

12 years agoAdd SmbiosDxe module that is required by BDS
mdkinney [Fri, 15 Jan 2010 21:11:55 +0000 (21:11 +0000)]
Add SmbiosDxe module that is required by BDS

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

12 years agoMinor update to move array into function to dead strip better on release builds
AJFISH [Fri, 15 Jan 2010 18:33:26 +0000 (18:33 +0000)]
Minor update to move array into function to dead strip better on release builds

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

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

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

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

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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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