Commit Graph

410 Commits

Author SHA1 Message Date
bbahnsen e641608bcc Remove some non-existent files from msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2111 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 00:09:48 +00:00
mdkinney ce4bed083d Remove commented out inclusion of SalApi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2110 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-18 22:46:25 +00:00
mdkinney 020a9a5b78 Only include SAL related definitions if the CPU Arch is IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2109 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-18 20:03:44 +00:00
klu2 ddb3d91caf Fix iMac build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2102 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-15 02:18:13 +00:00
lgao4 3ec2611d34 Merge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis 0.91. Update DxeCore and Runtime driver to follow new definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2101 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14 10:14:24 +00:00
klu2 d43eee260f Merge R8 track #8354: SupportPalette() algorithm incorrect
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2100 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14 08:47:45 +00:00
klu2 4ef346cd4e Add blank line at end of source code for GCC building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2098 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14 03:01:02 +00:00
klu2 d06e0540ab Add blank line at end of source code for GCC building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2097 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14 02:56:54 +00:00
xgu3 3bc85e36c1 Fix the bug that GraphicsConsole try to update mode 1 (80, 50) UgaWidth and UgaHeight, but Columns and Rows are not initialized.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2092 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 03:52:13 +00:00
qwang12 0265b1e8cb 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2091 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 03:16:04 +00:00
qwang12 6874dbd0e2 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 03:11:47 +00:00
klu2 7a2729d4f7 Fix linux/cygwin build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2088 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 17:19:13 +00:00
wuyizhong 9d3fbdbd47 Fix some minor error. Add EFI_IMAGE_NT_HEADERS definition for IFP and EBC arch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2087 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 08:53:44 +00:00
xli24 cdcaf781f3 GetCurrentLanguage() in IFR Support Library treats language variable incorrectly. It attempted to search for '\0' flag, but the variable does not have this flag. It is a string with constant width of 3 characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2086 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 07:19:26 +00:00
wuyizhong 406adcd15c Merge GOP related code from r8->r9.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2085 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 07:09:03 +00:00
xgu3 4629ca40b7 Fix the bug that could make gMemoryTypeInformation unavailable when gMemoryTypeInformation is filled to EfiMaxMemoryType.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2080 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-11 02:06:19 +00:00
jwang36 c340a28e27 Fixed EDKT482. Added support for multiple msa files in the same directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2079 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 08:14:10 +00:00
klu2 f62485d39a Add more assert to check table pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2071 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 02:35:17 +00:00
lgao4 83a4143f53 Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC, & X64 images all.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2070 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 11:33:20 +00:00
lgao4 4afc6a7bf2 (1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type to conform to spec.
(2) Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC,
  & X64 images all.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2069 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 11:32:26 +00:00
klu2 5fd59c656c Add X64 support for DebugSupport driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2067 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 08:31:19 +00:00
xli24 02918ed0ab Let specify GUID value for GUID-defined FV region, and remove potential dead loop in Nt32 package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2065 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 06:02:54 +00:00
xli24 35d02d76bf Merge R8 tracker #8375.
Make GetVariable() check Data parameter, and return EFI_INVALID_PARAMETER if it is NULL and DataSize is enough, according to UEFI spec.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2061 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 09:04:37 +00:00
zliu3 3820a1717b For the file "EdkModulePkg\Universal\EmuVariable\RuntimeDxe\EmuVariable.c", Revision 2059 missed the fixing of Revision 2058, so commit the fixing of revision 2058
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2060 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 08:55:23 +00:00
zliu3 09d4dd14e9 Fixed one bug in EmuVariable module: The macro (GET_PAD_SIZE) is different with GetPadSize(), so in some special case the variable can not be read rightly after it was set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2059 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 08:16:31 +00:00
xli24 027c2ecb3b Merge R8 tracker #8374 to make EmuVariable.GetNextVariableName() comply with UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2058 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 05:32:17 +00:00
mdkinney f1cd55fe24 Add DxeDebugLibSerialPort that provides a debug library that layers directly on top of a serial port
Add an EdkDxeRuntimeSalLib that provide a SalLib that is safe for runtime use.  The EdkDxeSalLib is now a boot service only lib.
Move the registration and processing of ExitBootServicesEvents() from the RuntimeLib to the UEFI DriverEntryPointLib in the MdePkg.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2057 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 05:17:50 +00:00
qhuang8 4eba088547 Merge PVCS #7739.
Drop Ebc arch support for PxeBc module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2055 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 03:33:01 +00:00
qhuang8 8106a89cd1 Fix the build break since VariableIpf & EmuVariableIpf were splitted from Variable & EmuVariable respectively to support IPF build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2054 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 03:10:11 +00:00
mdkinney 2df858f7e2 Remove use of global variable at runtime in this lib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2046 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-02 19:09:56 +00:00
mdkinney 22613d6e71 Update the EmuVariable and Variable modules to have a ModuleType of DXE_SAL_DRIVER for IPF builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2045 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-01 22:08:32 +00:00
bbahnsen 19ca33cba1 Fix static data initializer syntax for array of union.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2043 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 19:03:58 +00:00
zliu3 53f491d326 Added the StatusCode protocol installation for the IPF architecture; removed the CapsuleArchProtocol checking for the IPF architecture
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2036 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 13:29:14 +00:00
mdkinney 838c84ec7e 1) Fix buffer overflow in JUMP_BUFFER in the DXE Core StartImage()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2035 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 03:05:46 +00:00
mdkinney 8572fea91c 1) Make a slightly better work around for the EdkDxeSalLib by removing constructor from MSA and calling constructor from library functions.
2)	Fix pointer bug in the EdkUefiRuntimeLibrary in the event creation


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2034 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 03:03:20 +00:00
lgao4 b32a39b328 Output DxeCore Entrypoint in DxeIpl module, and make dxecore module can correctly output >4G module entry point address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2033 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 02:54:20 +00:00
qhuang8 3112de21e5 Fix a typo in yesterday's check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2032 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 02:40:28 +00:00
qhuang8 f40793becf Make DxeIpl "assembly-free" to avoid the undesired LongMode.obj code in image even if we do not choose to switch to long mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2031 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29 01:49:26 +00:00
qhuang8 e7953f39bf Set default value of DxeIplBuildShareCodeHob to FALSE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2029 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 08:05:03 +00:00
qhuang8 9667d62eb3 Remove this file for no usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2027 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 08:01:47 +00:00
qhuang8 657d3918fe • Set the default value of PcdDxeIplSwitchToLongMode to TRUE.
•	Make access to PcdDxeIplSwitchToLongMode to Ia32 specific code.
•	Introduce another feature flag named PcdDxeIplBuildShareCodeHobs to define whether to build hobs to DXE core to share code.
•	Remove the #progma bug 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2026 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 07:59:59 +00:00
mdkinney 6f4f08890d Add JumpBuffer field to the static structure
Align all Jump Context buffers according to the CPU specific alignment requirements


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2024 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 02:45:20 +00:00
mdkinney d57427a7f7 Add JumpBuffer field that records the allocated pool address that may be different that the Jump Context address
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2023 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 02:44:20 +00:00
mdkinney 62332e5da3 Align the top of the stack correctly when the PEI Core calls SwitchStack()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2022 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 02:42:44 +00:00
qhuang8 abb26634f2 Introduce PcdDxeIplSwitchToLongMode to DxeIplPeim and remove DxeIplX64Peim.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2018 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 10:14:02 +00:00
qhuang8 b672349a8c Sync with PeiDxeDebugLibReportStatusCodeLib to fix IPF alignment issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2016 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 03:20:00 +00:00
klu2 f5103f2a21 The performance data for PEI phase should be collected from pre-memory, so move PERF_START macro to correct place.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2015 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 02:20:22 +00:00
yshang1 c25aaa00aa Move SAL "initialization/virtual address change notification" from EdkUefiRuntimeLib to EdkDxeSalLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2009 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-24 06:02:46 +00:00
lgao4 25549f698d Use global variable gInMemory in place of gInMemoryGuid ppi in DxeIplX64 module to point this module is shadowed or not for size reduction.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1987 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-21 03:01:52 +00:00
lgao4 b00c892423 In core\dxe\Dispatcher\Dispatcher.c uses CoreLoadImage with TRUE parameter of BootPolicy. But according to CoreLoadImage comments, BootPolicy is TRUE indicates that the request originates from the boot manager. Dispatcher driver is from memory, not from boot manager. So it should call CoreLoadImage with FALSE parameter of BootPolicy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1981 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 03:59:14 +00:00
mdkinney d9bccce90d Declare GUIDs for all Extended SAL Services
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1978 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 05:04:27 +00:00
bbahnsen 3219f9742b Start to port the LongMode stuff to gnu asm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1974 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 19:49:28 +00:00
bbahnsen 0cc82df1eb Fix gcc warnings -- please review affected files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1972 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 17:38:32 +00:00
bbahnsen 5fa86c00ba Add a new source for gnu assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1968 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:32:16 +00:00
bbahnsen 5585935d09 Fix a compiler warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1967 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:31:52 +00:00
bbahnsen 8b7ba927a6 Port to gnu style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1966 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:31:07 +00:00
gtian 3673b8bf33 Add IPF support in Base IO Lib, and related change in fpd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1952 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 09:34:30 +00:00
lgao4 5ab95f33d1 Fix gcc build break for this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1941 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 10:32:22 +00:00
vanjeff 885dc4d85a rename PcdGenericPlatformBusSpeed to PcdFSBClock to avoid confusing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1940 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 09:27:49 +00:00
klu2 f588bef047 Add comments for all file tagged with "ToolCode="DUMMY"".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1939 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 08:39:49 +00:00
lgao4 3e97cd8b87 Fix build break error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1937 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 07:16:11 +00:00
vanjeff 8569244ed1 1. Rename PcdPlatformBusSpeed to PcdGenericPlatformBusSpeed
2. Added PcdComponentNameDisable and PcdDriverDiagnosticsDisable for UefiDriverModuleLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1936 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 07:11:58 +00:00
lgao4 3e025b6993 Add comments about why pre-allocate 32 bytes for load 64bit dxe core and Add code to make sure the stack is aligned to 16 bytes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1935 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 07:10:54 +00:00
lgao4 9723bdde15 Fix to pre-allocate 32bytes in stack to Load X64 Image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1929 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-10 09:01:25 +00:00
mdkinney 4a50184986 Fix build break from CPU_STACK_ALIGNMENT update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1927 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:18:41 +00:00
mdkinney 3ebf638b15 Add DxeIplX64Peim to the FPD file for the EdkModulePkg.fpd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1926 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:17:53 +00:00
mdkinney 5a0c25f817 Use CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1925 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:05:07 +00:00
mdkinney 395859376e Use CPU_STACK_ALIGNMENT to align stack allocated for used in the DXE Phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1924 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:04:33 +00:00
mdkinney e0866135e8 Remove private definition for IPF stack alignment, and use public definition called CPU_STACK_ALIGNMENT instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1923 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:03:11 +00:00
vanjeff b219108e51 added PcdPlatformBusSpeed for BaseTimerLibLocalApic, thus this timer instance needn't depend on types of CPUs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1909 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 08:43:22 +00:00
cwu11 1df07b635e Add pcd declaration to EdkModulePkg and Nt32Pkg to fix the check-in break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1905 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 09:51:33 +00:00
cwu11 3681d193ed This check-in fixed the following bugs:
1.	Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
2.	SetVariable() with DataSize=0xffffffff will cause system hang
(EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c)
3.	Windows XP Pro & XP HOME Fails to Install from Retail CD
(EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c)
4.	Pci22.h header file needs to add some recent type
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
5.	Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller
(EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c;
EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa;
EdkModulePkg\ EdkModulePkg.spd)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 04:20:32 +00:00
xli24 f55618484b Remove BaseIoIntrinsicLib reference in IPF and EBC modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1897 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 02:26:11 +00:00
mikewuping b53fedc961 in x64Variable.dxs, Add the FTW protocol into variable's dependency expression, because FTW services are used by this driver. FTW dependency appears in IA32 dxs file and should also show up in X64 dxs file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1895 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 07:33:44 +00:00
qwang12 cc7d86f0ea Include EfiGpt.h, ElTorito.h, Mbr.h header files from MdePkg's Industry Starndard. and remove the private Gpt.h, Mbr.h and ElTorito.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1894 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 05:46:26 +00:00
mikewuping c91eaa3d55 I fixed following bugs in EDKII.
1. In AsmFuncs.asm, DebugSupport, Vect2Desc() function will use hardcode CS to fill the IDT. 20h for Ia32.If the system CS is changed by CPU driver, this driver can not work. System maybe crash.
2. In EBC, RegisterExceptionCallback() can not restore the environment and I add some enhancements.
3. In Image.c, CoreLoadImageCommon never return EFI_SECURITY_VIOLATION when SecurityStatus == EFI_SECURITY_VIOLATION.
4. In Variable.c, 1. There're additional unnecessary loop. All blocks will be gone through even if all the data has been written. We should check the "CurrWriteSize" to see if there's no more data to write, and stop the for loop immediately. 2 "if.else." can be merged to save lines of code.
5. in FvbServices,c, Checksum calculation error.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1891 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 03:34:43 +00:00
cwu11 511710d68f 1. Add the fix for the following Bugs:
i)	BMM_FAKE_NV_DATA definition inconsistent in bm.vfr and BootMain.h
        (EdkNt32Pkg\Dxe\PlatformBdsDxe\Generic\BootMaint\BootMain.h)
