Commit Graph

7057 Commits

Author SHA1 Message Date
qhuang8 bc4eb4078e Update to fix several ECC warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7600 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 07:04:55 +00:00
qhuang8 440ceebd78 Clean up to remove unreferenced data structure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7599 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 07:04:13 +00:00
vanjeff cebfa89949 update PCD help text
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7598 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 06:19:05 +00:00
klu2 c85640b2a1 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7597 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 06:09:44 +00:00
klu2 5cfbd05587 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7596 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:51:02 +00:00
eric_tian 04985a579c retire gEfiFirmwareVolumeDispatcherProtocolGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7595 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:50:53 +00:00
eric_tian f76797ca68 retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to signify such FV need to be dispatched or not.
Currently our code has not such usage model, so Mike recommended us to retire this guid

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7594 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:48:49 +00:00
eric_tian f999350bcf retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to signify such FV need to be dispatched or not.
Currently our code has not such usage model, so Mike recommended us to retire this guid

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7593 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:35:08 +00:00
qhuang8 1a9a125313 Fix the wrong fix in last check in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7592 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:26:04 +00:00
xli24 a8e1ed54f3 Refine help text of PcdDisableDefaultKeyboardLayoutInUsbKbDriver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7591 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:15:48 +00:00
qhuang8 e89bb6692c Update to pass build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7590 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 04:01:59 +00:00
qhuang8 d1b04ae458 Fix typo in data structure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7589 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:56:07 +00:00
qhuang8 7d10090a28 Fix typo in include file name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7588 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:49:14 +00:00
qhuang8 9351da4fa5 Fix typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7587 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:42:41 +00:00
klu2 24f5b8022f Fix building issue for VS2003 and VS2005 tool chain. The "/GS-" is not recognized by VS2003 but need by VS2005, so the CFLAGS should override from tools_def.txt but not replace CFLAGS defined in tools_def.txt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7586 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:35:29 +00:00
qhuang8 4fe3ce8d5f Add print protocol GUID to EdkCompatibilityPkg.dec and add PrintThunk to EdkCompatibilityPkg.dsc for build validation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7585 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:26:37 +00:00
qhuang8 46d95f3244 Add PrintThunk driver, it depends on PrintLib on top of MdePkg:
1. If the library instance is BasePrintLib, it has no prerequisite to produce EDK print protocol
2. If the library instance mapping is DxePrintLibPrint2Protocol, it acts as PrintOnPrint2Thunk.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7584 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:25:36 +00:00
qhuang8 45a3634cb9 Add Print.h, an EDKII public include file for thunk driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7583 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:23:43 +00:00
qhuang8 b4e83ab76d Update DuetPkg to include DxePcdDriver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7582 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:22:04 +00:00
qhuang8 d894c8a331 Remove unused DuetDxeReportStatusCodeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7581 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:21:25 +00:00
qhuang8 c71b65973b Update Unix platform to use dynamic HII pcd to save console output mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7580 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:20:54 +00:00
qhuang8 fcf24bad4a Update Nt32 platform to use dynamic HII pcd to save console output mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7579 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:20:29 +00:00
qhuang8 bdb869f653 Add PrintDxe driver and update EdkPrintLib to DxePrintLibPrint2Protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7578 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:18:11 +00:00
qhuang8 e0312446c4 Update the variable name and GUID to set time zone and daylight saving: Use L"RTC" for shorter name and gEfiCallerIdGuid since this variable is private for this driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7577 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:17:27 +00:00
qhuang8 6055758f87 Update for the performance infrastructure changes:
1. Use raw string for performance tokens
2. Reuse gPerformanceProtocolGuid as performance variable paring GUID

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7576 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:15:57 +00:00
qhuang8 6aa22a177c 1. Update Generic BDS part to use dynamic PCD to set console output mode instead of use L"ConOutMode" and gEfiGenericPlatformVariableGuid to set console output mode.
2. Drop the menu item of set Primary Video to PCI or AGP. If some platform wishes to set AGP video option, platform BDS code needs to add this item.
3. Minor update to use Raw String to performance logging

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7575 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:14:12 +00:00
qhuang8 589f16d2bf Update consplitter driver to use dynamic PCD to set console output mode instead of use L"ConOutMode" and gEfiGenericPlatformVariableGuid to set console output mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7574 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:11:13 +00:00
qhuang8 2db4a77e60 Update MdeModulePkg package surface area:
1. Retire Print protocol
2. Retire platform variable GUID
3. Merge Performance Protocol GUID C Name, Pei Performance HOB, and performance variable
4. Introduce dynamic PCD: PcdConOutRow, PcdConOutColumn for console output mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7573 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:09:14 +00:00
qhuang8 bb9153a122 Split the Print functionality from SetupBrowserDxe. Platform should use PrintDxe to produces Print2 Protocol and PrintThunk for Edk Print protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7572 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:05:23 +00:00
qhuang8 610b2cbf97 Add PrintDxe to produce EDKII print2 protocol on top of PrintLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7571 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:04:26 +00:00
qhuang8 bee675553c Rename EdkPrintLib to DxePrintLibPrint2Protocol to better reflect its functionality.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7570 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:03:39 +00:00
qhuang8 ee0961f723 Update Performance library instances to adapt to the update in Performance infrastructure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7569 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:02:50 +00:00
vanjeff 3f57706fa9 remove console control protocol consuming in DrawImage(), caller should make sure current mode is graphics mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7568 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:02:07 +00:00
qhuang8 bc6b5892b0 Update DxeCore for the performance infrastructure updates: Use Raw sting to replace XXX_TOKEN
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7567 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:01:59 +00:00
qhuang8 9105d2c338 Retire GenericPlatformVariableGuid in MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7566 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:00:22 +00:00
qhuang8 8704a8ab10 retire PeiPerformanceHob.h, all its information has been integrated into Include\Guid\Performance.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7565 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:59:33 +00:00
qhuang8 e996a8c98a Retire Print protocol in MdeModulePkg and update Print2 protocol to provide full set of API in PrintLib classes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7564 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:58:46 +00:00
qhuang8 72aff63a93 Merge performance protocol, pei performance hob into a single performance.h in MdeModulePkg\Include\Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7563 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:57:46 +00:00
vanjeff aa8f4f55ff 1. Retired HotPlugDevice protocol.
2. Check devicepath node to get hot plug information. Currently, USB and PCCard device are checked.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7562 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:51:45 +00:00
xli24 fbfa4a1da7 Minor update on capitalization for ECC check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7561 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:47:51 +00:00
xli24 d73be1d1b1 Remove BaseMemoryTest PPI and related producers and consumers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7560 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:39:20 +00:00
vanjeff ea1ac7a0f7 Clean up gEfiHotPlugDeviceGuid in ConPlatformDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7559 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 02:12:01 +00:00
gikidy f735177861 Add build option /GS- to pass build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7558 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 09:29:01 +00:00
gikidy ccec4c3969 Port Intel .asm to GAS S
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7557 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:22:04 +00:00
gikidy 01f1138afe Linkage errors fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7556 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:16:12 +00:00
gikidy 5ffcd2579f Patch for CpuInterrupt.S from Tristan Gingold.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7555 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 08:03:44 +00:00
jji4 166451c51c New .S files added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7554 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:52:31 +00:00
jji4 9ffd16fb49 syntax checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7553 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 07:51:59 +00:00
jji4 6794a1b951 The asm file for Ia32 has been translated from MASM to GAS.
Build in CYGWINGCC is OK.
It needs to be checked for the logic and debugged for the running.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7552 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 06:04:15 +00:00
jji4 9be1da069f Port Intel .asm to GNU .S
These .S files now are not for compiler but for us to control the version.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7551 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-20 05:25:12 +00:00