ydong10
901ba0e78d
Enable buffer type when process some expression opcode which support buffer type.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12739 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-18 07:07:31 +00:00
ydong10
ef40f0f6d6
Patch for:
...
1. Get default value base on the priority: default opcode has highest priority and get from minimum or first option has lowest.
2. When default value saved in expression, not set default value for this question.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12738 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-18 07:05:17 +00:00
jyao1
f6ec0c771a
In BootScriptSaver, put INFORMATION_OPCODE message to LockBox.
...
In BootScriptExecutor, add code to display this INFORMATION_OPCODE message.
Signed-off-by: jyao1
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12735 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-17 09:35:20 +00:00
erictian
f01219e875
MdeModulePkg: Enable port power if port power control feature is supported by EHCI
...
signed-off-by: erictian
reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12725 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-16 10:24:47 +00:00
ydong10
4a6876b72f
Patch include:
...
1. Browser not support suppress attribute for date/time opcode, not enable this attribute.
2. Show year field in %04d format, old format is %4d.
3. Add sample to use the suppress attribute.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12722 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-16 07:16:03 +00:00
ydong10
f67c4382ed
Enable lock attribute for statement and form; show this attribute same as grayout.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12721 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-16 05:23:38 +00:00
ydong10
85aa96cd54
Update select highlight menu logic when opcode is date/time
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12720 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-16 05:09:36 +00:00
qianouyang
1aff716ac7
In AtaAtapiPassThru driver
...
1. move the non-blocking task related setting ahead to store the MapTable and PageCount in case there is a IO operation error happened then the error handler code could use those information to release the resource.
2. Enlarge the TPL protective area to make sure the simulative delay time is accurate when there is mixing usage of Non blocking and blocking I/O.
Signed-off-by: qianouyang
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12712 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15 13:44:06 +00:00
erictian
9cc86267ce
Correct AtaAtapiPassThru module packaging info.
...
Signed-off-by: erictian
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12706 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15 09:47:32 +00:00
li-elvin
e846c180b9
The handler dispatcher in PEI statuscode router driver should check if handler is NULL, if it is not NULL, then handler can be called.
...
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12699 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15 06:36:37 +00:00
niruiyu
f0d711eb1b
Do not call LocateProtocol when the current TPL is above or equal TPL_NOTIFY.
...
Signed-off-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12696 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-15 01:48:13 +00:00
jyao1
960729473e
Follow PI1.2c spec, check empty string and return EFI_INVALID_PARAMETER.
...
Clean up comment according to PI1.2c spec.
signed-off-by: jyao1
reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12690 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-14 06:28:40 +00:00
niruiyu
4efa9e594a
Fix a typo in the comments
...
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12689 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-14 02:41:04 +00:00
lzeng14
008d25427c
Remove some useless functions for EhciPei driver.
...
Signed-off-by: lzeng14
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12677 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-09 09:38:56 +00:00
niruiyu
fb849d0dc0
Add the missing (UINTN) type cast when calculating the end of variable store.
...
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12672 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-08 08:42:34 +00:00
niruiyu
8cb3ed513e
Roll back an incorrect change that causes EmuGetVariable always return EFI_NOT_FOUND.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12667 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-08 03:00:56 +00:00
xdu2
e2988e6632
MdeModulePkg: Define Boot Logo protocol to convey information of Logo dispayed during boot.
...
Signed-off-by: xdu2
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12663 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-04 08:27:53 +00:00
erictian
8536cc4b37
MdeModulePkg: ATA performance tuning.
...
1. Boost IDE mode boot when slave device is absent.
2. Use D2H FIS to check if the PIO OUT/DMA IN/DMA OUT transfer is finished or error happened. ATA PIO IN has special check as it may just receive PIO SETUP FIS for success case.
3. Add command status register check for IDE DMA transfer.
4. ScsiDiskReadCapacity() in ScsiDisk should return EFI_SUCCESS if SENSE Data request is success.
Signed-off-by: erictian
Reviewed-by: rsun3
Reviewed-by: xdu2
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12658 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-03 12:38:21 +00:00
xdu2
9c9f585937
MdeModulePkg: Define correct ABI for issuing UNDI command and UNDI callback functions in SnpDxe.
...
This update ensure correct calling convention for interfaces between binary UNDI driver and SnpDxe.
Signed-off-by: xdu2
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12657 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-03 02:59:20 +00:00
jljusten
7538d53684
MdeModulePkg: Remove variables that are set, but not used
...
GCC 4.6 generates a warning when a variable is set,
but never used.
Signed-off-by: jljusten
Reviewed-by: lgao4
Reviewed-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12617 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-31 15:58:05 +00:00
ydong10
b2e444aaf7
When browser was requested to go to another formset, it also needs to update the hiihandle in Selection structure. If not update this handle, later when call function GetIfrBinaryData to get binary ifr data will return failed.
...
Also add sample code to use it.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12607 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-31 03:33:55 +00:00
rsun3
50bdaa0592
Fix compiler warnings.
...
Signed-off-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12606 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-31 01:26:19 +00:00
rsun3
306bbe82cb
MdeModulePkg PciBusDxe: The PCI Bus Driver is updated to support multiple PCI bus ranges for a PCI root bridge.
...
Signed-off-by: rsun3
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12600 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-28 09:59:40 +00:00
niruiyu
d26727de5f
Add the missing HEADER_ALIGN macro.
...
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12597 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-28 09:35:10 +00:00
li-elvin
b9b5e3078d
Remove hard code video resolution in C code and use PCD PcdVideoHorizontalResolution/PcdVideoVerticalResolution for customization. And when PcdConOutRow/PcdConOutColumn and PcdVideoHorizontalResolution/PcdVideoVerticalResolution are all set to 0, the console will be max video resolution and max text mode.
...
Signed-off-by: li-elvin
Reviewed-by: niruiyu, hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12595 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-28 08:23:37 +00:00
tye1
54ea3ede85
1. Update error handling code if failing attach socket with new PCB.
...
2. Set TCP state to Tcp4StateClosed after Configure called with NULL.
Signed-off-by: tye
Reviewed-by: xdu2
Reviewed-by: qouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12591 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-28 07:27:48 +00:00
lzeng14
6c85d16217
Add core FFS3 support, DxeCore.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12584 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-27 09:23:19 +00:00
lzeng14
890e54170e
Add core FFS3 support, PeiCore and DxeIpl.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12583 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-27 09:04:50 +00:00
lzeng14
30f001ca5f
Add core FFS3 support, ExtractGuidedSectionLib/GuidedSectionExtractionLib/PiFirmwareFile.h.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12582 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-27 08:45:50 +00:00
niruiyu
59d88f42ca
Check the serial buffer empty status before performing the serial IO reading operation.
...
Signed-off-by: niruiyu
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12581 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-27 05:38:42 +00:00
vanjeff
bdfbe63efa
Store PeiServices** when updating IDT table in DxeIplPeim before transfer to long mode.
...
Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12580 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-27 05:26:02 +00:00
ydong10
20258293aa
Initialize the parameter mUnicodeCollation before use it to avoid system hang.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12577 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-27 01:10:18 +00:00
niruiyu
501793fad4
Adopt new IPv4/IPv6 device path for network modules.
...
Signed-off-by: tye
Reviewed-by: niruiyu
Adopt SasEx and new IPv6 device path for DevicePathDxe driver.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12574 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-26 09:29:46 +00:00
xdu2
e20d6513ed
MdeModulePkg: Enhance error handling in NetLibGetMacAddress() of DxeNetLib.
...
Signed-off-by: xdu2
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12572 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-26 06:52:02 +00:00
ydong10
5f4ef94a55
Fix error: Multiline option info only shows the first line error, should shows the full info.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12566 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-25 09:00:23 +00:00
niruiyu
608817ad71
Change the SimpleTextInEx implementation to return CTRL+C when CTRL and C are both pressed; SimpleTextIn implementation still returns CTRL+3.
...
Signed-off-by: niruiyu
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12563 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-25 06:11:54 +00:00
niruiyu
f68af18ee9
Support Variable driver (EmuRuntimeDxe) to support the default variable data stored in HOB.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12553 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-19 09:30:43 +00:00
erictian
9e70c18b1f
If the data buffer described by InDataBuffer/OutDataBuffer and InTransferLength/OutTransferLength is too big to be transferred, EFI_BAD_BUFFER_SIZE should be returned
...
Signed-off-by:erictian
Reviewed-by:li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12549 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-19 05:15:23 +00:00
niruiyu
e3d5b59a65
Fix GCC build failure.
...
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12546 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-18 07:12:35 +00:00
rsun3
5a3a6aa787
MdeModulePkg PciBusDxe: Allows PCI device drivers to set the EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE attribute for a PCI device.
...
Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12545 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-18 03:33:03 +00:00
niruiyu
de2a15eebb
Fix the clang compilation failure to handle all the values in a case statement for enum type value.
...
Signed-off-by: Andrew Fish
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12539 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-14 07:46:15 +00:00
niruiyu
0f7aff7249
Change Variable driver (Pei/RuntimeDxe) to support the default variable data stored in HOB.
...
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12538 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-14 05:19:39 +00:00
ydong10
90f6df07f8
Refine code and check null pointer error.
...
Signed-off-by: ydong10
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12532 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-13 02:31:58 +00:00
niruiyu
c86b273d90
Grub4Dos copies the BPB of the first partition to the MBR. If the DriverBindingStart() of the Fat driver gets run before that of Partition driver only the first partition can be recognized.
...
Let the driver binding version of Partition driver be higher than that of Fat driver to make sure the DriverBindingStart() of the Partition driver gets run before that of Fat driver so that all the partitions can be recognized.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12528 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-12 02:45:02 +00:00
jyao1
47f8d0f3c3
Fix Smbios table checksum error, by zero IntermediateChecksum and EntryPointStructureChecksum before checksum calculation.
...
signed-off-by: jyao1
reviewed-by: elvinli
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12527 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-11 13:25:18 +00:00
li-elvin
30d636c8d9
AsciiSPrint returns The number of ASCII characters in the produced output buffer not including the Null-terminator, but SerialStatusCodeWorker has bug which overwrites the last character, which causes there is a missing character in serial log output. The fix is to resolve this issue.
...
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12526 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-11 03:45:24 +00:00
ydong10
39099cbdcf
Enhance op-code EFI_IFR_TO_BOOLEAN to case insensitive.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12520 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-10 03:17:46 +00:00
ydong10
c4042207d6
When the CONFIG_ACCESS_PROTOCOL.CallBack function return error, the question should restore to old value
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12518 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-09 10:52:54 +00:00
ydong10
269218a300
Update code to make get string case insensitive about language
...
Signed-off-by: ydong10
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12517 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-09 10:44:05 +00:00
andrewfish
d4a78455c6
Add a GUIDed HOB to init Debug Print error level earlier in DXE. Add NULL PEIM library to init HOB.
...
Debug Print Error level can be controled by an EFI variable. Update the DXE version of the library to use a HOB if the variable services are not yet availilbe. This allows the variable to be used early in the DXE phase.
approved-by: andrewfish
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12516 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-08 21:00:13 +00:00
sfu5
02a758cb0b
Add pointer check for NULL before dereference it.
...
Signed-off-by: sfu5
Reviewed-by: xdu2
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12514 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-08 02:55:30 +00:00
niruiyu
4bc6ad3935
MdeModulePkg: TerminalDxe driver code clean up
...
Roll back the EOL change wrongly made by last patch.
Adjust the space to align to the EDKII coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12513 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-08 02:44:59 +00:00
niruiyu
02b7bcf9ce
MdeModulePkg: Fix TerminalDxe FIFO Data Loss
...
Fixes a Terminal FIFO full issue that caused data to be lost. The Unicode and EFI Key FIFOs are now checked to make sure they have spaces before pushing another entry.
Signed-off-by: eugenecohen
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12512 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-08 02:09:50 +00:00
qianouyang
3765794ca3
1. Add Partial Keystroke Support in UsbKb drivers. See the Uefi2.3.1a chapter 11.2
...
Signed-off-by: qianouyang
Reviewed-by: niruiyu vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12494 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-30 07:28:16 +00:00
erictian
19bc852765
remove unnecessary retry logic from usb mass storage driver.
...
Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12476 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-29 09:14:30 +00:00
ydong10
04eb20aa85
Add pointer check for NULL before dereference it.
...
Signed-off-by: ydong10
Reviewed-by: rsun3, lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12472 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-29 06:33:23 +00:00
rsun3
a93e23f9ed
MdeModulePkg PCI Bus Driver: Add more checks before dispatching an EFI PCI Option ROM image.
...
* Check if the machine type of the image is supported by the current UEFI system.
* Ignore the image if it is an EFI application as required by the UEFI spec.
Signed-off-by: rsun3
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12465 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-28 07:50:58 +00:00
lgao4
f00237c1d2
Fix ICC9 build break.
...
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12446 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-27 03:46:25 +00:00
lgao4
60c0073fd7
Remove ASSERT (EFI_IMAGE_MACHINE_TYPE_SUPPORTED (Image->Machine)) in StartImage.
...
Signed-off-by: lgao4
Reviewed-by: jyao1 rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12443 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-26 09:32:30 +00:00
vanjeff
d12c6a78aa
error handling enhancement for possible null pointer dereference
...
Signed-off-by: erictian
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12437 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-23 07:44:49 +00:00
vanjeff
2256f1f757
Roll back r12434.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12436 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-23 06:45:16 +00:00
erictian
6ac6017fe8
error handling enhancement for possible null pointer dereference
...
Signed-off-by: erictian
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12434 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-23 05:17:31 +00:00
niruiyu
9d4af8fce2
Return empty string when END device path is passed in to align the original behavior in order to keep backward compatibility.
...
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12402 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-22 02:56:38 +00:00
jyao1
3ecd0155a9
Add PCD for 1G page table
...
signed-off-by: jyao1
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12400 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-21 05:59:21 +00:00
jyao1
378175d258
Add PCD for 1G page table
...
signed off by: jyao1
reviewed by: jfan12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12397 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-21 03:45:35 +00:00
erictian
125887e7e8
Coding style refinement.
...
Signed-off-by: erictian
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12396 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-21 03:35:54 +00:00
lgao4
5c5afa7265
Remove EFI_USER_INFO_ACCESS_SETUP_ADMIN_GUID definition from MdeModulePkg, because it has been defined in MdePkg.
...
And, keep its definition into MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr to let VFR file consume it.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12395 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-21 02:50:24 +00:00
rsun3
2740a797df
MdeModulePkg PeiMain: Enhance the PEI Core to convert GUID/PPI pointers pointing to somewhere in the temporary stack in PPI descriptors.
...
Signed-off-by: rsun3
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12390 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-20 09:17:48 +00:00
lgao4
89a90ae648
Correct Include style to pass GCC build.
...
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12387 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-20 06:15:21 +00:00
jyao1
54d3b84e3e
Correct 1G page table generation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12380 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-19 13:02:05 +00:00
niruiyu
65fd395218
The patch enhances the Partition driver to return the media status (EFI_NO_MEDIA/EFI_MEDIA_CHANGED) even the other parameters are not valid for BlockIo2 interfaces.
...
Signed-off-by: niruiyu
Reviewed-by: erictian
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12378 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-19 06:24:50 +00:00
lgao4
586b399d40
Revert the wrong patch that adds NOOPT target into MdeModulePkg.dsc.
...
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12377 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-18 12:28:22 +00:00
lgao4
c8ad2d7a29
Clean up the private GUID definition in module Level.
...
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.
3. Move two EBC protocols for debug purpose from EBC driver to MdeModulePkg Include directory.
Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12373 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-18 12:21:01 +00:00
ydong10
e7fe402863
Fix Build fail for NT32 platform.
...
Sigened-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12371 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-17 06:48:27 +00:00
lgao4
9c6595dca0
Correct comments for NULL return value of HiiLib HiiAddPackages().
...
Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12366 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16 08:53:03 +00:00
ydong10
cd3d9a851b
Add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1.
...
Also update the impact drivers to keep the old behaviors.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12365 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16 06:13:52 +00:00
ydong10
e4f95ca527
Refine the logic about getting Value info to avoid check data error.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12360 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16 01:22:39 +00:00
rsun3
424b7c9f8f
Enhance the PEI Core to convert pointers pointing to PPI descriptors on the temporary stack.
...
Signed-off by: rsun3
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12354 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-15 06:48:20 +00:00
erictian
a9292c1363
1) remove wrong global variable usage because it will bring data corrupt if there are multiple XHCI host controllers.
...
2) coding style clean up.
Signed-off-by: erictian
Reviewed-by: ydong10
Reviewed-by: jshi19
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12351 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14 12:13:03 +00:00
jyao1
83a52195e8
Fix build error.
...
sign of by: jyao1
reviewed by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12347 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14 07:11:45 +00:00
jyao1
32e8520919
Add [LibraryClasses] definition for MdeModulePkg\Include\Library\LockBoxLib.h.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12343 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14 00:45:39 +00:00
oliviermartin
8adfcdddf6
MdeModulePkg/HiiDatabaseDxe: Removed unused variables
...
'VarDefaultName' and 'ResultSize' were set but not used.
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12341 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 15:22:29 +00:00
oliviermartin
76e7eeea17
MdeModulePkg/UsbBusDxe: Removed unused variable
...
'SnString' is set but not used.
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12340 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 15:21:32 +00:00
lgao4
0a48ffb0c7
Add comments for gEfiFormBrowserExProtocolGuid.
...
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12338 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 09:36:50 +00:00
lgao4
48a9d5f778
Enhance EDKII Browser to support flexible HotKey setting.
...
Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12336 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 09:32:54 +00:00
li-elvin
f63085f50c
Add NULl check for pointer.
...
Signed-off-by: li-elvin
Reviewed-by: lgao4, lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12333 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 06:16:51 +00:00
jyao1
c56b65665d
Use CPU_HOB to detect max address support from platform, and added 1G page table support.
...
Sign-off-by: jyao1
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12332 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 05:48:57 +00:00
sfu5
c3cd46d421
1. Fix bug in PXE driver UdpRead function to handle the IP fragmentation.
...
Signed-off-by: sfu5
Reviewed-by: xdu2
Reviewed-by: hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12309 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-09 08:31:37 +00:00
erictian
ae5dc79532
Media detection logic is enhanced to be more robust.
...
Signed-off-by: erictian
Reviewed-by: hhuan13
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12289 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-07 08:11:42 +00:00
li-elvin
4e4f13d245
Update capsule pei module to pass IPF build.
...
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12280 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-05 09:53:37 +00:00
niruiyu
e9b3cd557f
Support new format of IPv4 device path node, FibreEx and PcieRoot device path node in DevicepathDxe driver.
...
Meanwhile, unnecessary (UINTN) typecast is removed and a buffer truncating bug is fixed. The buffer truncating bug may cause DevicePathToText generates wrong text representation if a input device path is too long.
Signed-off-by: niruiyu
Reviewed-by: tye
Reviewed-by: jjin9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12276 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-05 04:51:51 +00:00
jcarsey
352892190a
MdeModulePkg: Remove UefiBootServicesTableLib dependency from DxePrintLibPrint2Protocol.
...
The use of the BootServicesTableLib inside the DxePrintLibPrint2Protocol
allows for potential circular library dependency.
Signed-off-by: jcarsey
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12273 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02 18:27:56 +00:00
hhtian
6bea33367b
Resolve conflicted PCD TokenValue
...
Signed-off-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12268 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02 13:30:38 +00:00
li-elvin
ab7017fe2b
Add capsule > 4GB support. When capsule data is put above 4GB, IA32 PEI transfers to long mode to get capsule data.
...
Signed-off-by: li-elvin
Reviewed-by: lgao4, mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12264 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02 11:34:35 +00:00
sfu5
0bc17488fe
Fix bug for UefiPxeBcDxe driver to catch the return status.
...
Signed-off-by: sfu5
Reviewed-by: hhuan13
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12252 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 08:48:51 +00:00
ydong10
41ff10dc06
Update HiiBlockToConfig function to follow spec.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12249 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 08:19:55 +00:00
lzeng14
25dd150b58
Remove, correct and refine some debug messages.
...
Signed-off-by: lzeng14
Reviewed-by: erictian
Reviewed-by: qianouyang
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12248 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 06:37:55 +00:00
mdkinney
f02dfb5aee
Rollback SMRAM Lock location
...
Signed-off-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12243 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-31 02:26:36 +00:00
ydong10
78c2b9a334
Add new op-code samples, includes efi varstore, refresh guid group and ref op-code.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12232 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-30 12:39:53 +00:00
ydong10
da58863885
Enable the follow feature for string op-code:
...
1. Show old string before enter new.
2. Enable cursor moves left or right and insert new char or remove the char before the cursor.
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12231 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-30 12:33:41 +00:00
jljusten
bdfde4623d
MdeModulePkg: Add ACPI S3 Save State drivers
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12228 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:19:48 +00:00
jljusten
78df32f2a5
MdeModulePkg: Add PostBootScriptTable PPI
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12226 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:18:48 +00:00
jljusten
be46cd5f85
MdeModulePkg: Add BootScriptExecutorDxe driver
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12225 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:18:19 +00:00
jljusten
64d14edfeb
MdeModulePkg: Add PiDxeS3BootScriptLib
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12224 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:17:27 +00:00
jljusten
88d20adc90
MdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12223 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:16:50 +00:00
andrewfish
c7ce516971
Fix issue with SMBIOS driver assumming memory exists below 4GB.
...
approved-by: andrewfish
reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12220 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 20:47:22 +00:00
ydong10
ba944801a9
Fixed memory leak and buffer overrun for string op-code.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12213 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-26 01:54:49 +00:00
xdu2
ce2f13a341
MdeModulePkg: Define PPI to convey performance information from SEC phase to PEI.
...
Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12212 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 12:03:53 +00:00
xdu2
eab90a61bd
MdeModulePkg: Add OEM specific Report Status Code definition for OS Loader Load, OS Loader Start, S3 Suspend Start and S3 Suspend End.
...
Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12210 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 11:58:19 +00:00
erictian
ce9b590040
Fixed build error reported by ICC and GCC
...
Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12209 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 10:19:11 +00:00
li-elvin
1476a25761
RestoreLockBox in DXE with Length NULL, Buffer NULL will fail to get data from Lockbox. Fix this issue.
...
Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12208 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 08:25:13 +00:00
niruiyu
6e5ed099af
Add UEFI_APPLICATION module type support for the capsule lib.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12205 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 05:37:55 +00:00
erictian
c4b8c2d807
Error handling refinement at UsbIoResetPort() to avoid device state machine getting corrupted when the device disconnect happens
...
Signed-off-by: erictian
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12204 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 05:13:22 +00:00
tye1
9ea13d7900
Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able to function properly in UEFI2.1 platform.
...
Signed-off-by: tye
Reviewed-by: lgao4
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12197 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 10:53:54 +00:00
erictian
db0f0d3c79
Remove CONST modifier to be spec compliance
...
Signed-off-by: erictian
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12194 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 09:38:10 +00:00
hhuan13
379db4ac17
1. Refine the error handling for PXE-v4 driver.
...
Signed-off-by: hhuan13
Reviewed-by: xdu2, tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12191 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 08:48:23 +00:00
mdkinney
5657b268e7
Update SMM Core to use SMM Mode as soon as SMM Mode is available
...
Signed-off-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12190 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 06:49:21 +00:00
ydong10
ad9aa87b56
Refine code to follow coding style.
...
Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12189 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-24 06:41:27 +00:00
erictian
92870c983c
Enabling usb3.0 XHCI support.
...
Signed-off-by: erictian
Reviewed-by: jshi19
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12185 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-23 14:36:33 +00:00
vanjeff
d12a2ecb2a
Updated GCD implementation to consume the correct EFI Resources Attributes(Capabilities) instead of the wrong EFI Resources Attributes(Settings).
...
ASSERT() if memory resource HOB includes protect memory setting but not included the corresponding protect memory capabilities
Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12158 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-18 02:05:46 +00:00
lgao4
46171fb68e
Remove the blank line.
...
Signed-off-by: lgao4
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12150 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-17 05:04:33 +00:00
rsun3
495797c557
1. Add two performance measurement points for SMM performance measurement;
...
2. Introduce SmmCorePlatformHookLib library class defining two platform hook points. Update PI Smm Core to call the hook points before and after invoking registered SMI handlers. A NULL instance of this library class is implemented.
Note that after this check in, DSC files consuming the PiSmmCore.inf need to be updated to add a library instance for SmmCorePlatformHookLib library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12140 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-16 02:58:20 +00:00
jljusten
b5827cbd09
MdeModulePkg: Don't build SmmLockBoxPeiLib for IPF
...
Move SmmLockBoxPeiLib to IA32/X64 components section.
It does not currently support the IPF architecture.
Signed-off-by: jljusten
Reviewed-by: jcarsey
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12115 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-10 00:02:58 +00:00
lgao4
37abfb7ea1
Fix the bug in AcpiTableDxe drivers that doesn't work when more than 20 Acpi tables are installed.
...
Signed-off-by: lgao4
Signed-off-by: jljusten
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12112 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-09 08:46:04 +00:00
lgao4
be5ec8c531
Fix X64 VS2005 and VS2008 compile error.
...
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12111 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-09 06:48:31 +00:00
jcarsey
6bae492fb4
clarify the logic of the print length counting functions in both PrintLib library instances.
...
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12102 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-08 20:50:31 +00:00
jcarsey
42372879b5
add IPv4 address copy macro.
...
signed-off-by: jcarsey
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12098 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-08 18:18:40 +00:00
oliviermartin
f75316c3ab
MdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()
...
CoreInsertGcdMapEntry() does not assume the new region could overlap two existing GCDs.
In this case, we need to call this function twice and the TopEntry or BottomEntry could
have been updated by the previous call.
Reviewed by: rsun3
Reviewed by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12097 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-08 18:16:22 +00:00
niruiyu
9995c2e5d0
Add non null assertion before using the bridge instance.
...
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12095 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-08 09:23:51 +00:00
niruiyu
8db6a82c50
Print resource allocation/bar programming when PciBus driver does PCI BUS enumeration.
...
Signed-off-by: niruiyu
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12087 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-04 09:08:09 +00:00
jcarsey
f405c0674a
Add 2 functions to UefiLib library class: CatSPrint and CatVSPrint.
...
Implement these functions in the UefiLib instance.
Add 2 functions to PrintLib library class: SPrintLengthAsciiFormat and SPrintLength.
Implement these functions in the BasePrintLib instance and the DxePrintLib2Protocol instance.
Signed-off-by: jcarsey
Reviewed-by: jljusten
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12081 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02 23:33:06 +00:00
jljusten
993532d0b8
MdeModulePkg: Add SmmLockBox PEI implementation
...
Signed-off-by: jljusten
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12077 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02 21:06:13 +00:00
lgao4
c05e7994a1
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12073 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02 06:23:54 +00:00
li-elvin
f93161b440
Fix 32-bit bios build error.
...
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12071 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02 05:57:15 +00:00
li-elvin
04bbf1f3f0
When status code handler unregister itself, status code dispatch in status code router driver will have problem to get next handler. Fixed the issue in status code router.
...
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12068 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 07:39:02 +00:00
li-elvin
0ddd855318
Create smbios table when user adds/removes/Updatestring for a SMBIOS entry. It is for UEFI driver to access SMBIOS table in configuration table before boot.
...
Signed-off-by: li-elvin
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12067 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 07:30:02 +00:00
lgao4
fbf82a2cf2
Fixes two issues in HiiFontProtocol->StringToImage() implementation on how to show string with wrap flag.
...
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12064 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 06:40:17 +00:00
rsun3
1261fe23ca
Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h files for better modularity: IntelFrameworkModulePkg\Include\Guid\AcpiVariableCompatibility.h,
...
MdeModulePkg\Include\Guid\AcpiS3Context.h.
Signed-off-by: rsun3
Reviewed-by: jljusten
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12063 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 06:09:17 +00:00
jljusten
d31182c1b3
MdeModulePkg: Fix build error for UNIXGCC with IPF
...
#pragma pack with push/pop is not supported with all
GCC types.
Signed-off-by: jljusten
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12056 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-28 17:47:22 +00:00
ydong10
38d6bb9e71
Adjust the day field when update the month and year field.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12054 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-28 02:14:29 +00:00
lzeng14
3397c6f590
For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12052 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-27 08:54:57 +00:00
jljusten
74ef1d4294
MdeModulePkg: Add Recovery PCD feature flags
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12049 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-22 18:01:26 +00:00
jljusten
3e4df77fc3
MdeModulePkg: Add SmmControl PPI definition
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12033 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19 20:48:48 +00:00
jljusten
1c837cd545
MdeModulePkg: Add SMM LockBox
...
This includes:
* LockBox protocol definition
* LockBoxLib library interface definition
* SmmLockBox GUID
* LockBoxNullLib library implementation
* 2 SmmLockBoxLib library implementations
* SmmLockBox SMM driver
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12029 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19 20:47:28 +00:00
jljusten
9fba8e7d3d
MdeModulePkg: Add SmmCommunication PPI definition
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12028 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19 20:46:45 +00:00
jljusten
e7b7db365c
MdeModulePkg: Add SmmAccess PPI definition
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12027 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19 20:46:24 +00:00
andrewfish
d042796c1a
MdeModulePkg: Fix VS2008 warning.
...
This looks amlost like a bug in VS2008, please verify that the warning is fixed as I don't ahve a copy of VS2008.
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12020 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-15 15:19:05 +00:00
hhuan13
57b301b569
1. Define a netlib library function NetLibGetSystemGuid()
...
2. Update PXE driver to use NetLibGetSystemGuid()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12017 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-14 11:27:05 +00:00
andrewfish
e47f0da408
MdeModulePkg: Add PcdDxeIplBuildPageTables for DxeIpl X64 to optionally not rebuild the page tables.
...
signed-off-by: andrewfish
reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12016 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-14 02:31:02 +00:00
rsun3
c4c085a2a6
Fix an issue that there may be an infinite loop in the CoreInitializeMemoryServices() in Gcd.c of the DXE Core. Also update logic to use continue statements to reduce the level of nesting in the two loops that search the HOB lists. More comment are added.
...
Signed-off-by: rsun3
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12015 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-13 08:40:55 +00:00
ydong10
f26b6a9cda
Fixed build fail with GCC/ICC tools
...
Signed-off-by:ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12014 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-13 06:19:41 +00:00
jljusten
30c00a1cfa
MdeModulePkg: Add CD Express PEIM
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12012 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12 20:36:05 +00:00
jljusten
da58b0db33
MdeModulePkg: Add Capsule PEIM
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12011 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12 20:35:46 +00:00
lgao4
619b3e0e8d
Correct the status code value to EFI_SW_PC_INIT_END after PEIM returns control to PeiCore.
...
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12010 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12 09:03:36 +00:00
ydong10
cce6230ffb
Change the HiiDataBase and browser codes to support new efi varstore data structure.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12009 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12 07:24:36 +00:00
niruiyu
284ee2e829
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11987 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06 03:55:36 +00:00
ydong10
c3342aa81f
correct leap year calculate method.
...
Signed-off-by:ydong10
Reviewed-by:hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11982 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 09:30:49 +00:00
ydong10
fd94fb3be9
Refine name definition for better user experience.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11978 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 08:49:55 +00:00
ydong10
508b4e77f6
Enable value roll over when hit max or min.
...
Update the maximum value when input day field in date opcode.
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11977 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 08:28:23 +00:00
ydong10
715cf6dd7e
Refine code to avoid potential access violation.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11976 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 08:24:22 +00:00
ydong10
d88ca2c90d
Keep the highlight field after user changes the value for time/date opcode
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11975 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 08:20:43 +00:00
li-elvin
5d0066d872
Return the correct status at the last of UnregisterAtaDevice.
...
Signed-off-by: li-elvin
Reviewed-by: erictian, hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11973 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 04:34:03 +00:00
xdu2
f3de0a607d
MdeModulePkg: Add unload support for SnpDxe and fix NULL ImageHandle in EfiLibInstallDriverBindingComponentName2() in driver entry point.
...
Signed-off-by: xdu2
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11967 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-04 07:33:34 +00:00
jljusten
51a0c5f28c
MdeModulePkg: Add ResetSystemRuntimeDxe driver
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11938 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01 00:40:46 +00:00
jljusten
7c636bd022
MdeModulePkg: Add GenericMemoryTestDxe driver
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11937 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01 00:40:26 +00:00
erictian
2525e22198
Fix a potential memory free failure bug in AtaAtapiPassThru
...
Signed-off-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11932 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-30 03:32:00 +00:00
niruiyu
cf40a2bf8b
Fix DevPathToTextIPv6(): no comma between protocol and type string.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11931 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-30 02:20:07 +00:00
ydong10
8ca6180f21
Enable new "ref5" opcode in browser.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11913 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28 06:41:28 +00:00
ydong10
4f33c8384d
Restore the whole form set to default value when user enter F9, old logical only for form level.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11911 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28 05:01:49 +00:00
jljusten
ea060cfad6
MdeModulePkg: Add IdeBusPei driver
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11902 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 23:31:21 +00:00
jljusten
4b1bf81c20
MdeModulePkg: Add PEI USB drivers and related PPIs
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11901 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 23:30:55 +00:00
ydong10
4ffaadccd3
Adjust the start position of the opcode string before saving it to avoid show menu info error.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11892 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 09:07:23 +00:00
ydong10
090f3fdbf9
Move the check refresh attribute logical out of the option string check logical.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11871 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-21 02:58:45 +00:00
ydong10
8f766f6eec
Add sample code for vfr opcode "guidop"
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11870 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-21 02:43:14 +00:00
erictian
e7c2a83b3b
Fix potential null pointer dereference
...
Signed-off-by: erictian
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11859 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-20 09:35:53 +00:00
niruiyu
eaaf8693dc
Fix EFI Option ROM being loaded twice unconditionally.
...
Signed-off-by: niruiyu
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11858 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-20 05:09:40 +00:00
jljusten
54cd17e984
MdeModulePkg DXE Core: Add Idle event during BootServices WaitForEvent
...
Signal an Idle event during BootServices WaitForEvent.
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11841 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16 23:28:02 +00:00
lgao4
2b2f353371
Remove the unused TimerLib from PeiCore.
...
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11832 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16 06:44:21 +00:00
ydong10
6a05469cee
Updates old formset info before exit to avoid old change lost.
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11826 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-15 08:40:08 +00:00
qianouyang
94b928ca59
1. In IPv4 and IPv6 driver, before calling IPsec, a new NET_FRAGMENT structure is allocated and then passed to IPsec, it should be released after it is done to avoid the memory leak.
...
2. In IPsec driver it wrongly use the HeadLen to calculate the IP header length after the IPsec process. Correct this mistake.
Signed-off-by: qianouyang
Reviewed-by: jjin9
Reviewed-by: ZhangCaoIntel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11824 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-14 09:45:59 +00:00
erictian
08cd970203
fix file name lowercase/uppercase inconsistent issue.
...
Signed-off-by:erictian
Reviewed-by:niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11823 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-14 03:44:16 +00:00
erictian
f742e3c20b
fix file name lowercase/uppercase inconsistent issue.
...
Signed-off-by:erictian
Reviewed-by:niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11822 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-14 03:42:28 +00:00
erictian
7d3df54a6b
fix file name lowercase/uppercase inconsistent issue.
...
Signed-off-by:erictian
Reviewed-by:niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11821 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-14 03:39:23 +00:00
erictian
cbd2a4b362
ScsiBus/ScsiDisk enhancement for no_media state.
...
Ahci enumeration logic tuning for boot performance.
Signed-off-by:erictian
Reviewed-by:qianouyang, hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11820 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-14 02:11:34 +00:00
erictian
39840c50c1
Produce DiskInfo for usb mass storage device
...
Signed-off-by:erictian
Reviewed-by:niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11817 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13 05:27:23 +00:00
ydong10
0194d26cb8
1. When get value from AltCfg data, check the varstore type first.
...
2. Check the pointer's validation before using it.
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11816 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13 05:20:23 +00:00
niruiyu
9de33db48b
Fix the issue that the GOP produced by ConSplitter requires SetMode before GetMode, otherwise EFI_NOT_STARTED is returned from GetMode.
...
Signed-off-by: niruiyu
Reviewed-by: xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11815 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13 05:16:02 +00:00
ydong10
34d137f31c
Fix GCC build fail
...
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11812 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-13 01:55:28 +00:00
niruiyu
31222776db
Set *ImageHandle to NULL when LoadImage() returns EFI_ACCESS_DENIED.
...
Signed-off-by: niruiyu
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11783 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-10 03:05:40 +00:00
lgao4
e9668a606e
Add the missing logic in HiiConfigRouting ExtractConfig() to retrieves FALSE as default value for CheckBox without default flag.
...
Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11782 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-10 02:11:52 +00:00
hhuan13
c82291bc31
1. Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure Udp4Read operation.
...
Reviewed-by: xdu2
Signed-off-by: hhuan13
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11779 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09 09:25:02 +00:00
niruiyu
772cba0943
Add assertion in PeiAllocatePool when out of resource.
...
Signed-off-by: niruiyu
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11776 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09 02:52:35 +00:00
niruiyu
10fe0d814a
Fix crash in GetMemoryMap() when memory type 0x80000000-0xFFFFFFFF was allocated by OS loader
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11774 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-09 02:01:19 +00:00
ydong10
211cc6e5cd
Add new "Refresh guid" opcode, also add sample code to use it.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11767 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08 08:09:47 +00:00
ydong10
b00964a999
Add new "Modal form" opcode, also add sample code to use it.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11764 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08 07:27:39 +00:00
lzeng14
4f0779023c
String Reference Cleanup.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-08 05:53:18 +00:00
sfu5
9725730b65
Remove duplicated definitions EFI_VARIABLE_INDEX_TABLE_GUID in variable PEI drivers.
...
Reviewed-by: lgao4, gdong1
Signed-off-by: sfu5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11755 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-07 04:49:10 +00:00
andrewfish
63e78d5254
Fix X64 clang warnings.
...
Reviewed by: Rui Sun
Approved by: Rui Sun
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11753 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-04 22:27:37 +00:00
vanjeff
26fab514ee
Fix the issue when checking the value of KeyDescriptor->Modifier to see if it was out of bounds.
...
Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11723 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-02 06:51:59 +00:00
niruiyu
9f72ced4c5
Update the comments of InstallConfigurationTable to follow UEFI Spec.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11716 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-31 03:15:58 +00:00
ydong10
b18e705046
Add new call back return value; also add some sample code to use it.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11713 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-31 00:59:15 +00:00
lzeng14
d490265ca6
Update code to pass packaging tool.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11712 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-30 09:56:57 +00:00
geekboy15a
c582ad454b
MdeModulePkg: Fixed memory corruption when BlockIo2 is not present
...
Fixed NULL pointer reference of BlockIo2.Media in partition code. This resulted
in the interrupt vector table being corrupted in a legacy (CSM) based system.
Signed-off-by: geekboy15a
Reviewed-by: mdkinney
Reviewed-by: niruiyu
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11711 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-27 20:04:45 +00:00
vanjeff
f44e8c16f8
1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling GraphicConSoleConOutSetPosition().
...
2. Rename the internal function name EraseCursor() to FlushCursor() to remove the confusion on this function name. And add detailed function description for it.
Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11710 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-27 05:30:30 +00:00
li-elvin
3d0a23854e
Add more status code in drivers.
...
Signed-off-by: li-elvin
Reviewed-by: jyao1
Reviewed-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11706 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-26 06:29:30 +00:00
ydong10
46cc3885e6
Fix ICC build break.
...
Signed-off-by: ydong10
Reviewed-by:
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11701 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-25 08:15:05 +00:00
erictian
e439df5074
Make sure the return value of MapKey is correct by moving the assignment into memory lock protection region
...
Signed-off-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11700 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-25 03:04:31 +00:00
niruiyu
396e9039ae
Add the DriverFamilyOverride support in DxeCore.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11698 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-24 03:32:42 +00:00
ydong10
33d41385e3
Fixed SCT test failed caused by driver sample.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11693 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-23 14:13:08 +00:00
niruiyu
0e87144ee0
Change Partition/ScsiDxe driver to produce Block IO revision 3.
...
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11692 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-23 07:47:19 +00:00
lzeng14
afe3969cdc
Add core SMBIOS 2.7.0 and 2.7.1 support.
...
Signed-off-by: lzeng14
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11690 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-23 04:24:51 +00:00
ydong10
ee31d1be52
Add two new methods to get default value, also add sample code in sample driver.
...
Add sample code to use time opcode
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11688 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20 02:58:35 +00:00
ydong10
083f7c69c1
Refine some call back function to return EFI_UNSUPPORTED for all unsupported call back type.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11686 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20 02:48:59 +00:00
erictian
3c063fedc4
fix memory leak at AccessAtaDevice() of AtaBus.
...
Signed-off-by: ftian
Reviewed-by: qouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11679 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-19 09:40:42 +00:00
qianouyang
86d8e19942
Update the function's descriptions (which is in AtaBus, AtaAtapiPassThru, Partition drivers) to make them be consistent with the code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11678 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-19 06:12:58 +00:00
lzeng14
deff65a4fd
CalculateSum8() and CalculateSum16() defined in BaseLib are used to calculate checksum.
...
Signed-off-by: lzeng14
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11674 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17 12:13:35 +00:00
rsun3
24f7e42cb7
A complement fix for revision 11664 to update GCC assembly files : clear the direction flag in interrupt/exception handlers' assembly entry code before calling C functions to follow the UEFI calling convention.
...
Signed-off-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11670 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17 08:35:20 +00:00
ydong10
5ec56d19a6
Fixed an error when parse time opcode.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11668 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-17 01:27:05 +00:00
rsun3
ad8cbf7197
Clear the direction flag in interrupt/exception handlers' assembly entry code before calling C functions to follow the UEFI calling convention.
...
Signed-off-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11664 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-16 06:10:42 +00:00
vanjeff
4ff492c312
Update USB keyboard driver to return scan code for Pause key.
...
Signed-off-by: vanjeff
Reviewed-by: erictian
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11656 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-16 01:51:53 +00:00
qianouyang
d0844d133b
Add Pointer check for NULL before referring it and remove unnecessary pointer check in AtaAtapiPassThru and Partition Drivers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11627 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-06 07:15:41 +00:00
mdkinney
be04635700
Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11621 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 21:42:00 +00:00
hhuan13
8ac1fc0556
1. Fixed a issue in Ip4Config.c
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11615 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 03:15:49 +00:00
hhuan13
c24097a59f
1. Enabled SSP(StorageSecurityCommandProtocol) for ATA devices.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11614 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 02:38:43 +00:00
qianouyang
490b5ea10b
Add BlockIO2 Protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11606 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-03 10:31:41 +00:00
hhuan13
afbccd0a54
1. Fixed a bug to make sure IP,Mask,Gateway survives across rest in case "ifconfig -s eth0 dhcp permenant".
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11603 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-28 02:45:19 +00:00
erictian
3b4253677e
Solve a wrong pointer reference in QueryVariableInfo().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11593 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27 05:43:09 +00:00
niruiyu
fcf5e49dc9
Change BlockIo drivers to return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even the Buffer/BufferSize/Lba is invalid so that caller can probe the media status easier.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11584 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-25 09:31:57 +00:00
hhuan13
9f82599a51
1. Enabled IP4 layer auto configuration in case cable swap is detected.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11582 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-25 01:25:11 +00:00
tye1
4da9ccc9e2
Fix issue that iscsi initiator name with 223 bytes can not be saved.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11577 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-21 09:59:53 +00:00
qianouyang
0a7294f7a1
Update the relevant drivers to use the correct GUID for EFI_IPSEC2_PROTOCOL.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11576 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 10:01:48 +00:00
niruiyu
c1fd2767c1
Fix the USB keyboard driver to call hotkey callback even no one is calling ReadKeyStroke
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11563 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 06:52:20 +00:00
niruiyu
f0368006b0
Fix the terminal driver to call hotkey callback even no one is calling ReadKeyStroke
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11562 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 06:51:44 +00:00
lgao4
0269d14b82
Update IFR version opcode value to follow the UEFI2.3.1 Spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11559 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 06:32:27 +00:00
ydong10
81b618fe85
Update ALTCFG reference from default name token to default ID.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11558 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 03:04:06 +00:00
ydong10
3a530010ec
Do not assert in HiiBlockToConfig function when an invalid format of ConfigRequest is inputed, just return error.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11526 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-13 03:13:13 +00:00
ydong10
4a22b9bc6a
Old driver sample code does not return an EFI_UNSUPPORTED status code if a callback occurs for something which is unrecognized.
...
Now any call back type except:EFI_BROWSER_ACTION_FORM_OPEN, EFI_BROWSER_ACTION_FORM_CLOSE, EFI_BROWSER_ACTION_FROM_RETRIEVE and EFI_BROWSER_ACTION_FORM_CHANGING, all return EFI_UNSUPPORTED.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11518 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-12 01:15:28 +00:00
rsun3
2c0f06f0b8
Add more checks to skip allocated SMRAM regions when searching for a largest free SMRAM region.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11514 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-08 05:29:22 +00:00
tye1
b97a8d3586
Fix ICC build error.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11510 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07 04:50:58 +00:00
niruiyu
e7cc9dcc37
Add (UINT16) static cast before passing UINT32 parameter to CreateDeviceNode
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11508 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07 02:01:22 +00:00
tye1
312e3bdfcc
Update ISID to fixed value: first 3 bytes are derived from MAC address while the other 3 bytes are configurable via ISCSI configuration.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11507 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-06 07:19:38 +00:00
lgao4
cf4c5a4270
Use the minimum value for Numeric and the first option value for OneOf as their default value when no specific default value is specified.
...
HII IFR Numeric and OneOf opcode may not specify their default value in opcode. And, zero may not be valid value for them. To make sure the valid value is set to default value, the minimum value for Numeric and the first option value for OneOf will be chosen as default value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11497 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01 09:39:11 +00:00
niruiyu
67f802edba
Set the BlockIo.Media.IoAlign to 0 because the BlockIo produced by Partition driver consumes DiskIo for read/write operation which doesn't have IO alignment requirement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11493 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01 03:07:38 +00:00
niruiyu
b36653bc16
Fix ICC compilation failure. No functionality impact.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11456 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30 04:37:59 +00:00
ydong10
320587dac3
Update inf file to follow spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11455 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30 03:41:33 +00:00
niruiyu
5b84091f3b
Add DevicePathFromText support for ACPI _ADR node.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11445 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-29 08:24:21 +00:00
jljusten
9875a3e33e
MdeModulePkg Terminal: Add text mode for PcdConOutColumn/Row
...
Add a new text mode with a resolution of PcdConOutColumn x PcdConOutRow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11416 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-23 02:11:31 +00:00
jljusten
b1aab293ea
MdeModulePkg GraphicsConsole: Add text mode for PcdConOutColumn/Row
...
Add a new text mode with a resolution of PcdConOutColumn x PcdConOutRow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11415 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-23 02:11:14 +00:00
lgao4
dc76cddca6
Fix ICC build failure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11411 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-18 05:59:21 +00:00
ydong10
4a12dfd454
Use exactly match method for HiiCompareLanguage.
...
Compare all of Language2 against the characters in Language1 up to the first ‘;’ or Null terminator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11409 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-17 07:31:35 +00:00
mdkinney
a36a9b3794
Fix LocateDevicePath() to return proper error status code. It was returning EFI_INVALID_PARAMETER if Device was NULL even if not handles matched the search criteria. The proper behavior is to return EFI_NOT_FOUND if not handles match the search criteria, and only return EFI_INVALID_PARAMETER if at least one match is found and Device is NULL.
...
Also update function header comment block for LocateDevicePath() to match UEFI Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11406 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-16 16:17:09 +00:00
mdkinney
acaa2726fb
Add description for 64-byte FIFO enable bit for PcdSerialFifoControl.
...
Update SerialPortInitializer() to properly preserve BIT5 in FCR instead of BIT4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11404 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-16 02:58:51 +00:00
ydong10
975e881570
Refine the inf and dec to follow spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11402 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-15 07:13:45 +00:00
lgao4
5697f8738b
Reserve more space width for Option value.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11401 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-15 06:35:57 +00:00
ydong10
d4e0afd826
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11399 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-15 00:52:27 +00:00
lgao4
640dfdc31d
Roll back change to previous version. Language should be compared as the exact match.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11398 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 10:25:29 +00:00
erictian
4249fa760f
judge recovery mode at ReadOnlyVariable2Ppi interface. if yes, then return EFI_NOT_FOUND
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11397 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 09:57:55 +00:00
ydong10
639710791a
Enhance inf and dec file to follow specs.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11392 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:43:59 +00:00
erictian
f6dbfa544b
add gEfiPeiMasterBootModeGuid dependency for getting right boot mode
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11388 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 05:55:12 +00:00
erictian
27ee669c69
if it's in recovery mode, variable region is unreliable, so the ReadOnlyVariable2Ppi should return EFI_NOT_FOUND
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11387 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 05:53:05 +00:00
rsun3
ae373a56f7
Fix a bug in SmmPerformanceLib that there is no return value in normal cases for GetPerformanceMeasurement().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11386 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 03:47:31 +00:00
vanjeff
d0a3ead235
Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 02:03:35 +00:00
mdkinney
033b00623a
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
...
1) Add new DebugPrintErrorLevelLib instances to DSC files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11382 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11 17:46:36 +00:00
vanjeff
fe91c9921f
Update some progress codes name per the PI Spec, 1.2 Errata B.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11381 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-11 02:10:08 +00:00
mdkinney
62a5bf63dd
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
...
1) Add DebugMask.h that defines the GUID and Protocol used by the "err" EFI Shell command to get/set the global mask and get/set the module scoped masks
2) Add DxeDebugPrintErrorLevelLib that provide an implementation of the DebugPrintErrorLevbel library classes that uses the GUID and Protocol defined in DebugMask.h to "err" EFI Shell compatibility.
3) Add default mapping for the DebugPrintErrirLevelLib to the DSC file for this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11366 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 22:15:38 +00:00
rsun3
d042c6e830
Add performance library instances for SMM performance measurement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11363 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 07:39:51 +00:00
erictian
e70ae46c00
fix null DevicePath issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11360 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 05:01:15 +00:00
ydong10
487ef01803
1. The old refresh string code also update the time/date opcode. But for the reason that time/date opcode updates the string with the same size, so skip the refresh code for it.
...
2. Also, the clean old string action used save attribute with paint string action which makes the background show abnormal. Now using the normal attribute to clean the old string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11359 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 02:28:15 +00:00
lgao4
b0bdc7ba21
Update HiiCompareLanguage to support case that language in String package is "en" and the input language is "en-US".
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11356 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08 08:50:26 +00:00
lgao4
11232773ac
Do the following enhancement for SetupBrowser:
...
1. Support Scroll up and down. When hit the top, the last page will be showed. When hit the bottom, the first page will be showed.
2. Show forms page by page based on the option (including unselected and selected).
3. Add PCD to configure whether TEXT statement is set to Grayout option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11355 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08 06:55:15 +00:00
ydong10
81da6ef925
Bug description:
...
When the menu is refresh type, and the old string is longer than new string, after refresh, some old string will still show.
The mainly change is:
1. This change cleans the old string first and then paints the new string.
2. Fixed old code checks grayout flag not correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11354 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08 06:01:23 +00:00
erictian
ed365e934d
fix a invalid pointer conversion when builing 32bit image.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11352 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08 01:32:34 +00:00
gdong1
3fee5868b1
Add missing .h file to INF file
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11351 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-08 01:22:30 +00:00
erictian
17a6c337d2
when timeout is 0, infinite loop on the timeout request to follow UEFI spec
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11343 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-04 01:26:40 +00:00
ydong10
157136700d
Symptom:
...
The "Configuration Changed. Reset to apply it now?" screen does not show up after restoring setup values to default using the F9 hot-key.
RootCause:
gResetRequired flag was not set after default value restored
Solution:
Set gResetRequired flag to TRUE after default setup values are restored.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11340 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-28 09:31:09 +00:00
gdong1
d00ed85e0a
Puts SMM variable common definitions in SmmVariableCommon.h.
...
Fixed a bug that SMM_VARIABLE_COMMUNICATE_VARIABLE_INFO_ENTRY was misused as SMM_VARIABLE_COMMUNICATE_QUERY_VARIABLE_INFO.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11339 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-28 07:31:45 +00:00
lgao4
1b88f96461
The input StringInfo should be kept for HiiStringIdToImage() function.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11336 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23 10:07:38 +00:00
ydong10
c3161b25a7
1.Reposition the platform info. Move from the old position to left one block space and down one block space.
...
2.Show the arrow on all the form, old logical not include the front page.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11334 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23 05:05:47 +00:00
ydong10
3b2eba1814
HiiCompareLanguage should use the exact match method, old code use the best match method.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11333 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23 03:21:04 +00:00
lgao4
89cd8129f7
Update PeiCore and DxeCore to verify FFS data checksum.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11332 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23 03:09:55 +00:00
ydong10
1fcd34f875
fix refresh menu save attribute error. not consider the grayout attribute.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11329 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22 08:05:56 +00:00
ydong10
b6ca1fd813
Update the arrow position.
...
Use the parameter” LEFT_SKIPPED_COLUMNS” to adjust the position from the beginning of the line to the beginning of the menu string.
The arrow position and the beginning of the menu string are fixed in one block space.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11327 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-21 10:46:14 +00:00
lgao4
7a07cec6c0
Update HiiCompareLanguage() function to use GetBestLanguage() API to do RFC4646 language compare.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11319 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16 06:02:07 +00:00
erictian
8dc8879ab3
update comments and correct reclaim algorithm if there is no record existing in FTW working block.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11318 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16 05:31:53 +00:00
erictian
b7bc11a4ff
correct Intel's copyright date as the changes checked-in at r11273 & r11272 are contributed by third party.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11311 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 03:29:24 +00:00
lgao4
c161dce561
Correct comments in DevicePathDxe.inf.
...
gEfiDevicePathUtilitiesProtocolGuid should be produced by this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11310 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 01:53:24 +00:00
lgao4
f0a1bf1155
Add four PCDs for the different color settings of Subtitle and Text Filed on Browser.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11309 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 01:51:25 +00:00
lgao4
9a33a65e58
Update DEBUG log information to specify SMM driver to be loaded in SmmCore
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11308 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 01:46:33 +00:00
lgao4
d613c2a88b
Correct typo in word in DxeCore.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11307 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 01:34:05 +00:00
lgao4
b695e7ff4a
Updates function description per UEFI2.3d. No impact is for functionality. The main changes include:
...
1. For LoadImage() service, EFI_ACCESS_DENIED return status is added, and EFI_SECURITY_VIOLATION return status description is updated. Meanwhile, EFI_PE32_IMAGE_PROTOCOL. LoadPeImage() in MdeModulePkg is also updated to match LoadImage() service.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11306 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-12 01:29:17 +00:00
jyao1
36d58153b1
UEFI table also need to be in ACPI NVS memory, because some data field
...
could be updated by OS present agent. For example, BufferPtrAddress in
SMM communication ACPI table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11303 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-11 06:40:20 +00:00
mdkinney
784ce12727
1) Add PcdSerialDetectCable to MdeModulePkg to enable/disable cable detection if hardware flow control is enabled. The default is to not perform cable detection.
...
2) Update BaseSerialPortLib16550 to use this new PCD.
This addresses an issue that was introduced on Feb 3, 2011 when all references to Carrier Detect(CD) were removed from the BaseSerialPortLib16550. When that change was made, a target would block on the first Tx operation if hardware flow control was enabled and no cable or serial application was running on a host. Now the behavior when no cable is connected or no serial app is running on the host is controlled through a PCD. The default is for the target to continue execution even if there is no cable or serial app running. If PcdSerialDetectCable is set to TRUE, then the target will block on any transmit that does not have a cable connected or a serial app running in the host.
If hardware flow control is disabled, then this update will have no impact on behavior.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11301 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-10 23:27:12 +00:00
mdkinney
db662a64a6
Clean up BaseSerialPortLib16550 to remove references and checks for Carrier Detect(CD). This is not required for this library implementation. The only signals used for Hardware Flow Control are RTS/CTS.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11300 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-04 01:19:59 +00:00
li-elvin
4e03ff80a1
If RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the status code handler cannot work in runtime (after exit boot service). It should be allocated in runtime memory.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11274 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26 07:57:13 +00:00
erictian
d9303576cd
fix word typo
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11273 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26 04:30:22 +00:00
erictian
858939cbda
fix arm gcc build error
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11272 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-26 04:24:54 +00:00
lgao4
f6cf5cf800
Support proportional Font and Font output flags.
...
1. Abstract the maximum baseline and character height in Proportional Font package as its baseline and line height, and use fixed height as base line and line height for simple font packages.
2. Update logic to handle string without EFI_HII_OUT_FLAG_CLIP_CLEAN_Y flag when string height exceeds the line height, and handle the string without EFI_HII_OUT_FLAG_CLIP_CLEAN_X flag when string wide exceeds the screen wide.
3. Calculate Origin point by adding BaseLine on Starting position, and calculate the left-top corner of character by Origin point and CELL information.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11270 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-24 04:58:45 +00:00
mdkinney
5d1cf216ed
Fix bounds check on parameter of type EFI_GCD_IO_TYPE to use EfiGcdIoTypeMaximum instead of EfiGcdMemoryTypeMaximum. Also fix typo in DEBUG() message string for gDS->AllocateIoSpace() calls.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11268 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-21 18:49:36 +00:00
jljusten
40a699562a
MdeModulePkg HiiDatabaseDxe: Fix build error on GCC 4.4
...
Remove extra left side (lvalue) type casting that generated
warnings with GCC 4.4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11267 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-21 16:51:12 +00:00
ydong10
e33e34170f
Enhance code to avoid build error.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11261 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-21 04:41:37 +00:00
ydong10
e5c861ac2e
Fixed HiiSetString failed. Tracker NUM:204479
...
Reason:
When call function HiiSetString to update the string which has no old string exist for one language, it will failed.
Solution:
When no old string exist, update with new string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11257 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-20 02:51:09 +00:00
tye1
8322eb77ce
Enhance the code to avoid the potential of return address of local variable to output structure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11255 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-17 05:54:13 +00:00
gdong1
b57cc035da
Update the GUID value to be consist with the one in DEC file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11254 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-17 02:18:45 +00:00
gdong1
a02ab69ad1
Fixed 3 ECC errors.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11253 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-16 05:05:45 +00:00
ydong10
ec50ecf2b8
Fix potential memory access violation
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11248 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-13 02:25:24 +00:00
gdong1
f3b80a8eab
Add SMM FTW wrapper driver since non-SMM FTW protocol can be used by some consumers (Such as capsule update) when SMM FTW driver is applied.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11246 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-12 09:05:27 +00:00
gdong1
b59ad7519f
Fix an K9 issue in variable driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11245 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-12 04:35:39 +00:00
mdkinney
aa927cae81
Clean up GCD DEBUG() macros so DEBUG_CODE() is only used to enable/disable the DBG MMIO and GCD I/O map dumps
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11243 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-11 23:11:23 +00:00
erictian
e519983a6c
1. fix AtaPassThru.PassThru() sct failure
...
2. avoid reenumerate existing device to reduce boot time at AtaBus.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11232 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-06 05:44:50 +00:00
mdkinney
f9d1f97c45
Add DEBUG() macros to all GCD services to monitor all changes to the GCD Memory and GCD I/O maps when DEBUG_GCD is set in PcdDebugPrintErrorLevel.
...
If DEBUG_PROPERTY_DEBUG_CODE_ENABLED is also set in PcdDebugPropertyMask, then the GCD Memory and I/O Maps will be dumped every time there is a GCD change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11230 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-06 02:51:08 +00:00
mdkinney
250057b56a
Use REPORT_STATUS_CODExxx() macros directly.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11223 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-03 19:24:17 +00:00
gdong1
9ae0edbfa9
1. Invoke InstallConfigurationTable () in OnReadyToBoot() to avoid the new registered table may be NULL.
...
2. For SMM variable driver, it doesn’t need to mark the variable storage region of the FLASH as RUNTIME, so only keep it for non-SMM variable driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11212 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-31 04:31:42 +00:00
mdkinney
abef1c7a09
Prevent a NULL device path from being passed into REPORT_STATUS_CODE_WITH_DEVICE_PATH by building child device path before using any of the Serial I/O Protocol services.
...
This guarantees that child device path is valid even if an error is returned from one of Serial I/O Protocol services in Start().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11210 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30 22:29:54 +00:00
ydong10
e24adb18e3
Enable number input for numeric, date and time opcode
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11208 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30 07:26:56 +00:00
mdkinney
8e456a7794
Add mapping for PlatformHookLib to [LibraryClasses] section
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11206 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-29 18:28:38 +00:00
rsun3
e0ee9d9314
Clean ISA_IO/ISA_IO_16 and VGA_IO/VGA_IO_16 attribute usage in PCI bus driver/PCI host bridge drivers/LPC/VGA device drivers.
...
1. Fix the incorrect definition of EFI_PCI_IO_ATTRIBUTE_VGA_IO_16 (does not conform to the UEFI spec) in PciIo.h.
2. Add missing definitions of ISA and VGA IO attributes in PCI Root Bridge IO protocol.
3. Improve the algorithm in the PCI bus driver to get PCI platform policy from PCI Platform Protocol and PCI Override Protocol.
4. Update the PCI bus driver to use the PCI platform policy to determine the supported attributes that are returned by the EFI_PCI_IO_PROTOCOL.Attributes() function. This is required by the PI spec.
5. Add a backward compatibility workaround for PCI VGA drivers in Option ROM, which typically sets VGA_IO without checking supported attributes.
6. Update the PCI host bridge driver in PcAtChipsetPkg to report VGA_IO_16 and ISA_IO_16 instead of VGA_IO/ISA_IO attributes. Modern chipsets don’t have hardware capability to control 10-bit or 16-bit decoding for ISA/VGA aliases.
7. Update LPC/VGA device drivers to check supported attributes of VGA_IO/VGA_IO_16 or ISA_IO/ISA_IO_16.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11204 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-28 10:10:10 +00:00
mdkinney
e25fb2c06c
Add missing @param to function header comment.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11203 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-27 17:16:55 +00:00
gdong1
a81b1409f9
Remove ASSERT here for the zero attributes means deleting preexisting variable.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11199 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24 07:03:25 +00:00
xdu2
84909ad446
1. update MatchUsbWwid() to check Vendor Id, Product Id and Interface Number.
...
2. update SerialNumber comparing logic to handle possible NULL-terminator in WWID device path
3. fix bug in UsbIo->UsbIoGetSupportedLanguages(): TableSize is size in bytes of LangIDTable instead of number of LangID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11197 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24 05:32:34 +00:00
ydong10
e2100bfa65
1. Support inconsistent if opcode used in string/password opcode.
...
2. Add sample code of using inconsistent if opcode in string opcode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11196 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-23 06:47:50 +00:00
ydong10
7b546f7480
1. support numeric item +/- action generate callback
...
2. when user change numeric opcode, call to refresh form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11195 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-23 05:58:30 +00:00
gdong1
95411933b5
Remove PcdSmmVariableEnable from MdeModulePkg since it is not used in core package currently.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11193 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-23 02:03:51 +00:00
gdong1
5456306fcf
Fix a potential bug that SetVariable is invoked for NV variable prior to the installation of EFI_VARIABLE_WRITE_ARCH_PROTOCOL.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11190 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-22 07:33:13 +00:00
mdkinney
f2ad949723
Fix ICC build issues
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11185 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-20 01:32:07 +00:00
mdkinney
467d15ae63
Add generic SerialPortLib instance for 16550 UARTs configured through PCDs. Depends on new library class called PlatformHookLib to perform platform specific initialization of the UART.
...
Add PlatformHookLib.h that defines the PlatformHookLib class
Add PlatformHookLibNull instance that is a Null implementation of the PlatformHookLib class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11184 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-18 01:02:59 +00:00
mdkinney
e06752bb9b
Remove UefiDriverEntryPoint from [LibraryClasses] section. Library implementations should never link against an entry point lib. Only modules implementation should link against an entry point lib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11179 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-17 22:47:06 +00:00
tye1
70b356a9ff
Minor code update to make TcpIo unchanged when return EFI_DEVICE_ERROR.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11175 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-16 09:26:28 +00:00
andrewfish
445404a846
Fix ARM link issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11173 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15 21:06:24 +00:00
gdong1
32732a333a
Update inappropriate comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11170 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15 01:51:46 +00:00
rsun3
7afa5ea800
Add special treatment for EFI_PCI_IO_ATTRIBUTE_EMBEDDED_DEVICE and EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM, because these attributes are only for PCI IO, while not supported by PCI Root Bridge IO.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11165 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 09:52:38 +00:00
tye1
4bad9adabc
Add a TcpIo library to facilitate usage of TCP service.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11162 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 03:19:21 +00:00
rsun3
4ed4e19c08
Update the PCI bus driver to correctly set the EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM attribute of PCI IO. Per UEFI spec, this attribute is used to determine if the ROM image is from the ROM BAR or from a platform specific location.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11159 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 02:33:15 +00:00
gdong1
e90f27600f
Remove the unnecessary package from VariableSmmRuntimeDxe.inf.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11157 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-12 10:18:47 +00:00
gdong1
5c7fa42941
Add typecast to remove warning with ICC.
...
VariableSmm.inf: Remove SmmLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11156 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-11 11:17:47 +00:00
jljusten
5c54e90515
MdeModulePkg VariableRuntimeDxe: Fix build for GCC44 toolchain
...
Add typecast to remove warning with GCC 4.4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11155 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 23:57:42 +00:00
gdong1
8a2d49964e
Add SMM Variable implementation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11151 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 09:27:54 +00:00
lgao4
9ac0640d9c
EFI_INVALID_PARAMETER should return when the input Block is NULL for ConfigRouting.ConfigToBlock().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11145 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 12:20:36 +00:00
xdu2
0b29a17e26
Add missing Handle parameter for UninstallMultipleProtocolInterfaces().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11144 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 08:57:16 +00:00
rsun3
96756716c0
when SMM Communication Protocol.Communicate() is called from within SMM, SMRAM is accessible so it is not necessary to check the SMRAM open/lock state via SMM ACCESS Protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11142 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 08:02:34 +00:00
ydong10
3ddc4cf20f
update the comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11140 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 02:51:30 +00:00
ydong10
c7f204dba4
Co-work with patch V11137 to refine the Hii menu.
...
1. Move the Mac address string from the form title to form title help for the driver Ipv4 and VLAN.
2. Change the menu show in the device manager from "Network Controller Information" to "ABC Information Sample".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11138 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 02:18:44 +00:00
mdkinney
fa542a1e77
1) Change location of DEBUG() macro that prints the name of the FFS file being evaluated by the DXE Dispatcher to eliminate a duplicate print.
...
2) Change location of DEBUG() macro that prints the name of the FFS file being evaluated by the SMM Dispatcher to eliminate a duplicate print.
3) Remove all references and processing of SOR from the PiSmmCore. Treat use of SOR in the dependency expression of an SMM Driver as an invalid depex opcode.
4) Remove all references for an SMM Driver being in the "Untrusted" state from the PiSmmCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11127 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 21:55:14 +00:00
jljusten
e1adae6084
DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64
...
The C ellipses parameters are passed to functions differently
by default with GCC 4.4. To make sure they are properly sent to
VariableGetBestLanguage, we add 'EFIAPI' to this function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11119 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:04:38 +00:00
mdkinney
6a55eea3eb
Update PEI/DXE/SMM dispatchers to include DEBUG ((DEBUG_DISPATCH, )) macros to log the evaluation of all dependency expressions.
...
This logging can be enabled by setting the DEBUG_DISPATCH bit(0x80) of the PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11117 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-04 20:05:09 +00:00
erictian
68bb5ce77e
EHCI Controllers with a CapLen of 0 are ignored.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11093 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 01:49:27 +00:00
niruiyu
5c0337668f
Fix a bug in GetLangFromSupportedLangCodes()
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11091 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-25 07:04:04 +00:00
niruiyu
1623ce4aad
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
...
Pre-allocate pool for runtime phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11087 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-24 03:04:20 +00:00
lgao4
09b794172e
Fix the bug that HiiConfigToBlock doesn't update BlockSize when Block is not large enough
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11085 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-23 11:13:22 +00:00
vanjeff
7b78853921
1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE,
...
use MAX_EXTENDED_DATA_SIZE as before.
2. Use DEBUG error message instead of ASSERT(FASLE) when extended data is too large
3. Expand 1 for buffer array size to avoid potential issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11083 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-23 07:50:31 +00:00
rsun3
55565b0859
The PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible that some HPCs in the list are not found during PCI enumeration. In this case, the PCI HotPlug Init Protocol.InitializeRootHpc() will not be called for the un-found HPCs. However, in AllRootHPCInitialized(), all reported HPCs are checked to see if it has been initialized, so TIME_OUT happens.
...
This check-in fix the issue by adding a flag to indicate if a HPC is found during PCI enumeration or not. This check-in also adds a debug message if any found HPC failed with initialization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11081 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 07:16:02 +00:00
niruiyu
dad63934f9
Add a new PCD PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11079 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 05:23:39 +00:00
xdu2
7b126c2e80
Include BaseMemoryLib.h for macro EFI_IP4_EQUAL, EFI_IP6_EQUAL etc.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11078 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 05:21:26 +00:00
lgao4
77fafe9890
Compare DXE performance token name by DXE performance string length.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11077 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 05:15:11 +00:00
niruiyu
255a3f33bd
Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes.
...
Pre-allocate pool for runtime phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11075 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-18 01:40:22 +00:00
mdkinney
9035e1189d
Fix spelling error in comment
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11058 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 00:33:52 +00:00
vanjeff
c1450e1670
Fix bug: The lower 2 bits of Width and stripped, Count will always be multiplied by 1, which will leave Count unchanged.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11043 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 02:10:21 +00:00
lgao4
a605dfb387
Print Arrow for Goto button.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11042 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 09:44:51 +00:00
vanjeff
72cfa6f70b
Replaced MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11023 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-10 06:13:55 +00:00
rsun3
f13f9683db
Fix ICC build break.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11020 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-10 03:16:25 +00:00
lgao4
6eea8eaeef
Add new PCD gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress for the MdeModulePkg that allows the platform DSC file to specify the address below which the EFI_SYSTEM_TABLE_POINTER structure is allocated.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11018 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-09 07:54:53 +00:00
rsun3
aeeb84bab4
Some existing PCI adapters with UEFI option ROMs make unaligned requests through the PCI I/O Protocol. Add support for unaligned requests in the PCI IO protocol implementation in the PCI Bus driver to be compatible with those UEFI option ROMs.
...
This solution defines a PCD Feature Flag to enabled support for unaligned requests through the PCI I/O Protocol. This flag is disabled by default. Platforms that do want to support such EFI/UEFI drivers that make unaligned PCI I/O requests should enable this feature.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11016 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-09 03:41:03 +00:00
rsun3
13fd0d50b5
Per the UEFI spec, if a PCI controller is a P2P bridge, then the I/O, Memory and Bus Master bits in the Command register of the PCI configuration header should be placed in the enabled state by the PCI Bus driver.
...
But current PCI bus driver has a bug that if a P2P bridge has no child devices detected during enumeration, the bits won’t be set. This may impact PCI hot plug capable bridges because the OS may re-assign resources for them causing the reserved resource by the firmware will be overwritten.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11013 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-08 07:36:12 +00:00
mdkinney
c5e0de8794
Prevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCode is performed at > TPL_NOTIFY or there is not enough memory to allocate a buffer for the ExtendedData associated with the status code being reported
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11003 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-04 20:58:23 +00:00
rsun3
0a6c090521
Complement fix for revision #10998 (Remove PI SMM IPL's dependency on CPU AP).
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11001 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-04 05:27:23 +00:00
vanjeff
5469967137
The CurrentNumberOfxxxxx should be based on the device going away, and not the next (or empty) device in the list.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11000 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-03 05:46:11 +00:00
vanjeff
785b5f5a50
swaps the order of timer disable and memory map termination to make sure memory map unchanged.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10999 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-03 03:21:29 +00:00
rsun3
07d9dc83f4
Remove PI SMM IPL's dependency on CPU AP so that PI SMM IPL can be dispatched before the CPU AP is installed.
...
If PI SMM IPL will be dispatched before the CPU AP is installed for a platform, the platform developer is expected to set cache-ability of SMRAM to WB earlier to improve performance of SMM initialization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10998 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-03 01:14:51 +00:00
gikidy
b3ec9b562d
Fix PCD token value conflict issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10995 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-02 05:26:30 +00:00
ydong10
1974777e21
Refine code to make code run more safely.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10993 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-01 09:20:56 +00:00
erictian
12873d5766
S.M.A.R.T feature enable
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10985 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-28 07:44:11 +00:00
lgao4
f7a14a9b99
Correct Data type conversion.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10981 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-26 03:28:44 +00:00
lgao4
6894561804
Update HiiDatabase->ExportPackageLists() service to support NULL HII handle per UEFI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10979 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-25 11:12:15 +00:00
lgao4
512122dc89
Reserve one column at left screen to be more visually.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10978 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-25 05:35:56 +00:00
lgao4
1a788cdd65
Fix the following three issues:
...
1. When question is grayout, its value is not gray.
2. When type Ui UP action, Repaint is not trigged when next MenuOption is above the TopOfScreen.
3. When type Ui Down action, TopOfScreen is not calculated correctly when screen roll is required.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10977 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-25 05:32:17 +00:00
niruiyu
f0384583af
Use the correct length to copy KeyData.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10966 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-21 01:49:28 +00:00
qianouyang
da7ff6981d
Fix build issue in IPv4.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10964 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-20 12:19:06 +00:00
erictian
c6e797aeda
return EFI_DEVICE_ERROR if the Status value is not EFI_SUCCESS.
...
it's because BlockIo.Reset() only has two possible values: EFI_SUCCESS and EFI_DEVICE_ERROR according to UEFI2.3 spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10956 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-19 02:55:16 +00:00
ydong10
fbe12b79ae
Refine code to make code run more safely.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10955 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-18 11:33:26 +00:00
erictian
8304070106
set the interface of usb hid device to boot protocol if it's not in such case.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10953 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-18 07:54:33 +00:00
andrewfish
abd0c26488
Fix minor gcc build break.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10943 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-15 17:04:09 +00:00
qianouyang
705f53a9b4
Update IPsec.h file to follow approved ECR which will be collected into future UEFI 2.3 Specification after 2.3 errata B and future UEFI Specifications after 2.3. The changes mainly include:
...
1. Add EFI_IPSEC2_PROTOCOL
2. Remove IPsec Authentication Algorithm Definition and IPsec Encryption Algorithm
Definition.
3. Add EFI_IPSEC_SA_DATA2 data structure.
And also update IPv4 driver to call EFI_IPSEC2_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10941 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-15 05:40:41 +00:00
niruiyu
5b7183efb1
Update ConPlatform driver to support GOP driver which creates multiple children.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10936 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-14 04:49:31 +00:00
erictian
5dec0c688e
fix 32bit build warning
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10935 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-14 01:33:04 +00:00
jljusten
815119f3d9
DuetPkg, MdeModulePkg: Fix several enum comparions
...
These comparisons were not comparing an enum variable
with a member of the same enum type.
GCC 4.5 generated a warning for these comparison
operations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10932 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13 07:08:29 +00:00
erictian
80d3831f6b
add ataatapipassthru driver to dsc file
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10917 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-12 02:28:34 +00:00
rsun3
e026f005e3
Correct the bad token number for gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10916 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-11 09:10:26 +00:00
erictian
aca84419c4
remove additional space from comments and pass ICC/GCC44 build
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10903 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-30 08:44:59 +00:00
erictian
a41b5272cd
add native ide/ahci driver
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10901 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-29 05:50:45 +00:00
ydong10
cd7bfc2c63
Refine code to make code run safely.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10880 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 04:51:25 +00:00
ydong10
c9325700d0
Refine soma code to make code run safely.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10877 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-15 07:48:11 +00:00
mdkinney
bf45bbe53d
Update this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER module types
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10866 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10 20:10:32 +00:00
hhuan13
2e4c2a049b
Improve PXE Over IPv4 performance:
...
1. Stop UdpWrite instance upon return from EfiPxeBcUdpWrite() to avoid mass pkgs enqueue to this useless instance in Udp layer.
2. Enhance Udp timeout logic to prevent the worst case happen, and set PxeUdp instance to 50ms to avoid enqueue mass pkgs in background.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10861 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-09 09:30:19 +00:00
rsun3
3163461872
Rename one file to follow the file naming convention.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10855 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 10:37:31 +00:00
rsun3
24b6e24ec6
Rename one file to follow the file naming convention.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10854 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 10:36:37 +00:00
qhuang8
034ffda8b2
Fill AtaDeviceHeader field in ATA command block
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10849 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-02 08:00:27 +00:00
tye1
ac8cca2a4d
The patch acknowledges the TCP zero window probe message, either the format with 1 byte new data, or no new data. It also increases exponentially the interval between successive probes when performing TCP zero window probe.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10831 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-27 07:57:45 +00:00
hhuan13
8730386e6d
To comply w/ UEFI spec , In Dhcp(), Discover(), and Mtftp() interfaces, set the IP filter to use StationIp.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10829 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-27 05:11:32 +00:00
pgao2
9a43bc39a9
Avoid DxeCore to reclaim PEI stack as IDT may be on it (like 32-bit OVMF).
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10825 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-26 08:26:14 +00:00
li-elvin
f95bc04893
Change the check condition for 16 byte command, when HDD size is > 2TB, use 16 byte command instead.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10817 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-23 10:05:44 +00:00
hhuan13
9e375eb11f
Fixed Ip4 bug that causing Iscsi reconnect hang sporadically . In Ip4OutPut()->Ip4IpSecProcessPacket() line 511, each time "reconnect -r", IpSb is re-allocated in IpDriver.Start(). But only when the first time, IpSb->OldMaxPacketSize = IpSb->MaxPacketSize; For the sequential reconnect, IpSb->OldMaxPacketSize is left dirty. Somtimes it is 0, causing the next sending packages generate exception.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10810 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-20 06:29:55 +00:00