]>
git.proxmox.com Git - mirror_edk2.git/log
mdkinney [Tue, 3 Aug 2010 05:20:15 +0000 (05:20 +0000)]
Update DXE Core so its own PE/COFF image is passed to the PeCoffExtraActionLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10769
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 05:16:57 +0000 (05:16 +0000)]
Update KbcResetDxe to be more generic by layering it on top of the ResetSystemLib class.
Reduce number of source files from 3 to 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10768
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 05:12:35 +0000 (05:12 +0000)]
Add ResetSystemLib instances for PCAT that only supports cold reset and a warm reset that is always converted to a cold reset.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10767
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 05:11:44 +0000 (05:11 +0000)]
Add ResetSystemLib instances for PCAT that only supports cold reset and a warm reset that is always converted to a cold reset.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10766
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Tue, 3 Aug 2010 04:54:44 +0000 (04:54 +0000)]
Inherit entries from previous IDT when new IDT is installed.
Update CS in each inherited IDT entry to match CS for the new GDT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10765
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 3 Aug 2010 03:29:17 +0000 (03:29 +0000)]
Sync EDKII BaseTools to BaseTools project r2006.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10764
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 31 Jul 2010 01:50:35 +0000 (01:50 +0000)]
Add a temp BasePeCoffLib that deals with MOVT instruction. At this point we don't know how the PE/COFF spec will change, but we can merge the real change into the MdePkg when the PE/COFF spec is updated and remove this library. To be clear I made up the PE/COFF relocation extension for these relocations, but as long as the tools match it all works.... Mainly doing this to support gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10762
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 30 Jul 2010 16:01:09 +0000 (16:01 +0000)]
Add debug print that the system is about to be reset. I was seeing watchtog timeouts in UnixPkg and they were hard to debug as gdb was exiting. This debug print should be useful in general.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10761
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 09:09:24 +0000 (09:09 +0000)]
Add boundary check against APIC ID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10757
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Fri, 30 Jul 2010 08:54:45 +0000 (08:54 +0000)]
Fix a bug. iSCSI driver doesn’t follow driver model Start()/Stop() in case no configuration data for login. So when VLAN form Add/Remove items, iScsi form cannot update MAC address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10740
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 08:41:57 +0000 (08:41 +0000)]
Add NULL pointer checking against Data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10725
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 08:38:52 +0000 (08:38 +0000)]
Add NULL pointer checking against Data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10724
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Fri, 30 Jul 2010 08:09:44 +0000 (08:09 +0000)]
Minor update code comment in last commitment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10722
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Fri, 30 Jul 2010 08:06:09 +0000 (08:06 +0000)]
Update UnixUgaScreen module to adapt to the change in Unix UGA protocol interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10721
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 30 Jul 2010 07:49:21 +0000 (07:49 +0000)]
Fix one issue: Some last IP settings may be lost when IP setting was re-set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10720
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 30 Jul 2010 07:46:38 +0000 (07:46 +0000)]
Correct the check for macro definition __EDKII_GLUE_PEI_HOB_LIB__.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10719
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Fri, 30 Jul 2010 06:48:48 +0000 (06:48 +0000)]
Add -m32 option for IA32 ASM flag to ensure it is treated as 32-bit for GCC assembler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10718
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 05:38:39 +0000 (05:38 +0000)]
Handle gEfiStatusCodeDataTypeStringGuid in status code drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10717
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 05:35:19 +0000 (05:35 +0000)]
Handle gEfiStatusCodeDataTypeStringGuid in status code handler drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10716
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 02:00:53 +0000 (02:00 +0000)]
Fix GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10715
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Fri, 30 Jul 2010 01:49:51 +0000 (01:49 +0000)]
Fix the risk of AP stack conflict.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10714
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 29 Jul 2010 18:26:19 +0000 (18:26 +0000)]
Fix Xcode build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10713
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 29 Jul 2010 06:44:13 +0000 (06:44 +0000)]
Use FreePool() library API to replace gBS->FreePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10712
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 29 Jul 2010 05:38:39 +0000 (05:38 +0000)]
Use local version EfiScriptLibAsciiStrLen() and EfiScriptLibStrLen() function to get string length so that this library doesn't depend on other EDK libraries and it can be linked together with EdkIIGlueLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10711
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 29 Jul 2010 03:24:13 +0000 (03:24 +0000)]
Complete coding to support X64 EFI ABI in UnixPkg. Code is not currently hooked in or tested, but it is code complete. Only missing step from testing is figuring out how to build with two different ABIs for the same platform. Sec needs a different ABI. May need to add a 2nd build step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10710
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 29 Jul 2010 02:39:37 +0000 (02:39 +0000)]
Sync fix on MdePkg r9982.
Do not set gBS to NULL when the ExitBootServices event notification for the UEFI Runtime Lib is executed.
There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib. If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10709
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Wed, 28 Jul 2010 03:07:30 +0000 (03:07 +0000)]
Sync EDKII BaseTools to BaseTools project r2000
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10706
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:43:41 +0000 (01:43 +0000)]
Roll back change r10696, because new update on r10700 and r10701 handles this issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10705
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:43:18 +0000 (01:43 +0000)]
Roll back change r10695, because new update on r10700 and r10701 handles this issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10704
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:12:22 +0000 (01:12 +0000)]
Enhance FV2.ReadSection() to read GUIDED section raw data when its extraction guided protocol doesn’t exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10703
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:12:18 +0000 (01:12 +0000)]
Enhance FV2.ReadSection() to read GUIDED section raw data when its extraction guided protocol doesn’t exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10702
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:08:13 +0000 (01:08 +0000)]
Enhance PiSmmCoreMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10701
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Wed, 28 Jul 2010 01:07:43 +0000 (01:07 +0000)]
Enhance SmmMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10700
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 27 Jul 2010 22:12:11 +0000 (22:12 +0000)]
Fix Xcode build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10699
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 27 Jul 2010 07:40:20 +0000 (07:40 +0000)]
1. Consume Debug Agent Library to support debugging AP code based on PI MP protocol.
2. Copy LVT Timer setting from old BSP to new BSP when SwitchBsp() to make sure debug timer worked after bsp switched.
3. Save and restore old BSP's TSC value to new one.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10698
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Mon, 26 Jul 2010 18:07:19 +0000 (18:07 +0000)]
Add support for e1000 NICs to OVMF
1) Update README describing the QEMU version required for e1000, where to download the UEFI drivers for e1000, and how to enable network drivers in the platform firmware
2) Update DSC/FDF files NETWORK_ENABLE switch to enable e1000 and network driver support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10697
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 26 Jul 2010 16:20:56 +0000 (16:20 +0000)]
Make sure gBS FreePool() is used to free the buffer always allocated by gBS AllocatePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10696
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 26 Jul 2010 16:20:34 +0000 (16:20 +0000)]
Make sure gBS FreePool() is used to free the buffer always allocated by gBS AllocatePool() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10695
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Mon, 26 Jul 2010 08:58:14 +0000 (08:58 +0000)]
Change the GUID value of UnixBaseLib to avoid Guid value collision with BaseLib.inf in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10694
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Mon, 26 Jul 2010 07:43:29 +0000 (07:43 +0000)]
Update AtaBus module to use Uefi.h as the master header file as it is a pure UEFI driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10693
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sun, 25 Jul 2010 05:38:36 +0000 (05:38 +0000)]
Fix CodeSourcery 2010q1 link issue by adding missing intrinsics
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10692
6f19259b -4bc3-4df7-8a09-
765794883524
hhtian [Sat, 24 Jul 2010 11:41:06 +0000 (11:41 +0000)]
minor format update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10691
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 24 Jul 2010 00:21:06 +0000 (00:21 +0000)]
Started working on EFI ABI to UNIX ABI assembly gasket
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10690
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 23 Jul 2010 22:20:00 +0000 (22:20 +0000)]
Changed the X64 gasket so it would be possible to port it to deal with the Unix to EFI ABI mangling. It still just does Unix ABI, and has some Xcode specific stuff to make source level debug a little easier, but it is a good first step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10689
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 23 Jul 2010 22:18:07 +0000 (22:18 +0000)]
Add an option to build the GccShell. './build.sh shell' or './build64.sh' will buid the shell.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10688
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 23 Jul 2010 15:25:32 +0000 (15:25 +0000)]
Fix more InitializeDebugAgent API change bugs. GDB stub was not turned on in example platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10687
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 23 Jul 2010 02:37:28 +0000 (02:37 +0000)]
Fix the build break in two open source packages caused by check in 10660.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10686
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 22 Jul 2010 21:21:38 +0000 (21:21 +0000)]
Port UnixPkg to also support X64. Currently only supports Unix x86_64 ABI. In the future we can make Sec support x86_64 ABI and the rest of the code support X64 EFI ABI. This will require assembly gaskets to fix the calling convention differences. I currently have noop gaskets in place for x86_64 ABI. This has only been tested on OS X 10.6.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10685
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 22 Jul 2010 21:18:25 +0000 (21:18 +0000)]
Add 64-bit versions of FLASH Base addressess as it is legal to have them >4G. For backward compatability if the new 64-bit base addresses are zero use the old 32-bit base addressess.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10684
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 22 Jul 2010 19:22:34 +0000 (19:22 +0000)]
Added to support X64 port (with SV5 ABI). May be able to remove after we port everything, but Sec, to EFI X64 ABI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10683
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Thu, 22 Jul 2010 09:46:41 +0000 (09:46 +0000)]
Fix bug that cursor position will change when enter newly registered HII Form after ConnectAll() in DeviceManager.
Root cause is that in old code, reinstall of HII handle for DeviceManager will cause inconsistent HII handle index for newly installed HII packages by ConnectAll(), thus cause inconsistent QuestionId. FormBrowser will record QuestionId of a Form ever visited, so the cursor position is changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10682
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Thu, 22 Jul 2010 06:29:29 +0000 (06:29 +0000)]
Fix a bug in SmmBaseHelper driver that the JMP instruction which jumps to the original page fault handler is incorrect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10681
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Wed, 21 Jul 2010 02:46:15 +0000 (02:46 +0000)]
Sync EDKII BaseTools to BaseTools project r1997
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10680
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 20 Jul 2010 20:29:20 +0000 (20:29 +0000)]
Fix #pragma pack(4) issue with an #ifdef. The #pragma () is in the wrong place.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10679
6f19259b -4bc3-4df7-8a09-
765794883524
jyao1 [Tue, 20 Jul 2010 06:20:16 +0000 (06:20 +0000)]
Remove spec compliance comment. It follows PI1.2B spec now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10672
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Tue, 20 Jul 2010 06:08:47 +0000 (06:08 +0000)]
Add msvcr71.dll used by base tools win32 binaries in case the environment does not have this DLL file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10671
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 20 Jul 2010 03:11:58 +0000 (03:11 +0000)]
Per UEFI Spec, LowestAlignedLba and LogicalBlocksPerPhysicalBlock must be 0 for logical partitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10668
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 19 Jul 2010 05:33:56 +0000 (05:33 +0000)]
1. Update FFS_FIXED_CHECKSUM to 0xAA to match PI FV image generated by EDKII build tool.
2. Clean up EfiScriptLib by removing unused EfiDriverLib from its INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10662
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Mon, 19 Jul 2010 05:21:27 +0000 (05:21 +0000)]
Add some error checking.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10661
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Mon, 19 Jul 2010 02:26:09 +0000 (02:26 +0000)]
1. Add init flag DEBUG_AGENT_INIT_DXE_AP.
2. Add definition DEBUG_AGENT_CONTINUE.
3. Update the definition of InitializeDebugAgent() more comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10660
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sun, 18 Jul 2010 17:56:06 +0000 (17:56 +0000)]
Fix 64-bit bug in DxeIpl. You can't cast an & UINT64 to a UINT32 *, as the upper 32-bits do not get updated. In my case there was data on the stack for the upper 32-bits and it caused the size to be greater than 4GB.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10659
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Fri, 16 Jul 2010 19:06:24 +0000 (19:06 +0000)]
Remove IO and MMIO GCD add operations from this generic PCI Hot Bridge drivers.
A platform specific PEIm or DXE module is required to add the IO and MMIO resources to the GCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10658
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Fri, 16 Jul 2010 19:04:41 +0000 (19:04 +0000)]
Update OVMF Platform PEI to declare IO and MMIO resources.
Update default memory type information to reduce EFI Memory Map fragmentation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10657
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 16 Jul 2010 15:53:39 +0000 (15:53 +0000)]
Fixes for the ARM port of SCTs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10656
6f19259b -4bc3-4df7-8a09-
765794883524
jyao1 [Fri, 16 Jul 2010 04:31:02 +0000 (04:31 +0000)]
Enhance to follow UEFI2.3 spec - the EFI_ACPI_TABLE_PROTOCOL will ensure that the checksum field is correct for both the RSDT/XSDT table and the table being installed through the AcpiTableBuffer parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10655
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 15 Jul 2010 17:27:13 +0000 (17:27 +0000)]
Fix issue in DmaMap with buffers that are smaller than a cache line. Also make any buffer that is not an even quanta of cache lines double buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10654
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 15 Jul 2010 03:29:53 +0000 (03:29 +0000)]
Some more 64-bit fixes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10653
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 14 Jul 2010 23:58:03 +0000 (23:58 +0000)]
Fix xcode project to point to the correct X64 paths. Also update print out to not point to tianocore.org...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10652
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 14 Jul 2010 23:22:43 +0000 (23:22 +0000)]
Add an Xcode project to build 64-bit UnixPkg. Currently crashes in PeiCore().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10651
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 14 Jul 2010 22:51:06 +0000 (22:51 +0000)]
Fix 64-bit compile bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10650
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 14 Jul 2010 21:04:21 +0000 (21:04 +0000)]
Started trying to get the UnixPkg to compile for X64 with UnixABI. So far only have Sec compiling with Xcode. This is the first step in trying to get the EFIABI to work. Note since SEC is a Posix application it will still need to be Unix ABI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10649
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 13 Jul 2010 05:07:35 +0000 (05:07 +0000)]
Refine code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10648
6f19259b -4bc3-4df7-8a09-
765794883524
xli24 [Tue, 13 Jul 2010 03:08:54 +0000 (03:08 +0000)]
Code refinement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10647
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 13 Jul 2010 02:23:27 +0000 (02:23 +0000)]
Change type of PcdSrIovSupport/PcdAriSupport/PcdMrIovSupport from FeatureFlag to [FixAtBuild, PcdDynamics].
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10646
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 13 Jul 2010 02:13:55 +0000 (02:13 +0000)]
Return from ProgramBar() after VF BARs are programmed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10645
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 13 Jul 2010 01:58:47 +0000 (01:58 +0000)]
Fix bugs in the PCI bus driver to support SR-IOV.
1. Expand the type of Offset in the _PCI_BAR structure from UINT8 to UINT16, because a VF BAR’s offset may be >= 0x100;
2. Enable ARI Capable Hierarchy for SR-IOV devices at earlier time because FirstVFOffset and VFStride of a SR-IOV device may change after its ARI Capable Hierarchy is set;
3. Change type of PcdSrIovSupport, PcdAriSupport, PcdMrIovSupport from FeatureFlag to [FixAtBuild, PcdDynamics], which allows SR-IOV/MR-IOV/ARI feature can be turn on/off dynamically, typically via a setup option.
4. Change PCI bus scan algorithm in PciScanBus() to prevent the case where some ARI extended functions may be skipped in the scan loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10644
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Mon, 12 Jul 2010 06:21:42 +0000 (06:21 +0000)]
remove duplicated code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643
6f19259b -4bc3-4df7-8a09-
765794883524
geekboy15a [Fri, 9 Jul 2010 19:42:03 +0000 (19:42 +0000)]
Removed the requirement to pass in at least one parameter to the script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10642
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 9 Jul 2010 00:07:30 +0000 (00:07 +0000)]
Ported more of EdkCompatabilityPkg to ARM to support SCT port.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10641
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 8 Jul 2010 05:29:10 +0000 (05:29 +0000)]
Remove ASSERT and change to if ()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10640
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 8 Jul 2010 05:17:47 +0000 (05:17 +0000)]
Fix a bug by adding * for Ptr8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10639
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 8 Jul 2010 00:39:11 +0000 (00:39 +0000)]
Add a tempate for a RealView FVB for the variable services.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10638
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 7 Jul 2010 23:27:08 +0000 (23:27 +0000)]
Update the previous fix to only shadow the function for supported processor architectrues. The old way required non supported processor architectures to opt out.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10637
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 7 Jul 2010 23:10:14 +0000 (23:10 +0000)]
Fix issue with ARM port. Image.c shadow code is not ANSI C and crashes on ARM. So I did the same thing that is done on Itanium and skipped the shadow for ARM architecture in all cases.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10636
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Wed, 7 Jul 2010 05:55:41 +0000 (05:55 +0000)]
Fix a bug:
RFC 2132, Section 9.5 does not strictly state Bootfile name (option 67) is null
terminated string. So force to append null terminated character at the end of string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10635
6f19259b -4bc3-4df7-8a09-
765794883524
qhuang8 [Wed, 7 Jul 2010 02:30:13 +0000 (02:30 +0000)]
Update EdkShellBinPkg to integrate a patch in Shell SVN r41.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10634
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 5 Jul 2010 09:01:39 +0000 (09:01 +0000)]
Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE or PcdStatusCodeUseDataHub is set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10631
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 5 Jul 2010 08:59:57 +0000 (08:59 +0000)]
Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10630
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Mon, 5 Jul 2010 02:11:05 +0000 (02:11 +0000)]
Initialize lists ArpService->PendingRequestTable/DeniedCacheTable/ResolvedCacheTable before firing timer ArpService->PeriodicTimer. This remove the race condition in ArpCreateService(): it is possible for the timer event to trigger before the lists are initialized which will results in a hang in ArpTimerHandler().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10629
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Mon, 5 Jul 2010 02:03:20 +0000 (02:03 +0000)]
1. update to use 1 EFI Variable per NIC (instead of converge all NIC configuration into one EFI Variable), this remove the limitation that max NIC configuration will depend on PcdMaxVariableSize.
2. remove unnecessary Unload function EfiIp4ConfigUnload (use default Unload function NetLibDefaultUnload instead), remove global array for NIC handle tracking since it’s driver model driver.
3. add Ip4Config Variable reclaim to HiiConfigAccess.RouteConfig() to remove variable for NIC which has been removed from the system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10628
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Sun, 4 Jul 2010 19:57:45 +0000 (19:57 +0000)]
Update OVMF BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10627
6f19259b -4bc3-4df7-8a09-
765794883524
mdkinney [Fri, 2 Jul 2010 23:20:11 +0000 (23:20 +0000)]
Update logic in Suuported() for PCI-ISA Bridges with Positive Decode to avoid false positives on bridges of class PCI_CLASS_BRIDGE_OTHER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10626
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 2 Jul 2010 14:47:58 +0000 (14:47 +0000)]
Fix path in script
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10624
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 2 Jul 2010 13:28:04 +0000 (13:28 +0000)]
Use same scheme as *.asm file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10623
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 2 Jul 2010 13:24:16 +0000 (13:24 +0000)]
Make SEC ModuleEntryPoint build with Xcode. Just need another level of indirection
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10622
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 2 Jul 2010 12:00:00 +0000 (12:00 +0000)]
Remove ArmEbPkg and replace with ArmRealViewEbPkg. Ported ArmRealViewEbPkg to have a PEI phase, and added place holder CPU PEIM to ArmPkg. This ArmRealViewEbPkg now boots from SEC, PEI, DXE, BDS, to EBL in the ARM RealView system emulator that comes with RealView Pro.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10621
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Fri, 2 Jul 2010 03:27:51 +0000 (03:27 +0000)]
Report correct MediaPresentSupported value from Nt32 SNP mode data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10620
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 1 Jul 2010 09:08:33 +0000 (09:08 +0000)]
Fix a bug that mtftp4 driver reply 2 ACK in answer to incoming No.65535 block data. That issue incurs incorrect network transfer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10619
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 1 Jul 2010 03:21:55 +0000 (03:21 +0000)]
Use ASSERT to check the expression.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10618
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Thu, 1 Jul 2010 01:30:23 +0000 (01:30 +0000)]
1. fixed one bug to construct config request string header used child handle instead of NIC controller handle.
2. fixed one bug to calculate buffer size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10617
6f19259b -4bc3-4df7-8a09-
765794883524