Commit Graph

9188 Commits

Author SHA1 Message Date
eric_tian 8fe69f133e disable ICC compiler warning #593: variable was set but never used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9705 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-11 02:29:54 +00:00
lgao4 6e0d639a2a update copyright to 2010
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9704 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-09 07:39:45 +00:00
lgao4 152f6a095e Make EdkCompatibilityPkg pass IPF build with WINDKK tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9703 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-09 07:37:42 +00:00
AJFISH 1b2927d45c Fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9702 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 23:13:32 +00:00
AJFISH d213712d4f Fixed a bug in the HardwareInterrupt handler that would blow the stack if you reenable interrupts in the TimerHandler. It should be noted this happens as the TimerHandler raises and restores TPL for the timer tick used by the DXE Core. There was some work around code in the CPU driver to prevent interrupts from being enabled while handling exceptions. This has been removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9701 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 23:07:33 +00:00
geekboy15a 2127579be1 Fixed incorrect syntax for immediate HEX value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9700 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 21:39:54 +00:00
geekboy15a 3d49c108a0 Removed use of pre-initialized global data in this file as it was causing problems with UNIXGCC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9699 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 21:29:30 +00:00
AJFISH bbd8fad2b8 Fix stray charcter in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9698 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 21:28:45 +00:00
AJFISH 8a4d81e693 Adding support for a single stack, GCC check in will follow
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9697 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 21:12:20 +00:00
AJFISH 05d612fd39 Remove bad comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9696 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 21:08:31 +00:00
AJFISH db5c4f9e15 Update to support a single stack. GCC update will follow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9695 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 21:07:58 +00:00
AJFISH cc726b9ffd update comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9694 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 21:03:12 +00:00
vanjeff c22b6cdfa7 1)Remove “Back to Previous Page'”, since it cannot go back to “Device Manager page.
2)Add Configure item in page.
3)Add more security check when storing IP setting, to correctly sync the operations between Ip4ConfigDxe and ifconfig.efi


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9693 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 05:00:19 +00:00
xli24 1ace000135 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9692 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 04:10:38 +00:00
vanjeff e285199897 refine the code and add more security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9691 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 02:35:56 +00:00
mdkinney 33338afebd Remove dependency on PCI Root Bridge I/O Protocol. This library should only layer on top of the CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9690 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 22:03:51 +00:00
rsun3 17d2c9a3af Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9689 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 13:43:40 +00:00
lgao4 7516c41a1e Correct copyright year to 2010
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9688 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:36:41 +00:00
lgao4 e55e1d13bf Correct copyright year to 2010
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9687 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:36:09 +00:00
xli24 8e8ae2daec Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9686 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:17:03 +00:00
xli24 ce9b1e3ae0 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9685 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:12:14 +00:00
xli24 75a635ace8 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9684 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:08:58 +00:00
lgao4 4024517599 Enable SetupBrowser to support multiple form class guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9680 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-06 06:41:09 +00:00
jljusten cb0a42901a OVMF SEC: Fix VS2005 compiler warnings
* FindPeiCore.c => FindFfsFileAndSection: remove unreachable code
* SecMain.c => SecCoreStartupWithStack: confirm 64-bit to 32-bit
  conversion with IA32 builds.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9679 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-06 06:31:12 +00:00
rsun3 f76edcfd29 Fix bugs in SmmBaseHelper driver.
1. Should use sizeof(EFI_SMM_CPU_SAVE_STATE) instead of sizeof (EFI_SMI_CPU_SAVE_STATE) to allocate buffer for CpuSaveState in Framework SMST;
2. The type of Width parameter for ReadSaveState() and WriteSaveState() functions of SMM CPU Protocol is UINTN instead of an enumeration type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9678 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-05 09:28:48 +00:00
mdkinney 76bc52ed4f Fix build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9677 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-05 00:09:32 +00:00
jljusten 141815f3c7 OVMF VTF0 Reset Vector: Cleanup Global Descriptor Table (GDT)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9676 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:18:09 +00:00
jljusten d22d1f535b OVMF VTF0 Reset Vector: Set 'accessed' bit in GDT descriptors
In some environments, the accessed bit should be set to allow the
global descriptor table (GDT) to reside in unmodifiable flash
memory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9675 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:18:06 +00:00
jljusten e8d1b8d82e OVMF Status Codes: Disable serial output, enable memory output
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9674 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:18:03 +00:00
jljusten 0bc7e56da9 OVMF: Define MDEPKG_NDEBUG to disable all debug code by default
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9673 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:18:02 +00:00
jljusten c1c2669c6b 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9672 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:59 +00:00
jljusten 8cf01cae78 OVMF: Use optimized BaseMemoryLib libraries
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9671 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:56 +00:00
jljusten b474ed4944 MdeModulePkg AcpiTableDxe: Fix compiler warning
This warning was seen with the UNIXGCC toolchain on X64
when using the 'MDEPKG_NDEBUG' macro.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9670 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:55 +00:00
jljusten af03df86f7 IntelFrameworkModulePkg: SerialStatusCode output was incorrect
The string being built had a character being overwritten.  This
also lead to a NULL character being sent out to the serial port
for the last character in the string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9669 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:52 +00:00
jljusten 451e64b070 OVMF: Add SEC ExtractGuidedSection implementation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9668 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:50 +00:00
jljusten 090d308851 IntelFrameworkModulePkg LZMA: Support running LZMA from flash/rom
Previously the code relied upon global variables which could not be
modified if the code was running from ROM (or similarly a flash memory
which is not easily modified).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9667 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:47 +00:00
lgao4 807765a034 Correct help information for Delete Boot option and Change boot option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9666 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 10:28:59 +00:00
vanjeff d80ea7394c installing HII config access protocol on child handle instead of installing on NIC physical handle, to avoid conflict with the HII config access protocol installed on NIC physical handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9665 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 05:55:47 +00:00
klu2 8fdcc4123b check whether FvHandle is NULL for FfsGetVolumeInfo() interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9664 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 05:20:18 +00:00
klu2 ba82cb67d7 Implement the simulation version of StallPei for NT32 platform. It bases on window API Sleep().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9663 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 04:45:44 +00:00
klu2 8d415937c8 Add default implementation of EFI_CPU_IO_PPI and EFI_PCI_CFG2_PPI for EFI_SERVICES_TABLE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9662 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 04:36:37 +00:00
qhuang8 e2ea082665 Update shell binaries to newer version snapshot 2009-12-14 snapshot.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9661 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 02:19:04 +00:00
mdkinney 2008b49a7a Minor clean ups for these INF files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9660 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 21:27:38 +00:00
lgao4 6d207823bf Only check the unsupported IFR opcode for framework HII form package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9659 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 10:36:54 +00:00
rsun3 d338a721cb Remove dependency on include file in package outside of EKD2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9658 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 09:07:19 +00:00
rsun3 9e62071910 Add 4 Framework/PI SMM thunk drivers. Combined use of these drivers can support usage model of PI SMM infrastructure + Framework Chipset SMM code + Framework platform SMM code in ECP platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9657 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 08:42:28 +00:00
rsun3 a77e0eb17a Remove duplicated definition of EFI_SMM_COMMUNICATE_HEADER in PI and Framework SMM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9656 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 06:54:11 +00:00
qhuang8 05a44e91fe Fix minor coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9655 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 06:46:49 +00:00
qhuang8 907c1a0039 Remove the hard-code IoAlign in BlockIo.Media; instead, this value should inherit from lower Ata Pass Thru protocol instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9654 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 05:28:14 +00:00
lgao4 9c16959509 Add disableif statement example, and suppressif form example.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9653 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 04:53:36 +00:00