vanjeff
9be2900668
1. updated "the Bus Driver that creates all of its child handles on the first call to Start()" not to create any child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
...
The others changes include:
a. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
b. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
2. roll back serial drivers not to create child device, if the device speicifed by remainingdevicepath cannot find in the created devices list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9267 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 03:05:46 +00:00
lgao4
919df8e6d2
Enhance PeiCore and DxeCore check whether the image machine type is supported when start image.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9266 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 02:37:23 +00:00
qhuang8
3f42faa73d
1. Add "CAPSULE_FLAGS_INITIATE_RESET" flag support.
...
2. Minor update CapuseUpdate() implementation to align with recent UEFI spec update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9265 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 01:29:14 +00:00
vanjeff
6fe852082f
1. updated PCI/AGP Devices to check RemainingDevicePath in Supported() and Start() functions. The main changes are:
...
a. Add check validation of RemainingDevicePath in Supported()
b. In Star() function, if RemaingDevicePath is the End of Device Path Node, don't create child device and return EFI_SUCCESS.
2. fixed one device path issue in ScsiBus driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9264 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-15 07:50:48 +00:00
klu2
e7b2c17aad
Apply patch from Patrick Georgi. Correct build tool path to stable version.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9263 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-15 02:18:21 +00:00
vanjeff
af4a63857c
updated the Bus Driver that is able to create all or one of its child handles on each call to Start() not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
...
The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9262 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:55:03 +00:00
lgao4
0cd118f779
1. Add new HII IFR opcode introduced in UEFI2.2 and UEFI2.3
...
They are EFI_IFR_FORM_MAP, EFI_IFR_READ, EFI_IFR_WRITE, EFI_IFR_GET, EFI_IFR_SET, EFI_IFR_MAP, EFI_IFR_SECURITY.
2. Add new data type introduced in UEFI2.2 and UEFI2.3
EFI_IFR_TYPE_ACTION, EFI_IFR_TYPE_UNDEFINED,
EFI_IFR_TYPE_BUFFER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9261 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:41:01 +00:00
eric_tian
82603e7941
fix k8 warning.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9260 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 06:21:07 +00:00
eric_tian
3af875e220
In various archs, Processor memory address may not be same with Pci memory address. For usb host controller, we should use pci memory address to initialize framelist register and all address field in QH/TD.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9259 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 05:26:09 +00:00
vanjeff
ef12a160de
updated basetools binary files which are validated synced with r1707.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9258 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11 06:49:52 +00:00
vanjeff
fd171542e0
Sync basetools' source and binary files with r1707 of the basetools project.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11 03:14:43 +00:00
vanjeff
f22911b49e
updated WinNtSerialIoDxe driver not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
...
The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check efiWinNtIoProtocolGuid firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9256 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 08:42:52 +00:00
lgao4
3831f3e9a9
Fix the bug in PeiServicesInstallFvInfoPpi() implementation that can't set the reliable ParentFvName and ParentFileName when install FvInfo PPI.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9255 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 08:24:05 +00:00
lgao4
ed5ac057bf
Set correctly FV format guid when install FV INFO PPI.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9254 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 07:20:10 +00:00
qhuang8
eaa8a23486
1. Add a new Capsule initiate reset flag
...
2. Clarify return value for UEFI runtime service UpdateCapsule
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9253 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 07:19:44 +00:00
eric_tian
9948c0b018
if PcdHwErrStorageSize is zero, it means HwErr variable store doesn't exist in Variable Region.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9252 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-10 06:51:55 +00:00
vanjeff
252b9c7a9f
1. add EFI Firmware Management protocol definition in MdePkg.
...
2. update comments in EapManagement.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9251 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-09 02:47:39 +00:00
eric_tian
54f594e449
add AtaPassThruProtocol into MdePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9250 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-09 01:57:27 +00:00
vanjeff
9d0ece87aa
adjust error process code position.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9249 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 08:13:08 +00:00
vanjeff
2277ab96eb
updated IdeBus driver not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9248 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 07:57:40 +00:00
qhuang8
bcdff90d2c
Remove obsolete description to avoid confusion. DevicePathLib class does not implicitly depend on BaseLib now.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9247 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 07:36:34 +00:00
vanjeff
5cba121d30
add modifier EFIAPI for library interfaces.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9246 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 07:29:48 +00:00
lgao4
3032f54962
Correct EFI_IFR_RESET_BUTTON from question to statement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9245 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 04:31:46 +00:00
vanjeff
eb4a14b9e1
refine functions comments to add new description for remaining devicepath in UEFI 2.3
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9244 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 03:14:19 +00:00
klu2
be35570d9c
Add PCD protocol/ppi defined in PI 1.2, which is different with early PCD protocol/ppi that it only support DynamicEx type PCD.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9243 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 01:56:30 +00:00
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