ii)	Change some files’ EOL(end of line) format to DOS. Some file use even mixed style EOL.
   (EdkModulePkg\Universal\DevicePath\Dxe\DevicePath.c, DevicepathFromText.c, DevicePathUtilities.c;
EdkModulePkg\Universal\Disk\DiskIo\Dxe\diskIo.c; MdePkg\Library\UefiLib\UefiNotTiano.c)
iii)    Change some illegal characters in many files, the problem is mainly connected with people using Chinese Input method to input symbols such as ' " - ?, etc. Multiple files are influenced.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1890 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 02:47:43 +00:00
dtang2 cb44bbdb8e 1. Bug fix for "EDK GenericBds WriteBootToOsPerformanceData() uses AcpiReclaimMemory";
2. Bug fix for "[FT] in new BDS, add a long item in Boot Option will cause an empty line appear";
3. Bug fix for "In "SetBootNextValue" page,description does not display properly"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1889 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 02:40:21 +00:00
dtang2 d73196f329 Bug fix for "CapsuleUpdate does not handle memory lost correctly"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1886 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 07:24:49 +00:00
jtang12 1723b2e2b2 Change #define bit(a) 1 << (a)
to     #define bit(a) (1 << (a))

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1885 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02 05:01:08 +00:00
lgao4 d66974717c Enhance DxeIpl module to support EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE ffs type, and Enhance DxeIpl module decompression function to load the decompressed FvImage to the memory address aligned at FvImage required alignment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1875 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 08:22:25 +00:00
mikewuping d4f397c031 1. In event.c, a function's name is not spelled correctly, a typo.
2. In Graphics.c, Memory Leak in Graphics Library, ConvertBmpToUgaBlt().
3. In HobLib.c, PeiBuildHobModule and three other functions do not zero hob reserved data area according to HOB spec v0.9.
4. In statuscode.h, the number of definition of EFI_SW_PEIM_PC_CAPSULE_START is equal to EFI_SW_PEIM_PC_CAPSULE_LOAD.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1861 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:47:44 +00:00
ljin6 bd51850225 After identified as a High-Speed device, the port has been reset successfully, so it doesn't need to be reset again in the later for Full-Speed or Low-Speed devices.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1856 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 05:45:13 +00:00
lgao4 b5ace64c27 Fix one bugger in Image.c in PeiCore module to get the correct module name for debug output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1852 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 03:26:07 +00:00
ajfish e47b06c339 MAX_POOL_SIZE was hardcoded to 0xFFFFFF00. MAX_POOL_SIZE was replaced with MAX_ADDRESS and POOL_OVERHEAD. MAX_POOL_SIZE is used to prevent a large allocation from passing since adding the POOL_OVERHAD to the allocation (done internally) could cause the size to wrap around and be small. This would cause a return value of success that was an error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1833 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-24 01:20:09 +00:00
lgao4 0bab6d041a Change IPF_PE32_PEIM IPF layout to contain ${PLATFORM_DIR}/Blank.pad for XIP IPF CODE 16byte align.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1830 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 11:42:17 +00:00
yshang1 f81f558de8 Follow up tracker EDKT285.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1826 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 06:10:44 +00:00
yshang1 f8617cfd79 Clean up used library class definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1824 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 05:12:16 +00:00
jtang12 aa23173f1a Make sure all DMA related buffer allocation through PCI IO interface, not allocated by driver itself.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1815 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 14:41:47 +00:00
ajfish 6d7338ae38 Ported the EBC driver to use the MDE Base Math lib functions. Removed math functions from EBC driver. Need to check to see if MDE Math lib ASSERT behavior will cause any issues with EBC driver?
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1814 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 08:15:46 +00:00
ajfish 1babed138f These files are no longer needed as the PE32 and Cache Lib from the MDE make them redundant.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1813 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 07:47:29 +00:00
ajfish c01bfb76c6 Deleted CacheFlush as it's in the MDE Cache library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1812 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 07:34:25 +00:00
ajfish 92ea7f231b Updated the Runtime Driver to use the MDE libs for cache flush and removed local copy of Cache flush code. Updated FPD files that include Runtime driver as a new lib was added to Runtime Driver for the cache flush. Removed Cache Flush routine from EDK DXE SAL Lib.
Cleaned up BaseLib IPF cache routines to only Flush ranges when needed and not to flush the entire cache. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1811 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 07:32:16 +00:00
lgao4 ef3f0f3a3f Remove the redundant include header: Common/StatusCode.h for Terminal modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1799 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-19 07:32:48 +00:00
wuyizhong 22fe73195e Update build options format from "ABC", "XYZ" to ABC XYZ.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1791 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 08:25:13 +00:00
qhuang8 1cb5cfc184 Replace .global with .globl to solve compatibility issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1786 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 03:48:37 +00:00
wuyizhong 706c2ad4ba Add Build Macro to build SEC modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1784 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 02:38:01 +00:00
mikewuping c5986ece67 Fix a bug by the check-in of 1738, which programs SATA interrupt line wrongly and will block booting from SATA disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1762 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 09:39:41 +00:00
mikewuping 3114b33496 I fixed following bugs.
1. In dependency.c, DXE Dispatcher doesn't check the dependency expression boundary correctly.
2. In page.c, a misspelling code in DXE core memory service code, duplicate code.
3. In gcd.c, according to DXE CIS 0-91 spec, When GcdAllocateType is EfiGcdAllocateMaxAddressSearchBottomUp or EfiGcdAllocateMaxAddressSearchTopDown, then the GCD memory space map is searched from the lowest address up to BaseAddress (or from BaseAddress down to the lowest address) looking for unallocated memory ranges of Length bytes. Here, BaseAddress itself is inclusive, that is, any range in [0, BaseAddress] is allowable. But current code BaseAddress to be exclusive.
4. In Ebcinit.c, EbcDebugRegisterPeriodicCallback() not check whether it is already registered.
5. In Ebcinit.c, EbcDebugRegisterExceptionCallback() not check whether it is already registered.
6. In Ebcinit.c, EbcDebugSignalException() does not assign value to EbcContext.ControlFlags.
7. In Ebcinit.c, EBC: StatusCodeValue should use EFI_SOFTWARE_EBC_EXCEPTION.
8. In Ebcinit.c, EbcDebugRegisterExceptionCallback() does not check ExceptionType
9. In ElTorito.c, BlockIo and DiskIo failed in SCT when there is CD in CD-ROM.
10. In Mbr.c, MBR code can't handle some situations. That is when there are 3 partitions in HD, if delete the first partition, it will not be able to recognize the other two partitions, and if delete the second partition, it will not be able to recognize the third partition. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1749 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 02:48:19 +00:00
lgao4 fc773f6aa7 Remove redundant include header: <common\StatusCode.h> in this file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1748 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 02:10:08 +00:00