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
niruiyu
6989af7168
clear the correct BAR register. Because for P2P device, only register from 0x10 to 0x14 is BAR register.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10805 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-18 12:21:21 +00:00
hhuan13
cfbc1a7537
1. Introduce PcdTftpBlockSize to let platform DSC customize block size.
...
2. Roll back the default block size to handle all link layers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10803 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-18 00:47:26 +00:00
vanjeff
f184c104af
remove CpuBreakpoint ().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10801 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-17 08:29:00 +00:00
vanjeff
db724ff9c1
Fixed one bug which may lead standard error handle could not be set into system table correctly since default return status is set to error by default.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10800 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-17 08:27:12 +00:00
hhuan13
11fa4298d6
Roll back BlockSize to 0x8000 for PXE performance concern.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10798 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-15 01:41:30 +00:00
xdu2
ae0a0b06af
Fix bug in Ip4Dxe and Dhcp4Dxe to ensure that RaiseTPL and RestoreTPL are in pair.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10790 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-12 04:46:11 +00:00
rsun3
3af91e23cb
Minor code refinement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10785 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-10 07:36:00 +00:00
hhuan13
19550383ac
Fixed K9 scan issues.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10780 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-09 06:27:12 +00:00
mdkinney
d0d41b52e0
Move registration of DXE Core with PeCoffExtraActionLib after the lib constructors have been executed.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10778 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-06 23:09:49 +00:00
jjin9
7754556334
Fix IP address text representation issue about leading zeros
...
1.It keeps the rule that Leading zero’s compression(Yes/Not) need to be consistent throughout the whole IP address.
2.It also fixes some issue to recognize some invalid representation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10777 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-06 08:31:00 +00:00
li-elvin
379f83dff0
According to SCSI spec, ANSI version is 3 bits, so 0x7 should be used to get correct ANSI version.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10773 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-04 08:39:55 +00:00
xdu2
baa9a78242
Fix a typo in Ip4ConfigDriverBindingStart(): it should be gEfiManagedNetworkServiceBindingProtocolGuid instead of gEfiManagedNetworkProtocolGuid.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10772 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-04 02:46:10 +00:00
xdu2
ef89996c70
Update MnpDxe to deliver VLAN tagged packet even when there is no VLAN is configured through VlanConfig protocol, this ensure that interesting applications could still get chance to receive all layer 2 frames.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10771 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-04 01:15:50 +00:00
mdkinney
b43619d0cd
Update DXE Core so its own PE/COFF image is passed to the PeCoffExtraActionLib
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10769 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-03 05:20:15 +00:00
andrewfish
dd85e4b531
Add debug print that the system is about to be reset. I was seeing watchtog timeouts in UnixPkg and they were hard to debug as gdb was exiting. This debug print should be useful in general.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10761 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 16:01:09 +00:00
hhuan13
fd627b160d
Fix a bug. iSCSI driver doesn’t follow driver model Start()/Stop() in case no configuration data for login. So when VLAN form Add/Remove items, iScsi form cannot update MAC address.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10740 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:54:45 +00:00
xli24
bc369e7975
Add NULL pointer checking against Data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10724 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:38:52 +00:00
vanjeff
4ad858e0f3
Fix one issue: Some last IP settings may be lost when IP setting was re-set.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10720 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 07:49:21 +00:00
xli24
96a2516355
Handle gEfiStatusCodeDataTypeStringGuid in status code handler drivers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10716 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 05:35:19 +00:00
lgao4
ad108abec9
Roll back change r10696, because new update on r10700 and r10701 handles this issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10705 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:43:41 +00:00
lgao4
1d6ee65f82
Enhance FV2.ReadSection() to read GUIDED section raw data when its extraction guided protocol doesn’t exist.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10702 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:12:18 +00:00
lgao4
344015785a
Enhance PiSmmCoreMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10701 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:08:13 +00:00
lgao4
79bcf0554b
Make sure gBS FreePool() is used to free the buffer always allocated by gBS AllocatePool() service.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10696 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-26 16:20:56 +00:00
qhuang8
09ba0c4660
Update AtaBus module to use Uefi.h as the master header file as it is a pure UEFI driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10693 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-26 07:43:29 +00:00
andrewfish
92a4f6f3c7
Add 64-bit versions of FLASH Base addressess as it is legal to have them >4G. For backward compatability if the new 64-bit base addresses are zero use the old 32-bit base addressess.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10684 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-22 21:18:25 +00:00
niruiyu
fe3b68bb0f
Per UEFI Spec, LowestAlignedLba and LogicalBlocksPerPhysicalBlock must be 0 for logical partitions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10668 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-20 03:11:58 +00:00
vanjeff
4cf7e0380e
1. Add init flag DEBUG_AGENT_INIT_DXE_AP.
...
2. Add definition DEBUG_AGENT_CONTINUE.
3. Update the definition of InitializeDebugAgent() more comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10660 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-19 02:26:09 +00:00
andrewfish
635021c594
Fix 64-bit bug in DxeIpl. You can't cast an & UINT64 to a UINT32 *, as the upper 32-bits do not get updated. In my case there was data on the stack for the upper 32-bits and it caused the size to be greater than 4GB.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10659 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-18 17:56:06 +00:00
jyao1
4196f91ec0
Enhance to follow UEFI2.3 spec - the EFI_ACPI_TABLE_PROTOCOL will ensure that the checksum field is correct for both the RSDT/XSDT table and the table being installed through the AcpiTableBuffer parameter.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10655 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-16 04:31:02 +00:00
vanjeff
72ed3d7575
Refine code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10648 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13 05:07:35 +00:00
rsun3
099f2b1882
Change type of PcdSrIovSupport/PcdAriSupport/PcdMrIovSupport from FeatureFlag to [FixAtBuild, PcdDynamics].
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10646 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13 02:23:27 +00:00
rsun3
05399810c5
Return from ProgramBar() after VF BARs are programmed.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10645 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13 02:13:55 +00:00
rsun3
d40483911c
Fix bugs in the PCI bus driver to support SR-IOV.
...
1. Expand the type of Offset in the _PCI_BAR structure from UINT8 to UINT16, because a VF BAR’s offset may be >= 0x100;
2. Enable ARI Capable Hierarchy for SR-IOV devices at earlier time because FirstVFOffset and VFStride of a SR-IOV device may change after its ARI Capable Hierarchy is set;
3. Change type of PcdSrIovSupport, PcdAriSupport, PcdMrIovSupport from FeatureFlag to [FixAtBuild, PcdDynamics], which allows SR-IOV/MR-IOV/ARI feature can be turn on/off dynamically, typically via a setup option.
4. Change PCI bus scan algorithm in PciScanBus() to prevent the case where some ARI extended functions may be skipped in the scan loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10644 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-13 01:58:47 +00:00
vanjeff
78c0686bde
remove duplicated code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10643 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-12 06:21:42 +00:00
hhuan13
a4ac31e0a0
Remove ASSERT and change to if ()
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10640 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-08 05:29:10 +00:00
hhuan13
787cd144da
Fix a bug by adding * for Ptr8
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10639 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-08 05:17:47 +00:00
andrewfish
1c8029e3aa
Update the previous fix to only shadow the function for supported processor architectrues. The old way required non supported processor architectures to opt out.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10637 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-07 23:27:08 +00:00
andrewfish
27172c0f36
Fix issue with ARM port. Image.c shadow code is not ANSI C and crashes on ARM. So I did the same thing that is done on Itanium and skipped the shadow for ARM architecture in all cases.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10636 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-07 23:10:14 +00:00
hhuan13
4546bcbb3a
Fix a bug:
...
RFC 2132, Section 9.5 does not strictly state Bootfile name (option 67) is null
terminated string. So force to append null terminated character at the end of string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10635 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-07 05:55:41 +00:00
lgao4
be63a20a02
Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10630 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-05 08:59:57 +00:00
xdu2
b24633c74e
Initialize lists ArpService->PendingRequestTable/DeniedCacheTable/ResolvedCacheTable before firing timer ArpService->PeriodicTimer. This remove the race condition in ArpCreateService(): it is possible for the timer event to trigger before the lists are initialized which will results in a hang in ArpTimerHandler().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10629 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-05 02:11:05 +00:00
xdu2
74df5026b2
1. update to use 1 EFI Variable per NIC (instead of converge all NIC configuration into one EFI Variable), this remove the limitation that max NIC configuration will depend on PcdMaxVariableSize.
...
2. remove unnecessary Unload function EfiIp4ConfigUnload (use default Unload function NetLibDefaultUnload instead), remove global array for NIC handle tracking since it’s driver model driver.
3. add Ip4Config Variable reclaim to HiiConfigAccess.RouteConfig() to remove variable for NIC which has been removed from the system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10628 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-05 02:03:20 +00:00
hhuan13
49fd66cbf8
Fix a bug that mtftp4 driver reply 2 ACK in answer to incoming No.65535 block data. That issue incurs incorrect network transfer.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10619 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-01 09:08:33 +00:00
vanjeff
1dc1b43fc2
1. fixed one bug to construct config request string header used child handle instead of NIC controller handle.
...
2. fixed one bug to calculate buffer size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10617 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-01 01:30:23 +00:00
tye1
25400c63fa
Add routing header type to NetLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10616 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-30 02:34:07 +00:00
mdkinney
6b22483ffb
1) Call ProcessNotifyList() to process all Dispatch Notifications after the Memory Discovered PPI is installed.
...
2) Add ProcessLibraryConstructorList() call when OldCoreData != NULL and OldCoreData->ShadowedPeiCore == NULL.
3) Make sure no lib functions are used prior to the ProcessLibraryConstructorList() call.
4) Clean up comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10611 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-29 06:08:14 +00:00
hhuan13
f1f11ea29a
Fixed a bug in Mtftp4: to allow the block number to roll over to accept transfers of unlimited size.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10609 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-29 01:26:28 +00:00
li-elvin
46f0e2a9ee
Remove some unnecessary clear screen from console drivers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10590 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-18 09:19:29 +00:00
rsun3
35f9e94ed4
Add a missing parameter description in the function header for CoreFindFreePagesI().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10589 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-17 07:18:53 +00:00
mdkinney
2345e7d4a4
1) Improve how memory usage is tracked in DXE Core
...
2) Update GetMemoryMap() to merge adjacent memory descriptors with identical types and attributes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10579 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:21:26 +00:00
qianouyang
2a2e33b20f
Add a UNION definition (IP_IO_IP_PROTOOCL) for EFI_IP4/6_PROTOCOL and change IP_IO structure using this UNION to point the special IP Protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10578 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-13 08:18:10 +00:00
li-elvin
5bf5fb30b4
Change MaxBlock to HEX value to avoid GCC build failure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10566 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-04 05:27:03 +00:00
lgao4
13ad1def34
Do the following fix up in SetupBrowser driver:
...
1) Check whether ConfigAccess is NULL before use it.
2) Don't do call back for UI_ACTION_REFRESH_FORMSET action.
3) Release resource before leave SetupBrowser() function.
4) Use the unified check method (HiiHandle, FormsetGuid and FormId) to check FORM is open or close.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10565 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-04 01:29:03 +00:00
hhuan13
39669f1281
Fixed tracker #203752 , Dhcp4 assert issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10562 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-02 07:55:14 +00:00
lgao4
5adb8db71e
Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each question in the form when this form opens or closes.
...
Update SetupBrowser driver to call Callback function (FORM_OPEN/FORM_CLOSE) based on UEFI spec, and update all EDKII HII drivers to correctly handle FORM_OPEN and FORM_CLOSE call back.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10560 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-02 02:05:47 +00:00
li-elvin
a108933ea8
If SCSI version support Read/Write (16) command, use both commands to access disk especially for above 2TB.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10550 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 06:58:59 +00:00
lgao4
e22812c731
Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10544 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-27 02:54:25 +00:00
klu2
4a5b245a52
Status code handler callback should be declared as EFIAPI
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10541 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-25 06:17:51 +00:00
lgao4
ec7cb6ab3e
Add the missing PalLib NULL instance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10539 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-24 01:35:52 +00:00
lgao4
c6b4f78b8b
Add the missing PalLib NULL instance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10538 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-23 09:42:29 +00:00
qianouyang
a167ecb13f
Fixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence Fragments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10537 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 09:39:26 +00:00
lgao4
6a53bf1710
Clean up package/platform DSC files by the following steps:
...
1. Remove PCDs those use the default values/types from the DEC file.
2. Remove the unused library instances.
3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10530 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 02:49:29 +00:00
jljusten
a6bb62e4f8
MdeModulePkg AcpiTableDxe: Fix GCC build warning
...
Initialize MaxSize variable to prevent GCC warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10526 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 21:12:27 +00:00
erictian
2ad29d0fe4
fix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K variable exists.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10524 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 09:12:12 +00:00
jyao1
afe7c8b2bb
Fix VS2003 build error
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10518 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19 06:02:17 +00:00
li-elvin
0ef42f8819
Update QueryCapsuleCapabilities interface.
...
1. Check all capsules to decide reset type instead of only checking the first capsule.
2. One purpose of MaxiumCapsuleSize is to ensure platform memory size is enough to handle capsule with reset type in PEI. Max capsule size should be returned for with/without reset flag cases.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10514 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19 02:31:41 +00:00
vanjeff
9c4a5f7423
add security check.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10513 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19 01:49:34 +00:00
jyao1
3dc8585e0a
MdeModulePkg:
...
Add ACPI SDT support. Introduce PcdInstallAcpiSdtProtocol, default FALSE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10501 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 02:26:49 +00:00
rsun3
f0c855b263
Small code refinement in MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10492 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-17 08:32:05 +00:00
lgao4
0e4483bc69
Fix DxeCore Dispatch Issue that DXE drivers may not be dispatched if they depend on the protocols produced by SMM driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10491 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-14 08:27:28 +00:00
hhuan13
29a4f92d81
Fix 3 K8 issues for PXE module
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10489 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-14 07:47:29 +00:00
qhuang8
e3e134ebe6
Fix minor format issue in file header
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10485 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-13 01:04:21 +00:00
jchen20
2432c68578
Fix for UNIXGCC build
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10483 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-12 03:12:57 +00:00
mdkinney
ef05e06350
1) Fix IPF ICC 11.1 issue when /Ox is used related to the use of local variables and parameter across the transition when TEMP RAM is disabled.
...
2) Update the logic that computes the offset of the heap and stack from TEMP RAM to Permanent RAM to handle all possible offsets values.
3) Minor cleanups to the PEI_CORE_INSTANCE structure
4) Simplify the logic that manages the TEMP RAM to PERM RAM transition and clean up the related DEBUG() messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10481 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-11 22:11:31 +00:00
jchen20
da935a5c97
Add fix for the hardcoded Max ACPI table number. With this fix, the number of ACPI table has no limitations by dynamical allocation
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10480 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-11 08:46:12 +00:00
xdu2
c16f9cc33d
Minor comment update.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10477 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-10 02:49:38 +00:00
lgao4
e35eb8af7b
1. Use the max string size to compare password string.
...
2. Check whether the local variable is valid as the array index.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10473 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-10 02:17:31 +00:00
mdkinney
4da3058929
Fix ICC 11.1 build break
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10467 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-07 23:25:20 +00:00
mdkinney
2dda77a650
Update UHCI and ECHI drivers to both Stop and Reset the host controller at ExitBootServices().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10464 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-07 22:46:14 +00:00
mdkinney
8063b47b1c
Fix bug in PciHostBridgeEnumerator().
...
A linked list is created for the list of PCI Root Bridges in the platform. This list is then traversed to enumerate each PCI Root Bridge. After enumeration, the RootBridgeDev is destroyed, but it was not removed from the linked list before it was destroyed. This left the linked list of PCI Root Bridges in a bad state, specially if memory is cleared on frees, or the freed buffer was reallocated.
The fix is to remove the node from the linked list before the RootBridgeDev is destroyed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10463 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-07 22:44:54 +00:00
erictian
15cc67e616
raise TPL to TPL_CALLBACK level at DriverBindingStart() for all usb-related modules, which prevent DriverBindingStop() from being invoked when DriverBindingStart() runs.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10460 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-05 05:21:38 +00:00
lgao4
d7aaf1dcb5
Use new API GetSectionFromAnyFvByFileType() of MdePkg DxeServicesLib library to get PE data of SMM_CORE driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10457 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-05 01:58:36 +00:00
geekboy15a
8091267c02
Forcing functions with variable argument lists to use the same calling convention (EFIAPI). This solves issues when using compilers where the default calling convention is not EFIAPI.
...
This fixes boot issues when using GCC 4.4 in X64 modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10442 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-29 01:07:07 +00:00
hhtian
cd5ebaa06d
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10420 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 09:49:11 +00:00
hhtian
e5eed7d364
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10418 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 09:33:45 +00:00
niruiyu
3140ceda76
Fix a bug that FV->ReadSection cannot get the EFI_SECTION_GUID_DEFINED type section data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10384 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 02:40:36 +00:00
erictian
d4a622c488
Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState value.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10382 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-19 05:34:25 +00:00
geekboy15a
e798cd87ca
Fixed GCC 4.4 build issues due to EFIAPI not being used when required.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10379 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 23:24:45 +00:00
vanjeff
76649bf4d8
1.Fixed the bug when retrieved component name by child handle. It should used gEfiConsoleInDeviceGuid, gEfiConsoleOutDeviceGuid instead of gEfiSimpleTextInProtocolGuid and gEfiSimpleTextOutProtocolGuid.
...
2.Fixed one bug when creating Console Standard error handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10350 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09 06:04:30 +00:00
klu2
c5d00b30c1
Fix the issue that GCC treat enum type as unsigned int which incompatible with UEFI spec's INT32.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10347 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-07 02:33:16 +00:00
lgao4
46d45cde43
Update the modules with the different module GUID to avoid the different modules with the same module GUID.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10341 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-06 02:54:39 +00:00
jljusten
b295dfd486
MdeModulePkg: Fix warning with VS2005 toolchain on IA32
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10338 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-05 03:43:36 +00:00
jgong5
38c7df9848
Avoid DEBUG_CLEAR_MEMORY clearing MemoryMap internal structure.
...
In CoreFreePages(), the following sequence might break the MemoryMap internal structure:
CoreConvertPages() -> CoreFreeMemoryMapStack() -> AllocateMemoryMapEntry() -> CoreAllocatePoolPages() -> DEBUG_CLEAR_MEMORY()
CoreConvertPages() will call CoreFreeMemoryMapStack() after it adds the freed memory range, so the latter might use the just freed memory range when calling AllocateMemoryMapEntry(). But CoreFreePages() will call DEBUG_CLEAR_MEMORY() after CoreConvertPages(). This might clear up the memory map entry structure.
The fix calls DEBUG_CLEAR_MEMORY() just after freed memory range is added in CoreConvertPages(), which is safe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10335 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-03 05:34:16 +00:00
xdu2
553472f644
Enhance SNP to be compatible with UNDI driver which doesn’t report correct network cable status in Initialize(), i.e. force MediaPresent in Snp Mode to be TRUE in case UNDI driver report no media but actually we have already received packet from network interface.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10327 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-01 07:44:36 +00:00
qianouyang
619561dc52
fixed IP fragment issue which caused the MTU used by IP is less than the one IP exposed to upper layers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10320 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-28 09:49:47 +00:00
vanjeff
ee6e8714a0
remove PxeBc->Stop () when EFI_BUFFER_TOO_SMALL, the calling PxeBc->Stop() in Driver Binding Stop() could make sure PXE functionality is stopped when disconnecting UefiPxeBcDxe module.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10318 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-27 00:48:22 +00:00
hhtian
f5bf8c9ff4
Not maintained.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10314 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-25 14:46:47 +00:00
jyao1
ab780ebf90
Change BufferSize from UINTN * to UINTN to eliminate pointer to pointer in SmmCore for security consideration.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10299 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21 04:17:16 +00:00
lgao4
21f7daf946
Fix sync issue to make EbcLLCALLEX() function check the same value to ones that are used in EbcCreateThunks() to decide whether the input function is a thunk to EBC.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10297 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21 01:42:16 +00:00
lgao4
6691cae97e
Fix compile break on IA32 arch.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10292 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-20 06:49:56 +00:00
hhuan13
4431fdc802
Fix an bug for PXE boot assert
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10291 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19 13:57:46 +00:00
rsun3
3b1464d5ac
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10288 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19 06:55:58 +00:00
erictian
aa91de055c
Fix a bug that usb keybarod can not work well when it is inserted at a usb 2.0 hub.
...
It's due to AsyncInterruptList does not update the corresponding QTDHw->Data with pci bus master address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10286 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19 06:54:35 +00:00
jgong5
a5ca8fa772
Hold Memory Lock until DEBUG_CLEAR_MEMORY called in CoreFreePages().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10284 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19 04:22:35 +00:00
vanjeff
7bc01e86d9
changing UDP default timeout value to 2s to improve PXE BC boot performance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10282 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 11:35:35 +00:00
erictian
8e38f18ef7
variable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:
...
1. EFI_INVALID_PARAMETER as a return value of SetVariable() to indicate it does not support this feature.
2. EFI_NOT_FOUND will be a return value of QueryVariableInfo() to indicate it does not support this feature.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10281 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 08:58:48 +00:00
jchen20
32c4126668
Fixed a minor bug in PlatformDriOverrideDxe which will assert when user trigger "Clear all mapping record" twice.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10277 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 07:34:50 +00:00
klu2
8ec8bed439
1, For Pcd_PPI, UnregistedCallBack should return EFI_INVALID_PARAMETER if Callback function can not be found.
...
2, PCD_PPI/PROTOCOL should return EFI_INVALID_PARAMETER if size is unmatched
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10276 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 06:24:53 +00:00
qianouyang
2db63cd4fa
Bug Fix: IPv4 Fragment is not correct when VLAN is enable.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10275 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 05:36:52 +00:00
rsun3
abe31ad579
Roll back previous change.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10274 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 03:11:12 +00:00
myronporter
1d5cbb48c3
Former change breaks build; changed back to commented lines 58 & 59, but as regular comments (not Doxygen comments).
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10270 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 23:27:19 +00:00
myronporter
64a80549c8
Grammatical and disclaimer changes (does not follow internal C coding stds.)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10269 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 20:48:52 +00:00
erictian
c61f936286
fix ia32 build error.
...
With IA32 tool chain, we can not use a 64bit data to divide a 32 bit data. MS tool chain may introduce an intrinsic function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10267 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 11:06:21 +00:00
erictian
fa03149c12
The ATA alignment_logic_in_phy_blocks field doesn’t directly report the lowest aligned LBA. Instead, there’s some modulo arithmetic involved.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10265 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 09:46:53 +00:00
xdu2
412d1ed9fc
Add check of MediaPresentSupported field in SNP mode data to support UNDI without cable detect capability.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10256 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 13:16:19 +00:00
rsun3
fe81726212
Add sample use case for IFR security op-code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10255 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 06:25:10 +00:00
rsun3
3dd405becf
Fix a bug in SetupBrowserDxe driver when check current user's access setup permission. EFI_USER_INFO_ACCESS_CONTROL.Size may be equal to sizeof (EFI_USER_INFO_ACCESS_CONTROL) because of no extra data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10254 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 06:22:05 +00:00
vanjeff
213fecefbb
1. update the definitions in debug agent library, rename DEBUG_AGENT_INIT_DXE to DEBUG_AGENT_INIT_DXE_CORE and add DEBUG_AGENT_INIT_S3.
...
2. disable debug timer interrupt in ExitBootServices().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10239 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-13 16:52:46 +00:00
jchen20
b7250b714a
Fixed a bug in LMFA code
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10233 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 04:35:00 +00:00
vanjeff
df7aaeb998
roll back IDT_ENTRY counter to 32
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10229 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-11 02:04:04 +00:00
rsun3
a1bd217a5d
Minor comment fix.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10226 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10 05:38:25 +00:00
jchen20
9bfb494096
The patch attached is to fix the issue that LMFA feature is failed on OVMF. The root cause is that OVMF platform reserved 128k top memory range for EMU variable range before PEI memory range re-locate to specified memory range, which is quite different from real platform. The original implementation has an assumption that AllocatePage will NOT be invoked until PEI memory range is re-located to preassigned memory range, , which is TRUE in most real platform, but FALSE on OVMF platform. So This patch is to enhanced the memory resource HOB re-organization algorithm to eliminate the assumption.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10225 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10 02:47:05 +00:00
rsun3
a914195090
MdeModule Package version updated from 0.90 to 0.91.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10216 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-09 08:18:12 +00:00
qhuang8
4237d40b77
Minor update comment to remove unprintable character in source file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10214 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-09 05:58:00 +00:00
jgong5
40e8cca588
Fix the SMRAM caching range base and size. The original code uses the biggest SMRAM range base and size to set the cache attribute by gDS->SetMemorySpaceAttributes(). This is not correct because the platform code might split the TSEG into several ranges. The fix searches and joins all the adjacent ranges to the biggest SMRAM range into a cacheable range so that TSEG can be cached as a whole.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10213 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-09 05:47:41 +00:00
lgao4
8776881fe8
Add a blank line in the end of file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10210 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 09:16:53 +00:00
rsun3
1bd57b6e76
Add some robustness check in DriverSample driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10209 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 07:55:16 +00:00
rsun3
0c1a4aa69a
Minor update to some protocol interface function prototype for Doxygen document
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10207 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 06:31:45 +00:00
erictian
6e374f4997
fix build error
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10206 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 05:40:17 +00:00
erictian
e172ea16a7
roll back the parameter check of AsyncInterruptTransfer() and SyncInterruptTransfer() of Usb2HcProtocol to follow current uefi spec.
...
current uefi spec only supports interrupt in endpoint.
but there are usb devices which support interrupt out endpoint. we propose to update uefi spec to remove the limitation. after the ecr is approved, the corresponding patch will be submitted.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10205 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 04:35:26 +00:00
jyao1
008eeb504b
Move SmmCoreSmmServicesTableLib from MdePkg to MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10204 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 04:05:28 +00:00
andrewfish
d03171efd1
Add an EHCI register dump function for debug. Not hooked in any place...
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10195 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 22:38:21 +00:00
lgao4
5a15736588
Fix wrong BufferSize for Configuration data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10192 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 10:04:21 +00:00
tye1
d34a247e8a
Update the title Network Configuration to IPv4 Network Configuration since IPv6 UI is enabled.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10191 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:57:52 +00:00
niruiyu
6a429dfa5f
Change back the TPL of PCD from TPL_CALLBACK to TPL_NOTIFY because the following issue is found:
...
When we manually connect a device path mapping to the serial terminal with non-default band rate, the SerialIo driver would Reinstall its device path protocol eventually causing ConSplitter::DriverBindingStart() to run and finally would call PcdGet32 (PcdConOutColumn) in ConsplitterSetConsoleOutMode().
Since SerialIo driver raises TPL to TPL_NOTIFY initially, the call to PcdGet32 would cause TPL assertion if TPL of PCD is TPL_CALLBACK.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10188 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:38:02 +00:00
erictian
3a2f9cce7d
uniform the sw and hw expression to avoid confusing. it does not effect hw function.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10186 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:29:34 +00:00
lgao4
b26fc8d82d
Use the input Request string as check string.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10184 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:17:53 +00:00
gdong1
18ca224e2e
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10182 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 07:58:16 +00:00
gdong1
4526f277b9
Add align build option to avoid the build issues.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10181 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 07:29:53 +00:00
lgao4
59aefb7e0d
Update HiiConfigAccess.ExtractConfig interface to support NULL request string and ConfigHdr request string.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10180 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 06:48:52 +00:00
rsun3
2d5ac15435
Fix a bug that a NULL pointer may be dereferenced.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10178 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 05:42:44 +00:00
jchen20
def75b5dad
Fix a bug in load modules at fixed address which may potentially impact OS S3.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10175 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 03:16:55 +00:00
jchen20
f73b3df815
Fix a bug in LMFA which may potentially impact OS S3.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10174 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 03:10:41 +00:00
hhuan13
1fc17d768f
Remove Size==0 branch in SmmAllocatePool()
...
The background is :
The SmmMemoryAllocationLib of one of the instance of MemoryAllocation library class. As in MdePkg comment for AllocatePool() : “If AllocationSize is 0, then a valid buffer of 0 size is returned.”,the SMM library implements AllocatePool by SMST service SmmAllocatePool which does NOT support the zero size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10171 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 01:48:52 +00:00
rsun3
60cf9cfc14
Minor bug fix and robustness check improvement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10168 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 09:40:16 +00:00
jchen20
3c447c2760
Enable "Load Module At fixed Address" feature in SMM Core
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10166 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 05:45:50 +00:00
jyao1
06b07ce37c
Change the minimal SMM core size from 1MB to 256KB-4K.
...
Some platforms only enable 1MB, after reserve 1 page for SMM S3. There is at most 1MB-4KB for SMM core.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10158 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 02:04:37 +00:00
hhuan13
52c0d06b94
Fix K8 scan issues
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10151 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 02:58:03 +00:00
klu2
ccf0f68d73
Add checking whether FvCount is overflow when new unknown FvInfoPpi is dispatched.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10146 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:59:00 +00:00
rsun3
2292758d5c
Minor coding style fix.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10145 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:38:46 +00:00
xli24
17dd1ce959
Rollback change of revision 10061.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10144 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:23:03 +00:00
jchen20
77215d10c0
update DxeIpl to use EFI_S3_RESUME2_PPI instead of EFI_S3_RESUME_PPI
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10138 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 07:11:28 +00:00
mdkinney
3df4b6e7e9
Update PI SMM Core to ignore memory ranges from SMRAM Descriptors that are already allocated or not tested or not ECC initialized yet
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10132 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 05:32:59 +00:00
hhuan13
3c5963cf29
Update PiSmmCore:
...
1. Update PiSmmIpl.c DoCommunicate() to prevent exception in case call SmiManage directly if SMRAM is closed or locked. That case causes exception.
2. Update PiSmmCore.c SmmEntryPoint(). It is not required to save/restore InSmm. Because SMM is non-reentrant.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10131 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 04:29:21 +00:00
jljusten
9c1ca96e42
MdeModulePkg DxeNetLib: Fix compiler warning
...
This compiler warning was triggered by setting MDEPKG_NDEBUG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10126 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 00:28:34 +00:00
lgao4
96a65fc85a
Add FormMap form example.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10125 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28 23:56:57 +00:00
erictian
592b87a46d
update Ehci driver to distinct pci memory address and host address
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10121 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28 13:00:58 +00:00
vanjeff
e7af83aece
1. Refine debug agent library.
...
2. DxeCore and DxeIpl consume debug agent library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10119 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 17:04:12 +00:00
lgao4
771ececd12
Add the missing check for NULL pointer before use it.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10116 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 09:04:11 +00:00
geekboy15a
3978f5d92b
Fixed GCC build issue caused by converting a pointer to an integer of a larger size.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10115 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 19:17:16 +00:00
xli24
64ca68027b
Add parameter checking for PEI service AllocatePages(), according to PI1.2 errata A.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10112 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 09:26:52 +00:00
xli24
f7dab9fa6d
Refine parameter description according to PI 1.2 errata A.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10109 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 08:56:29 +00:00
rsun3
d2fbaaab17
Add more code robustness check for modules under MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10108 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 08:53:27 +00:00
jchen20
4fb720763c
Fix a bug in "Load module At fixed address" to enable it on IPF platform
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10106 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 07:43:00 +00:00
vanjeff
fe92ab29bf
import Debug Agent Library and null instance in MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10099 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 05:38:04 +00:00
hhuan13
5b422a7bbd
Clean up PiSmmCore to pass K8 scan
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10098 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 04:35:23 +00:00
jgong5
34f60e4d77
Add EfiCpuArchProtocol dependency for PiSmmIpl module. The reason to add this is PiSmmIpl will call gDS->SetMemorySpaceAttributes() which will locate CPU Arch Protocol to set MTRRs. Without this dependency, the locate might fail and MTRRs are never set in this case.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10097 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 03:35:47 +00:00
mdkinney
4442c579e4
Add PI SMM IPL and PI SMM Core
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10095 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 23:42:27 +00:00