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