jljusten
607ca5102e
OVMF: Fix a hang after resetting when NV variables are preserved.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9242 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-07 20:18:19 +00:00
jljusten
77ba993c88
OVMF: Add support for more persistent NV variables which can survive a system reboot.
...
Make use of EMU Variable driver's PcdEmuVariableNvStoreReserved to allow
NV variables to persist a VM system reset. The contents of the NV variables
will still be lost when the VM is shut down, but they appear to persist
when the efi shell reset command is run. (Tested with QEMU 0.10.0.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9241 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-07 20:18:17 +00:00
jljusten
02328a57a2
EMU Variable: Add support for pre-reserved NV variable store.
...
Add PcdEmuVariableNvStoreReserved which allows a platform to declare a
memory address for the EMU Variable driver to use for the NV variable
store. The EMU Variable driver will look to see if the contents of
this memory range appear to be a valid variable store, and if so
the EMU driver will use the variables.
If a platform can preserve a memory range across system resets, this
feature can allow the EMU Variable driver's NV variable store to be
preserved across a system reset.
In the default case this PCD will be set as a fixed PCD with a value
of 0. In this case this new feature should have minimal impact on
the EMU Variable driver. (Perhaps a slight increase in code size,
but no functional difference is expected.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9240 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-07 20:18:14 +00:00
qhuang8
2ca6377b5e
Remove unnecessary library mapping.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9239 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-04 07:12:24 +00:00
vanjeff
5899caf003
Clarify the UEFI/EFI specification version in file header comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9238 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:22:38 +00:00
eric_tian
f759064285
specify the spec revision number followed by protocol
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9237 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:21:05 +00:00
vanjeff
dda34dc7b7
add UefiPxeBcDxe in Nt32 platform.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9236 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:09:58 +00:00
rsun3
1dbfa45f13
Add into MdePkg definitions for the SMM IO Trap Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9235 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:09:55 +00:00
vanjeff
5276f6674a
add UefiPxeBcDxe in Nt32 platform.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9234 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:08:43 +00:00
rsun3
55b19d7fe4
Add into MdePkg definitions for the SMM Power Button Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9233 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 08:52:42 +00:00
rsun3
acee7e74f3
Add into MdePkg definitions for the SMM Standby Button Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9232 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 08:39:51 +00:00
rsun3
b6e51fd53e
Add into MdePkg definitions for the SMM General Purpose Input (GPI) Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9231 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 08:15:22 +00:00
rsun3
1a42a56f9a
Add into MdePkg definitions for the SMM USB Dispatch2 Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9230 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 07:34:19 +00:00
rsun3
2b2cb0e8c3
Add into MdePkg definitions for the SMM Periodic Timer Dispatch Protocol as defined in PI 1.1 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9229 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 06:31:07 +00:00
rsun3
76ab2dc37d
Add into MdePkg definitions for the SMM Sx Dispatch Protocol as defined in PI 1.2 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9228 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 05:12:26 +00:00
rsun3
83632987dc
Add into MdePkg definitions for the SMM Software Dispatch Protocol as defined in PI 1.2 Specification Volume 4 System Management Mode Core Interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9227 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 02:37:02 +00:00
lgao4
bd86cb0292
1. Add TCG MOR (Memory Overwrite request) definition from TCG Platform Reset Attack Mitigation Specification.pdf.
...
2. Add WIN certificate definition from 2.3.
3. Add the signed Image verification definition from UEFI 2.3.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9226 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 09:23:28 +00:00
rsun3
395a656ffc
Add into MdePkg definitions for the SMM PCI Root Bridge IO protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9225 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 07:56:54 +00:00
rsun3
d0778dd754
Add into MdePkg definitions for the EFI SMM CPU Protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9224 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 06:36:06 +00:00
rsun3
5a3cb5fdb4
Add into MdePkg definitions for the EFI SMM Status Code Protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9223 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 03:47:14 +00:00
eric_tian
d674ed538f
UEFI 2.3 Specification should be updated to move these status code definitions into Appendix D, so all the EFI_STATUS codes are defined in a single place in the specifications, and that will help avoid status code collisions as new status codes may be defined over time.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9222 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-02 02:33:15 +00:00
qhuang8
3d747a890f
Refactor the code logic to reduce code size for debug tip.
...
The original switch case statements does not generate space efficient size when optimization is disabled.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9221 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 15:05:34 +00:00
qhuang8
8e2978b4ad
Add /GF compiler option for IPF ICC tool chains by default.
...
This option enables read-only string pools to reduce the final PE/COFF image size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9220 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 15:03:44 +00:00
qhuang8
8facd18f30
Split AsmReadKr7() and AsmWriteKr7() from AccessKr.s file since these two APIs are frequently used to store/fetch PeiServicesTable pointer for IPF platform. Some compiler/linker with /Od is not smart enough to remove used KR registers access APIs.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9219 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 14:57:18 +00:00
rsun3
709f55c023
Add into MdePkg definitions for EFI SMM Communication Protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9218 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 07:58:24 +00:00
rsun3
82eea366b7
Add into MdePkg definitions for the DXE SMM Ready To Lock protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9217 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 07:29:46 +00:00
rsun3
fc8f8b257b
Add into MdePkg definitions for SMM Ready To Lock protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9216 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 07:19:16 +00:00
rsun3
978da3096d
Add into MdePkg definitions for EFI SMM Configuration Protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9215 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 06:41:02 +00:00
rsun3
e3aad9b3d0
Add into MdePkg definitions for the EFI SMM Control2 Protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9214 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 06:08:02 +00:00
rsun3
8442c53e2b
Add into MdePkg definitions for the EFI SMM Access2 Protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9213 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 05:35:03 +00:00
rsun3
2a452a560b
Add into MdePkg definitions for EFI SMM Base2 Protocol as defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9212 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 03:15:40 +00:00
rsun3
04c5d169fc
Add into MdePkg the common definitions in the Platform Initialization Specification version 1.2 VOLUME 4 System Management Mode Core Interface version.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9211 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 02:47:57 +00:00
qhuang8
33bb632657
Update BdsDxe to use HiiLib and UefiHiiServicesLib APIs to eliminate the symbol collision.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9210 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 14:14:44 +00:00
klu2
ab8cc80b8a
Beatify the debug string for displaying boot device when boot EFI device path.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9209 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 07:13:33 +00:00
rsun3
0495739faa
Add into MdePkg definitions for the SMM Cpu I/O Protocol defined in the PI 1.2 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9208 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 03:23:38 +00:00
eric_tian
a29a93b4bd
revert the change on BdsConsole. when doing minimal boot, the ConsoleIn variable is used to store existing input device's device path. If the device can not be connected, its device path will be removed from ConsoleIn.
...
So due the usb hot plug feature, we should always connect USB host controller according to the consolein device provided by PlatformData file before entering frontpage. This way can avoid usb device can not work in frontpage phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9207 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 02:39:56 +00:00
rsun3
ea4220e3e9
Add comments indicating in-consistency between code and the UEFI 2.3 specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9206 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 01:41:29 +00:00
vanjeff
0c3312f503
StartPciDevicesOnBridge() should correct return value.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9205 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-28 05:33:36 +00:00
eric_tian
93c288f2fb
due to EmuVariable driver only uses volatile memory to simulate the variable region, so PcdHwErrStorageSize should be less than or equal to PcdVariableStoreSize
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9204 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-27 06:24:26 +00:00
vanjeff
c97b567227
refine the code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9203 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-27 01:50:35 +00:00
AJFISH
b7f76514ec
Minor bugs fixes from testing on Xcode 3.2 and with the iPhone SDK 3.0 compiler.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9202 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 21:09:37 +00:00
AJFISH
c719e02c14
Adding a python script to enable RVCT 3.1 (ARM ARM compiler) to run in cygwin. The build system passes cygpaths and the Windows tool can not deal with that. The python converts paths to C:\ to make RVCT 3.1 happy. This has been fixed in RVCT 4.0. The ARM processor does not support instructions like divide, so compiler specific intrinsics are required. The .libs are checked in here and referenced from the tools_def.template file, so they are automatically included when the compiler is invoked. The souce to these .lib files will be checkin soon in a new ArmPkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9201 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 21:08:05 +00:00
vanjeff
badd7e61a8
Added definitions of EFI EAP Protocol, EFI EAP Management Protocol and EFI FTPv4 Protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9200 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 09:15:18 +00:00
eric_tian
48cd992ac7
add assertion to ensure HwErr type variable range is less than or equal to VariableStore range.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9199 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 02:59:28 +00:00
vanjeff
e77d8dd3ce
minimum updating.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9198 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 02:22:37 +00:00
jchen20
747b19eadc
Fixed a bug on the menu display: Following steps to reproduce it:
...
1. Boot to shell
2. go to boot maint manager
3. Boot options
4. Add boot option
5. Add 15 or so unique boot options (just so the list scrolls)
6. go the boot maint manager
7. go to Boot options
8. go to Change boot order
9. the list is long enough that it scrolls when you push down once (to get to the commit option)
10. push down once and then up once (repeat) (from list selected to "commit" selected)
11. you will notice the list and text is getting corrupt
12. do it until all items in list are gone (system will assert)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9197 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 02:21:45 +00:00
jchen20
e3eb7467c6
Fixed a bug on the menu display: Following steps to reproduce it:
...
1. Boot to shell
2. go to boot maint manager
3. Boot options
4. Add boot option
5. Add 15 or so unique boot options (just so the list scrolls)
6. go the boot maint manager
7. go to Boot options
8. go to Change boot order
9. the list is long enough that it scrolls when you push down once (to get to the commit option)
10. push down once and then up once (repeat) (from list selected to "commit" selected)
11. you will notice the list and text is getting corrupt
12. do it until all items in list are gone (system will assert)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9196 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 02:19:29 +00:00
qhuang8
6156fca14d
Add Sec/Ia32/Gasket.S
...
Remove unreferenced Stack.S
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9195 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-25 07:39:51 +00:00
qhuang8
ccd55824e7
Integrate patch from Andrew Fish to make it run on OS X.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9194 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-25 07:29:13 +00:00
mdkinney
7f22d35110
Fix file headers
...
Move stack alignment check from CPU specific files into common SwitchStack() function and add VA_END() to SwitchStack().
Fix incorrect syntax for ASM_FUNCTION_REMOVE_IF_UNREFERENCED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9193 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 23:53:23 +00:00