Commit Graph

272 Commits

Author SHA1 Message Date
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
jtang12 3fc556d665 Add definition for FB DIMM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1825 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 05:25:25 +00:00
qhuang8 4bacc21072 Remove the library instance of BaseReportStatusCodeLibNull
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1823 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 04:38:50 +00:00
ajfish c993d0dac4 Did not check in new files correctly the first time!
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. 

Removed the need for processor specific code in the Runtime driver by using MDE Cache Lib. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1822 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 03:58:50 +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
ajfish b077fb7492 Removed duplicate PalCallStatic functions in different libraries. Moved ReadItc and InvalidateInstructionCacheRange to the BaseLib so other libs don't need .s files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1810 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 03:06:05 +00:00
ajfish cd4903c497 Removed duplicate PalCallStatic functions in different libraries. Moved ReadItc and InvalidateInstructionCacheRange to the BaseLib so other libs don't need .s files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1809 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 03:03:45 +00:00
jtang12 7f62acd2fa Added definition of SMBIOS type 15 - System Event Log.
Added some missing field to SMBIOS type 1 - System Manufacturer.
Added some missing field to SMBIOS type 0 - BIOS information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1801 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-20 03:17:29 +00:00
rsun3 3683e55034 Add two new data hub subclass related definitions per SMBIOS 2.4 spec.
1. memory device type for DDR2
2. System slot type for Pci Express

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1772 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-17 07:04:53 +00:00
qwang12 2193b507f0 DxeCore.h, PeiCis.h and Uefi.h should not include <Protocol/Pcd.h>. If a module need to resolve PCD macro (FixedAtBuild, BinaryPatch or Dynamic), the module should declare that it consume PcdLib library class in MSA file. The Edk II build tool will include "PcdLib.h" in "Autogen.h".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1699 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 03:39:55 +00:00
rsun3 2f8df87003 Fix a bug in InternalMathDivRemU64x64(). The bug is that the 64-bit divisor is designed to be loaded to ecx:ebx but the high 4 byte of the divisor is forgotten to be loaded to ecx
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1693 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09 10:09:26 +00:00
bxing 73c47db8c7 Optimized HighBitSetXX() functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1689 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 08:45:59 +00:00
mdkinney 705d3a7756 Use intrinsic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1670 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:56:11 +00:00
mdkinney 9730cac8a1 Use intrinsic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1669 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:50:23 +00:00
mdkinney 32a4d5cecf Use intrinsic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1662 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:07:25 +00:00
mdkinney d8e5077483 Fix GCC build issue
Take advantage of some intrinsics from MSFT build tools


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1661 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:06:00 +00:00
mdkinney 6fe6627470 Add support for DEBUG and RELEASE builds of this FPD file.
Remove all FLAG settings from this FPD file.  This functionality has moved into tools_def.txt


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1660 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:04:24 +00:00
lgao4 542834ce80 Remove the duplicated Copy Right in msa header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1634 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27 09:26:40 +00:00
qhuang8 b7089db120 1.Fix .global issue in GAS (EdkT207).
2.Fix Label start with @ (EdkT208).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1610 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 10:05:26 +00:00
vanjeff 148ac238cc added ACPI_TIMER_FREQUENCY definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1577 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 09:15:14 +00:00
mdkinney 23086ba84c Optimize the size of the Base Library for the MSFT 32-bit tool chains by taking advantage of inline assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1567 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:04:40 +00:00
mdkinney b053781829 Add GLOBAL_REMOVE_IF_REFERENCED to the declaration of module globals in the Print Library that were still present in the final image even through there were no references to those module globals.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1566 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:01:18 +00:00
vanjeff a8e756dad0 add EFIAPI for those constructor funcitons declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1547 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 02:07:18 +00:00
vanjeff 34913f248c typecast some return values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 02:36:38 +00:00
bxing f23d790a79 Added an extra GDT entry to the GDT used by thunk code. SS register will always be loaded as flat segment before switching to 16-bit mode, since SS might not be always valid for NULL selector is allowed in 64-bit mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1541 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 16:04:47 +00:00
vanjeff 5117b83be8 update GetPerformanceCounterProperties() declare
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1518 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 01:10:51 +00:00
bxing ed9610eb9c Fixed a bug in WriteBackInvalidDataCache() that always flush cache lines even when the argument Length is zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1504 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-09 02:44:57 +00:00
lgao4 8cf2c0a7d7 Change PcdDebugPrintErrorLevel PCD declare in msa as DYNAMIC, because this PCD type can be
FIXED_AT_BUILD and PATCHABLE_IN_MODULE.
Change Some WINNT PCDs type declared in EdkNt32Pkg.spd as DYNAMIC, because they is used in Nt32 emluator platform as DYNAMIC type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1494 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 08:24:27 +00:00
lgao4 2f3fb65dd1 Set MdePkg.fpd, EdkModulePkg.fpd and Nt32.fpd default build directory to workspace root build directory according to Jordon's suggestions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1486 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:56:16 +00:00
jwang36 22a8f52f8e Added two #pragma to disable 4505 & 4206 warnings for MSFT compiler. This is for compiling source files with pre-compiled header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1442 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 01:43:14 +00:00
klu2 7085597507 Fix track EDKT106 & EDKT112: map LibPcdSetPtr function for PatchPcdSetPtr macro function defined in PcdLib library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1381 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 17:04:56 +00:00
bxing ddc316e240 Changed GetPerformanceCounter() to use the most efficient mean to unsigned extend an UINT32 value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1343 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-22 01:36:09 +00:00
bxing f094c270ee A workaround to a compiler bug that causes the high order 32 bits of GetPerformanceCounter() being indeterminate.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1336 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 09:32:26 +00:00
bxing eeb1cd5af3 1. Added Non-existing.c in BaseLib to assert no invocations of SwitchStack() on IPF.
2. Added SwitchIplStacks() function to DxeIplPeim to encapsulate arch details on stack switching.
3. Added PeiSwitchStacks() function to PeiMain to encapsulate arch details on stack switching.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1328 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 02:53:29 +00:00
bxing 6e028650e7 Fixed a bug causing the high order double word of values returned by GetPerformanceCounter() became -1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1322 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 08:33:00 +00:00
klu2 ca844f3623 Continue to fix EDKT187.
After discussion with ouyang, qian and shi, carl, we find it is no necessary to add PcdLib according to whether library instance use PcdLib.
In this patch. I remove original fixing and correct some MSA file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1315 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 16:23:46 +00:00
bxing 681dbac98c Added AsmSwitchStackAndBackingStore() to BaseLib.h for stack switching on IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1305 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 05:32:47 +00:00
xgu3 64ec22c0f1 Add boot script dispatch opcode 2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1292 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 07:23:37 +00:00
qhuang8 94f446c081 Add PcdPciExpressBaseAddress info to MdePkg.spd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1275 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 09:51:45 +00:00
vanjeff 9c7790d2cb 1. Adjust might be 64bit, so we need to typecast it to UINT32 firstly.
2. Synchronization modification described in Tracker EDKT182 to all dependent files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1270 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 06:35:47 +00:00
yshang1 9136b0e0ba Add more comments in UefiDriverModelLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 05:18:48 +00:00
yshang1 af7964350b git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1245 6f19259b-4bc3-4df7-8a09-765794883524 2006-08-14 03:34:45 +00:00
yshang1 b059e41102 Add function headers in UefiDriverModuleLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1244 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 03:33:32 +00:00
ajfish 317f832ef8 Fixed bugs found when this code was ported into R8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1240 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-11 18:04:56 +00:00
bxing 3a5dcc063c Removed unnecessary MSR access in InternalX86Delay()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1228 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 04:42:10 +00:00
lgao4 a682ecebfe Sync this file with MiscSubClass spec and add some struture alias to use them more conviniently.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1226 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 09:45:32 +00:00
bxing cea9bda05a 1. Added ReadWriteBarrier() before and after each I/O read/write function.
2. Removed all ReadWriteBarrier() function calls in all MMIO functions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1224 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 06:38:30 +00:00
lgao4 fbea738a07 Move FileInfo.h, FileSystemInfo.h, FileSystemVolumeLabelInfo.h from protocol directory to guid directory, because these three files define the related GUID not protcol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1204 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 09:46:03 +00:00
xgu3 4dbd074e66 Modify dispatch opcode for standalone boot script executor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1199 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 07:51:56 +00:00
lgao4 3542a1ea2f Change PcdReportStatusCodePropertyMask default value from 0x7 to 0x6, don't print Progress Code Info.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1186 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 11:32:57 +00:00