Commit Graph

333 Commits

Author SHA1 Message Date
mdkinney 9c89ec9819 Only include SmmCis.h if the CPU Arch is IA32 or X64
Only include SalApi.h if the CPU Arch is IPF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2108 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-18 20:02:05 +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
xgu3 ada5e82740 Change the Boot Script storage to fixed length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2096 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 07:36:20 +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
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
mdkinney 513b53b139 Update BaseDebugLibNull to not touch any global variables or PCD settings
Update BasePeCoffLib to include work around for Itanium ELILO images that do not follow the PE/COFF spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2083 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 05:26:13 +00:00
klu2 b96ad3ace8 The EFI_IMAGE_REL_BASED_DIR64 type has been in switch for all common relocation type, So last check-in is duplicated code. Remove it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2076 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 05:09:33 +00:00
klu2 265c22cc33 Handle new relocation type EFI_IMAGE_REL_BASED_DIR64 for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2075 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 03:43:57 +00:00
qhuang8 1082de3167 Add a new definition according to Pci spec 2.2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2074 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 03:41:30 +00:00
klu2 77206d75ad Add X64 support for DebugSupport driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2068 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 08:41:28 +00:00
mdkinney 756e4264d3 Move registration and processing of ExitBootServices() events into UefiDriverEntryPoint/DriverEntryPoint.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2056 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 05:13:52 +00:00
xli24 a7e39a828e Add enumeration type for EfiProcessorFamilyIntelPentiumM, EfiProcessorFamilyIntelCeleronD, EfiProcessorFamilyIntelPentiumD, EfiProcessorFamilyIntelPentiumEx for processor family data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2048 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 03:40:01 +00:00
bbahnsen 6a138c666a Do not check __STDC_VERSION__ for gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2047 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-04 17:01:58 +00:00
xgu3 1ee7ae6e40 Add Information Opcode in S3 modules.
Information Opcode is a new opcode that allows driver to record any information in script table.
   

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2041 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-30 09:14:25 +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
mdkinney 4a32862018 Declare the alignment required for jump Buffers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2021 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 02:41:26 +00:00
mdkinney 20bfd422ed Define GLOABAL_REMOVE_IF_UNREFERENCED for IPF on MSFT tool chains
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2014 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-26 04:08:03 +00:00
mdkinney addf9aa46c Fix IPF alignment issue when building a Report Status Code message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2011 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-25 02:07:07 +00:00
xli24 9710b9a67c Add volatile to modify LockValue in ReleaseSpinLock().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2008 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-24 02:27:09 +00:00
yshang1 733f4094ee To Fix PVCS 429.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2007 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 09:05:19 +00:00
xli24 2d57c546e0 Add volatile to modify LockValue in AcquireLockOrFail().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2006 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 09:01:43 +00:00
bbahnsen 02ad42aed8 Port a couple of files to gnu assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2001 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 00:22:20 +00:00
mdkinney 205f41d551 Add PeiServicesTablePointerLibKr1 to the FPD and SPD file for the MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1994 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:42:57 +00:00
mdkinney 9e95f418cc Add PeiServiceTablePointerLib that uses KR1 to save/restore the PEI Services Table Pointer
This library is only valid for Ipf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1993 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:41:04 +00:00
mdkinney 9cbd688b1e Add 64-bit I/O port functions that ASSERT()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1992 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:39:03 +00:00
mdkinney ea8433c9cf Remove DXE Core Entry Point Library Class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1991 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:37:34 +00:00
mdkinney 924c490ad3 Remove Peim Entry Point Library Class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1990 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:36:59 +00:00
vanjeff 83b3efca13 fix one bug on Timer Frequency return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1983 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 06:26:55 +00:00
mdkinney 2043cd261c Remove duplicate <Extern> for the lib constructor and destructor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1979 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 23:13:54 +00:00
mdkinney 7ac2bbc147 Add EFI_DELIVERY_MODE to SalApi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1977 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 05:03:37 +00:00
mdkinney da0559bf73 Disable warning when assigning a function pointer to a data pointer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1976 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 05:02:54 +00:00
bbahnsen dfd52cc1c6 Add Thunk16.S -- needs to be ported from masm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1971 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:54:19 +00:00
bbahnsen a1ef15526b Add gnu x86 assembly sources.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1970 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:48:52 +00:00
bbahnsen 32804425d7 Add an underscore for gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1969 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:43:12 +00:00
lgao4 b026832ead Add gcc macro to remove pack() for gcc build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1962 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 06:19:47 +00:00
lgao4 4a0b6afe5a Add pack(1) for boot scipt structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1960 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 05:49:22 +00:00
bbahnsen e29e52e7c0 Initial port to x86_64 gnu assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1959 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 01:11:41 +00:00
bxing 38b5365e39 Enabled 4G+ memory in thunk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1957 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15 09:31:03 +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
bbahnsen 1547e08c56 Add ULL to integer literals for gcc support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1946 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 06:48:07 +00:00
vanjeff 6d864b7a91 Rename PcdPlatformBusSpeed to PcdFSBClock and update help text.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1943 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 05:43:15 +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
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
mdkinney ea1e4c10aa Set the stack alignment for X64 to 16 bytes per the X64 Calling Convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1933 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 06:44:15 +00:00
xli24 c9708dddc1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1931 6f19259b-4bc3-4df7-8a09-765794883524 2006-11-13 03:40:52 +00:00
vanjeff 0401b900ad added help text for PcdPlatformBusSpeed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1928 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-10 06:07:39 +00:00
mdkinney b5b60e8b49 Fix ALIGN_POINTER() macro. The pointer (p) passed in must always be converted to (UINTN) prior to performing math operations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1922 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 22:01:56 +00:00
mdkinney caae4de6b6 Add #define CPU_STACK_ALIGNMENT to the ProcessorBind.h for each of the supported CPU architectures. This value is sizeof(UINTN) for IA-32, X64, and EBC. It is 16 bytes for IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1920 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09 21:26:29 +00:00
jtang12 a6b6ec4d58 Update processor socket type definition to comply with SmBios 2.5 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1916 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 06:42:39 +00:00
jtang12 e4a246f134 Changed definitions in Legacy16.h and LegacyBios.h to be compatible with CSM 0.96
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1910 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-08 02:10:54 +00:00