]>
git.proxmox.com Git - mirror_edk2.git/log
mdkinney [Thu, 25 Feb 2010 23:42:27 +0000 (23:42 +0000)]
Add PI SMM IPL and PI SMM Core
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10095
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Thu, 25 Feb 2010 23:41:19 +0000 (23:41 +0000)]
Add PI SMM IPL and PI SMM Core
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10094
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Thu, 25 Feb 2010 23:39:39 +0000 (23:39 +0000)]
Add MemoryAllocationLib for PI SMM Core
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10093
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Thu, 25 Feb 2010 21:53:22 +0000 (21:53 +0000)]
Cleanup: Remove PcdDxePcdDatabaseTraverseEnabled
gEfiEdkModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled does not
exist. Remove references to it in .dsc files and within the comments of
the DXE PCD driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10092
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Thu, 25 Feb 2010 21:53:06 +0000 (21:53 +0000)]
OVMF: Move DXE drivers into a new firmware volume
A separate FV is created for DXE drivers so the DXE drivers will
not be rebased along with the PEI drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10091
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 25 Feb 2010 20:31:00 +0000 (20:31 +0000)]
Started working on an ArmEb package. GIC is ported. SEC is a start. Still missing memory map and DRAM init stuff. Hey but it compiles.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10090
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 25 Feb 2010 19:38:21 +0000 (19:38 +0000)]
Update comment in dsc file to explain NULL library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10089
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 25 Feb 2010 19:25:44 +0000 (19:25 +0000)]
Add EOI API to hardware interrupt. Add PCD setting form DRAM base and size. Remove bogus PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10088
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Thu, 25 Feb 2010 18:17:41 +0000 (18:17 +0000)]
Remove svn:executable on *.c, *.h, *.asm, *.S, *.inf and *.asl*
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10087
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:31:45 +0000 (17:31 +0000)]
remove svn:executable attribute for INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10086
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:30:32 +0000 (17:30 +0000)]
remove svn:executable attribute for INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10085
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:10:42 +0000 (17:10 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10084
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:10:19 +0000 (17:10 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10083
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:08:36 +0000 (17:08 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10082
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:06:18 +0000 (17:06 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10081
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:04:34 +0000 (17:04 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10080
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 17:00:18 +0000 (17:00 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10079
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:52:10 +0000 (16:52 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10078
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:50:12 +0000 (16:50 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10077
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:39:38 +0000 (16:39 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10076
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:38:12 +0000 (16:38 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10075
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:37:15 +0000 (16:37 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10074
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:36:36 +0000 (16:36 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10073
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:31:22 +0000 (16:31 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10072
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Thu, 25 Feb 2010 16:26:33 +0000 (16:26 +0000)]
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10071
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Thu, 25 Feb 2010 10:37:09 +0000 (10:37 +0000)]
Add parameter checking for MP Services Protocol Thunk driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10070
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 25 Feb 2010 10:10:59 +0000 (10:10 +0000)]
Enhance SetupBrowser to support new UEFI HiiFormMap feature
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10069
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 25 Feb 2010 10:08:54 +0000 (10:08 +0000)]
Add more check to avoid code enter into wrong state.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10068
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Thu, 25 Feb 2010 09:23:44 +0000 (09:23 +0000)]
Fix the bug that SMM Base Protocol.Communicate() does not work.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10067
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 25 Feb 2010 03:28:18 +0000 (03:28 +0000)]
Change DUET specific HOB structure to make all HOB 8-byte align to fix the PI-SCT failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10066
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 25 Feb 2010 03:10:54 +0000 (03:10 +0000)]
Add new HII FormMap Opcode support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10065
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 24 Feb 2010 23:20:00 +0000 (23:20 +0000)]
Move ARMv5 (ARM9) barrier instructions into assembler files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10064
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 24 Feb 2010 22:38:46 +0000 (22:38 +0000)]
Updated Hardware Interrupt protocol to add an EOI member. Added ARM Data/Instruction syncronization barrier support to the ARM lib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10063
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 24 Feb 2010 17:22:03 +0000 (17:22 +0000)]
Fix line endings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10062
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Wed, 24 Feb 2010 08:45:08 +0000 (08:45 +0000)]
Add support for capsule above 4G.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10061
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 24 Feb 2010 08:30:53 +0000 (08:30 +0000)]
roll back changing on save and restore interrupt status, it needn't doing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10060
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 24 Feb 2010 08:29:53 +0000 (08:29 +0000)]
roll back changing on save and restore interrupt status, it needn't doing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10059
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 24 Feb 2010 08:09:39 +0000 (08:09 +0000)]
Minor comment fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10058
6f19259b -4bc3-4df7-8a09-
765794883524
jgong5 [Wed, 24 Feb 2010 07:00:37 +0000 (07:00 +0000)]
Avoid shadowing PE image read function on IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10057
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 24 Feb 2010 05:11:09 +0000 (05:11 +0000)]
Remove <b></b> from File header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10056
6f19259b -4bc3-4df7-8a09-
765794883524
jchen20 [Wed, 24 Feb 2010 02:21:42 +0000 (02:21 +0000)]
fixed the bug in .S file to make the EBC driver work for UNIXGCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10055
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 24 Feb 2010 01:42:12 +0000 (01:42 +0000)]
Correct Copyright year format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10054
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 24 Feb 2010 01:41:56 +0000 (01:41 +0000)]
Correct Copyright year format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10053
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 24 Feb 2010 00:21:16 +0000 (00:21 +0000)]
1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 23 Feb 2010 23:58:38 +0000 (23:58 +0000)]
1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10051
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 23 Feb 2010 23:43:55 +0000 (23:43 +0000)]
1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10050
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 23 Feb 2010 18:21:21 +0000 (18:21 +0000)]
Update comments to define where stuff comes from
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10049
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 23 Feb 2010 17:59:48 +0000 (17:59 +0000)]
Fix comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10048
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Tue, 23 Feb 2010 09:40:43 +0000 (09:40 +0000)]
Driver health entry in device manager page is not totally hidden, the original code just change string to empty string, if cursor is at empty string, there is no focus at all.
Dynamically create subtitle and action entry of driver health when driver health protocol is installed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10047
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Tue, 23 Feb 2010 07:32:20 +0000 (07:32 +0000)]
Disable interrupt when changing IDTR register.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10046
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Tue, 23 Feb 2010 04:56:55 +0000 (04:56 +0000)]
Temporarily remove the C implementation of some GCC assembly files in MdePkg. They are kept in repository and will be re-evaluate later.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10045
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Tue, 23 Feb 2010 02:33:17 +0000 (02:33 +0000)]
Enhance UpdateCapsule () to support calling multiple times.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10044
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 23 Feb 2010 01:43:45 +0000 (01:43 +0000)]
enhanced Dhcp4Dxe module to clean active configure data when Dhcp4->Stop() and Dhcp4->Release() called.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10043
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Mon, 22 Feb 2010 18:17:13 +0000 (18:17 +0000)]
OVMF: Update README file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10042
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 22 Feb 2010 06:30:41 +0000 (06:30 +0000)]
1. Update GetStringWorker() of HiiDataBaseDxe to only search in other language and not update the StringSize to avoid GetString() buffer overflow.
2. Update SetupBrowser to correctly handle ordered list option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10041
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Mon, 22 Feb 2010 06:05:11 +0000 (06:05 +0000)]
TPL of Pcd Dxe driver was changed to TPL_CALLBACK from TPL_NOTIFY to follow UEFI spec that caller of variable interface should run at TPL <= TPL_CALLBACK.
The change is to enable PcdsDynamicHii in Duet platform. Duet's variable driver should run at TPL <= TPL_CALLBACK so Pcd Dxe driver should run at TPL <= TPL_CALLBACK.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10040
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Mon, 22 Feb 2010 06:03:08 +0000 (06:03 +0000)]
Enable BootTimeOut and ConsoleMode (80x25/100x30) setting save/restore in Duet Setup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10039
6f19259b -4bc3-4df7-8a09-
765794883524
jgong5 [Mon, 22 Feb 2010 05:48:06 +0000 (05:48 +0000)]
Enhance memory copy logic for PEI core image read. The change uses CopyMem() library function for unshadowed version and uses inline implementation for a shadowed version. This reduces PE image reading time to 1/5 - 1/10 when code cache is disabled. The change also fixed a memory leak when allocating shadow space for image read function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10038
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 21 Feb 2010 20:56:40 +0000 (20:56 +0000)]
Add [depex] on gEfiMpServiceProtocolGuid so the number of CPUs is known
Add [depex] on gEfiSmmCpuIo2Protocol so we know that the SMM CPU I/O 2 Protocol in the PI SMST is valid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10037
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 21 Feb 2010 20:55:00 +0000 (20:55 +0000)]
Change RegisterProtocolNotify for dependent protocols to [Depex] expression
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10036
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 21 Feb 2010 20:46:36 +0000 (20:46 +0000)]
Fix build breaks
Update EfiAcpiResetSystem() to match function prototype for EFI_RESET_SYSTEM
Add CpuDeadLoop() in all paths, so EfiAcpiResetSystem() can never return to be compliant with UEFI Spec, even when ASSERT() statements are disabled.
Change DEBUG() messages from EFI_D_ERROR to DEBUG_INFO because they are not error messages.
Simplify implementation from 4 files down to 2 files.
Use IoAndTheOr16() and MmioAndTheOr16() instead if IoRead/Write16() and MmioRead/Write16()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10035
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Sun, 21 Feb 2010 09:30:01 +0000 (09:30 +0000)]
Port AcpiResetDxe from EDK to EDKII to enable reset function on DUET above legacy free platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10034
6f19259b -4bc3-4df7-8a09-
765794883524
klu2 [Sun, 21 Feb 2010 03:31:44 +0000 (03:31 +0000)]
Correct the table's version according to PI/UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10033
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Sat, 20 Feb 2010 07:11:13 +0000 (07:11 +0000)]
add more comments for gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10032
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Sat, 20 Feb 2010 07:10:16 +0000 (07:10 +0000)]
gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport should be TRUE in DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10031
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 20 Feb 2010 00:12:19 +0000 (00:12 +0000)]
Make the passed in string not require \n
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10030
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 19 Feb 2010 23:49:51 +0000 (23:49 +0000)]
Adding a command to show how symbols work in EFI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10029
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 19 Feb 2010 23:05:04 +0000 (23:05 +0000)]
Clean up some externs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10028
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 19 Feb 2010 22:48:26 +0000 (22:48 +0000)]
Make build script exit on build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10027
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 19 Feb 2010 22:31:35 +0000 (22:31 +0000)]
Fix typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10026
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 19 Feb 2010 18:51:10 +0000 (18:51 +0000)]
Sync gcc with armasm. update some memory barriers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10025
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 19 Feb 2010 18:45:29 +0000 (18:45 +0000)]
Update gcc flags to armv7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10024
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 18 Feb 2010 04:25:31 +0000 (04:25 +0000)]
Hack in some DSB, ISB syncronization primatives. Need to do it a little cleaner.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10023
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 18 Feb 2010 01:57:13 +0000 (01:57 +0000)]
Change Cortex-A8 references to ARMv7. Cortex-A8 is a branded implementation of the ARMv7 processor architecture.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10022
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 17 Feb 2010 05:14:22 +0000 (05:14 +0000)]
Fix case bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10021
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 17 Feb 2010 01:12:55 +0000 (01:12 +0000)]
Cleanup HOB DEBUG prints
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10020
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 17 Feb 2010 00:21:18 +0000 (00:21 +0000)]
Update to pass up Decompress, and PECOFF code from SEC to DXE Core. Turn on USB, even though it does not currently work.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10019
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 16 Feb 2010 23:45:42 +0000 (23:45 +0000)]
Fix bug in UncachedMemoryAllocationLib, Assembler, make DefaultExceptionHandler lib inc the PC past the faulting instruction to aid debug. Update LR in Exception hanlder, so return address can get updated properly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10018
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 16 Feb 2010 23:43:28 +0000 (23:43 +0000)]
Fix typo in mfill command
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10017
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 16 Feb 2010 20:59:57 +0000 (20:59 +0000)]
1) Fix build issues
2) Change ARCHITECTURAL_PROTOCOL_ENTRY name to EFI_CORE_PROTOCOL_NOTIFY_ENTRY so it can be used for both Architectural Protocols and optional protocols that the DXE Core may use. Also remove BOOLEAN ArchitecturalProtocol field, so it is back to its original form.
3) Put mArchProtocols[] back to its original form, but add a NULL entry at the end so the end of the table can be easily detected in loops
4) Add mOptionalProtocols[] that at this time only has the SMM Base 2 Protocol in it.
5) Add NULL entry to mMissingProtocols[] so the end of the table can be easily detected.
6) Update all loops on mArchProtocols[], mOptionalProtocols, and mMissingProtocols[] to remove Index(s) and simply looks for a NULL ProtocolGuid to find the end of the table.
7) Update protocol notify events to pass the associated EFI_CORE_PROTOCOL_NOTIFY_ENTRY * as the Context parameter. This simplifies GenericProtocolNotify() by completely eliminating the search loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10016
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 16 Feb 2010 04:07:39 +0000 (04:07 +0000)]
Use Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10015
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 16 Feb 2010 04:06:46 +0000 (04:06 +0000)]
Use Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10014
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 16 Feb 2010 04:04:58 +0000 (04:04 +0000)]
Use Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10013
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 16 Feb 2010 03:05:59 +0000 (03:05 +0000)]
Clean up HOB debug prints
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10012
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 16 Feb 2010 02:52:15 +0000 (02:52 +0000)]
Fix crash in UnixPkg and BeagleBoard caused by gSmmBase2 getting added to the now incorectly named mARchProtocols list. CoreDispatchMissingArchProtocols() did to check to see if the element was an AP (not all are now). Also Missing entry was not bounds checked, it was assumed to be <= Index witch is no longer true. So in both UnixPkg and BeagleBoard the loop was blowing past the end and garbage data caused page faults. Also add m prefix to global.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10011
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 16 Feb 2010 01:03:16 +0000 (01:03 +0000)]
After the ASSERT adjust the PC so you skip the faulting instruction. Lets you walk out of the exception handler and keeprunning code. This way you can walk out of the call stack.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10010
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Mon, 15 Feb 2010 20:40:51 +0000 (20:40 +0000)]
Cleanup SerailIO drivers to have a device path and use PCD settings for various stuff. Also clean up a few coding convention items.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10009
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 15 Feb 2010 18:16:05 +0000 (18:16 +0000)]
Remove SMM_CORE as a supported module type for the MemoryAllocationLib instance that uses UEFI Boot Services
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10008
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 06:29:47 +0000 (06:29 +0000)]
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10007
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 06:20:41 +0000 (06:20 +0000)]
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10006
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 06:20:06 +0000 (06:20 +0000)]
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10005
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 06:18:15 +0000 (06:18 +0000)]
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10004
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 06:17:51 +0000 (06:17 +0000)]
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10003
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 06:00:11 +0000 (06:00 +0000)]
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10002
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 05:59:31 +0000 (05:59 +0000)]
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10001
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 05:49:44 +0000 (05:49 +0000)]
1) Remove dependency on the UEFI Boot Services Table Library so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library.
2) Remove redundant include of <PiDxe.h>
3) Clean up constructor to use InSmm() library function instead of duplicating logic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10000
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 05:47:00 +0000 (05:47 +0000)]
Remove constructor from this library. This library already has SMM CPU I/O 2 in its [Depex], so any module using this library will not be dispatched until the SMM CPU I/O 2 Protocol is installed into the SMM handle database and also copied into the SMM Services Table.
The worker functions in this library have also been updated to simply use the instance of the SMM CPU I/O 2 Protocol that is present in the SMM Services Table.
The dependency on the UEFI Boot Services Table Library has also been removed so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9999
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 14 Feb 2010 00:44:27 +0000 (00:44 +0000)]
Use atomic AsmDisableCache() and AsmDisableCache() functions instead of AsmWriteCr0() and AsmWbinvd() calls
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9998
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sat, 13 Feb 2010 01:57:22 +0000 (01:57 +0000)]
Update DXE Core to be compatible with PI 1.2 SMM Drivers.
PI 1.2 SMM Drivers are allowed to call UEFI/DXE services and Protocols from the entry point of the PI 1.2 SMM Driver. These UEFI/DXE services and Protocols may directly or indirectly calls the UEFI Boot Services RaiseTPL() and RestoreTPL(). These UEFI Boot Services use the CPU Architectural Protocol to enable interrupts if the TPL level is below TPL_HIGH_LEVEL and enable interrupts of the TPL is at TPL_HIGH_LEVEL. Interrupts should be masked while executing SMM drivers, so if a direct or indirect call to the UEFI Boot Service RestoreTPL() would enable interrupts, then an interrupt could be incorrectly delivered in SMM context.
The solution is for the DXE Core to register for the PI 1.2 SMM Base2 Protocol. If that protocol is present in the platform, then the DXE Core can use the SMM Base 2 Protocol's InSmm() function to determine if the platform is currently executing in SMM content. If the current context is in SMM, then do not allow any requests to be forwarded to the CPU Architecture Protocol to enable interrupts.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9997
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 12 Feb 2010 20:13:55 +0000 (20:13 +0000)]
Fix help command scroll issue. Also add FV space used, and free space to dir command.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9996
6f19259b -4bc3-4df7-8a09-
765794883524