ydong10
d3b4af2bca
fix build error on ICC compile.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11150 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 08:42:36 +00:00
lzeng14
e519401bd5
Enhance IdeBusDxe to check the class code for IDE mode only.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11147 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 02:45:29 +00:00
ydong10
5091b4759f
Change the file guid value to avoid conflict as another file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11146 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 02:21:56 +00:00
ydong10
3c4b1122e0
[BDS] Device Manager was requested to add more sub-level menu about network device.
...
Now show menu like:
Network Device List -> Mac:XX:XX:XX... -> IPv4 Network Config
Mac:XX:XX:XX... VLAN Configuration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11137 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 01:44:07 +00:00
niruiyu
d860010877
Fix the bug that <continue> may not boot the first boot option but return back to front page.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11109 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 05:57:13 +00:00
lgao4
b4c9005886
First try to get log time at TPL level <= TPL_CALLBACK, then fill time into DataHub.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11102 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 04:41:58 +00:00
niruiyu
0fa3ac1bb8
Fix the checking logic for the boot option enumeration.
...
Fix the memory leak issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11098 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 06:33:19 +00:00
lgao4
1134ead4a3
Reduce DataHub TPL Level to TPL_CALLBACK, because DataHub uses GetTime() service that must be called <= TPL_CALLBACK.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11097 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 06:32:35 +00:00
vanjeff
8185265e69
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@11084 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-23 07:51:00 +00:00
niruiyu
7caf72a907
Use PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.
...
Check memory type information after signaling the ReadyToBoot event.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11080 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 05:25:03 +00:00
vanjeff
cd73414527
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@11022 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-10 06:12:25 +00:00
niruiyu
fefefa4cb1
Remove unnecessary mBdsImageHandle.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11012 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-08 06:56:57 +00:00
mdkinney
d2720e0ce8
Fix bug in DataHub where it would skip the first record in a set when a filter is being used. Also add comments and update source code logic to make it easier to understand and maintain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11008 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 20:22:18 +00:00
niruiyu
d69bf66dc1
Fix the corner case when there is only "\0\0" appended and the Index is 1. Return missing string instead of empty string.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10914 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-11 04:37:28 +00:00
lgao4
b61bb3b3ce
Add the missing EFIAPI for StatusCode handler.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10896 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-25 05:45:14 +00:00
niruiyu
7bee5a761f
Add additional reset when Memory Type Information settings change.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10879 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 01:14:51 +00:00
mdkinney
dd9a7d50d7
Update this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER module types
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10864 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10 20:05:25 +00:00
niruiyu
2ca7eca448
Fix a bug in GetOptionalStringByIndex() that doesn't handle the case when Index == 0.
...
Code is re-organized to be more readable and simpler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10823 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-26 03:15:23 +00:00
niruiyu
f6aa9c1bb5
Fix GCC build failure
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10809 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-20 05:30:07 +00:00
niruiyu
558be4559a
Check in the IsaIoDxe device driver that consumes EFI_SIO_PROTOCOL to produce EFI_ISA_IO_PROTOCOL.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10808 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-19 02:40:27 +00:00
xli24
28a94112d1
Add datahub status sode handler driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10795 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-13 05:43:30 +00:00
xli24
13314ba32a
Add explicit type cast to suppress possible warning of precession loss.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10786 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-10 07:47:20 +00:00
niruiyu
9572320f13
Remove the EHCI/UHCI inter-dependency in GenericBdsLib since the EHCI/UHCI controller drivers already take care the start() sequence.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10782 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-09 07:21:50 +00:00
xli24
10c9a2e3f6
Add NULL pointer checking against Data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10725 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:41:57 +00:00
xli24
5d4a0dbc91
Handle gEfiStatusCodeDataTypeStringGuid in status code drivers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10717 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 05:38:39 +00:00
lgao4
ab58ce18aa
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@10703 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:12:22 +00:00
xdu2
7119d96a6f
Fix bug that cursor position will change when enter newly registered HII Form after ConnectAll() in DeviceManager.
...
Root cause is that in old code, reinstall of HII handle for DeviceManager will cause inconsistent HII handle index for newly installed HII packages by ConnectAll(), thus cause inconsistent QuestionId. FormBrowser will record QuestionId of a Form ever visited, so the cursor position is changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10682 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-22 09:46:41 +00:00
lgao4
c945216e70
Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE or PcdStatusCodeUseDataHub is set to TRUE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10631 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-05 09:01:39 +00:00
lgao4
7f97c9bb52
Use ASSERT to check the expression.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10618 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-01 03:21:55 +00:00
vanjeff
445b3570b8
roll back last check-in.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10613 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-29 09:29:39 +00:00
vanjeff
7df41b1150
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10612 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-29 09:14:31 +00:00
mdkinney
a4e9b4f6e3
Allow gEfiMemoryTypeInformation bins to shrink if boot mode is BOOT_WITH_DEFAULT_SETTINGS or the gEfiMemoryTypeInformation variable does not exist.
...
Update BdsSetMemoryTypeInformationVariable() to use DEBUG() prints to show the Previous, Current, and Next sizes of each memory bin type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10580 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:23:58 +00:00
xli24
c6498c1d45
Fix the issue that ASSERT() at line 1391 incorrectly asserts when order list variable is empty.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10564 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-03 08:49:46 +00:00
lgao4
4548fc2aaa
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 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@10561 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-02 02:06:01 +00:00
niruiyu
4515103850
remove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10548 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 01:59:30 +00:00
lgao4
14531b1390
Use the ASSERT() for parameter checking as the 4th parameter of internal worker function of MakeTable() must be <= 16.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10540 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-24 02:45:17 +00:00
xli24
ce5fad4151
For BdsDxe module,
...
1. Fix the risk that local variable is pointed by global pointer, which may be used outside the variable scope.
2. Add more checking for pointers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10536 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 07:40:24 +00:00
lgao4
4fb411fdff
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@10528 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 02:49:25 +00:00
mdkinney
8f64277dee
Fix ICC 11.1 build error
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10465 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-07 22:46:54 +00:00
hhtian
180a5a35cb
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10414 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:28:26 +00:00
niruiyu
5efb9132d3
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@10385 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 02:41:15 +00:00
erictian
69c3ab976d
Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState value.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10381 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-19 05:32:57 +00:00
qhuang8
2db3d8672c
Fix minor coding style issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10371 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-14 07:06:43 +00:00
niruiyu
bf19b4402b
Fix ICC build failure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10360 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-12 09:23:50 +00:00
niruiyu
6b008b74fb
1. IsaSerialIo driver was changed to produce the flow control device path node when the remaining device path contains such node. And it will return unsupported when receiving a remaining device path only contains UART node and it’s already produced the flow control node.
...
2. BMM driver was enhanced to take care of the optional flow control node.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10351 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09 08:35:44 +00:00
hhtian
00958779f7
Not maintained.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10312 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-25 14:45:17 +00:00
myronporter
38dc2202cf
Per Liming request: 1)remove duplicate header disclaimer lines IntelFrameworkModulePkg.dsc; 2) IntelFrameworkModulePkg\Include\Library\GenericBdsLib.h line 948 is actually 948 to 963, 8 lines of @retval.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10303 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-22 16:28:12 +00:00
lgao4
8df1634c8b
Don't create a dummy string with new language.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10302 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-22 12:31:57 +00:00
erictian
d96d37d8b9
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@10268 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 11:06:45 +00:00
erictian
c0d69d10f6
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@10266 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 09:48:05 +00:00