vanjeff
93b0fbc8a1
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
...
Changed old event definitions reference to these new event definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2729 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 08:54:54 +00:00
vanjeff
d97430c57a
1. Merger Tracker 8448: PciHostBridgeEnumerator() error checking could lead to memory leak
...
2. Merger Tracker 8450: AllRootHPCInitialized() passed in timeout value incorrect
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2629 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-05 05:20:37 +00:00
qhuang8
08c01475f5
Rewrite the confusion statement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2610 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-31 09:25:52 +00:00
vanjeff
caecffd105
1. Fixed one bug in UpdateDataCheck().
...
2. Reduce one time notify function calling.
3. Fix comments bug in resources degrade function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2573 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-17 13:31:47 +00:00
qhuang8
56056c7cd8
1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for data transfer.
...
2. PxeBc: Fix array out bound error and add code to check the validation of the IP and subnet mask addresses.
3. DxeIpl: Make sure FV HOB is not corrupted by checking FV signature.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2570 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-16 05:20:06 +00:00
vanjeff
bbee9482d7
Fixed some issues for IA32 architecture platform build.
...
1. added UINTN typecast for shift.
2. updated Nt32.fpd and Unix.fpd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2564 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 02:23:10 +00:00
vanjeff
98419ef4b9
1. Added EdkPciIncompatibleDeviceSupportLib in EdkModulePkg, this library is used for PciBus driver and includes 3 Incompatible device lists.
...
2. Used EdkPciIncompatibleDeviceSupportLib in PciBus driver.
3. Redirect all Pci Configuration access to new APIs added in PciLib.c for PciBus driver.
4. Added one PCD PcdIncompatibleDeviceSupportMask in EdkModulePkg.spd to provide mask of PCI devices incompatibility check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2562 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-12 09:07:01 +00:00
xgu3
5d10269c06
To fix
...
USB Keyboard driver should add F11, F12 support
DxeIpl should not hardcode 36bit address
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2543 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:04:12 +00:00
xgu3
4b2e068430
[Source] Useless assigning statement in ata and atapi
...
NT32, WinNT GOP PixelFormat should be BltOnly
NT32, SimpleTxtIn should add F11, F12 support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2511 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-29 03:42:03 +00:00
vanjeff
ce8bd86e8f
1. Removed #ifdef EDK_RELEASE_VERSION from all c files for all modules
...
2. Removed #ifdef EFI_SPECIFICATION_VERSION from all c files for all modules
3. Added comments for file VariableWorker.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2495 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 01:27:01 +00:00
vanjeff
e5f461a850
1. Remove #ifdef _MSC_EXTENSION_ from all source files
...
2. Remove #ifdef _GCC_ from all resource files
3. Remove #if 0 from all resource files
4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC
5. Remove #progam from Decode.c
6. Remove #ifdef TIANO_EXTENSION_FLAG from source files
7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all.
8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-15 02:33:16 +00:00
qwang12
c094abe585
Add a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2443 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 07:47:33 +00:00
klu2
27061085e5
The latest IPF boot failure is found and is not caused by this fixing, so check-in the fixing again.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2434 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 09:04:53 +00:00
qhuang8
df557cca2f
1. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI spec
...
2. Make performance data for End of BDS is not recorded in Boot Manager Boot
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2431 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-08 07:04:05 +00:00
xli24
64b41a0710
Fix the issue of Linux cannot boot and reset on IPF.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2423 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-07 09:34:54 +00:00
klu2
635a3f5c79
Assign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA mode.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2418 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 06:42:29 +00:00
vanjeff
8ba8cb28e8
Removed EFI_SIZE_REDUCTION_APPLIED and SIZE_REDUCTION_ISA_COMBINED because one PCD PcdComponentNameDisable has been introduced.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2416 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 03:41:22 +00:00
klu2
8b886edc83
Fix case-sensitive build issue for filename in Linux
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2414 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 02:05:22 +00:00
klu2
2008636e60
Add blank line at end of file to pass GCC build.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2413 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 01:50:40 +00:00
klu2
bc4e770c78
In IdeBus driver block I/O read/write interface, it will always try to use UDMA mode first, if fails, then try to use PIO mode.
...
This may cause side effects if disk does not support UDMA mode and also let bad performance.
The modification is to record supported mode and only try supported mode when do disk read/write.
Also this patch combines the code for read/readex/write/writex to reduce code size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2412 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-02 08:21:43 +00:00
qwang12
5d09d1b775
1) add && MDE_CPU_EBC guard for MSC specific pragma in Decode.c as EBC C compiler does not recongnize the pragma.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2408 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-28 03:48:13 +00:00
qwang12
3bd0d8f8a9
1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
...
2) remove a dangling pragma in E100b.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2402 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-27 03:30:12 +00:00
qwang12
bc2693a840
Clean up MSA file of the checked in modules which include:
...
1) remove unused library class
2) remove unreferenced GUIDs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2401 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-26 07:00:31 +00:00
tgingold
0b293ccb7e
fix a typo in a comment
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2360 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-11 06:36:05 +00:00
xli24
3401c092e4
Make EDK Module Package pass Intel IPF compiler with /Ox switch.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 02:50:13 +00:00
xgu3
a8b194b97c
1. PEI core needs to check image machine type
...
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail.
3. Pci22.h, we need to add more definition in that
4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC
5. PciEnumeratorSupport Null Pointer Error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 07:18:41 +00:00
xli24
92dda53e9f
Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning #1419 .
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 04:57:46 +00:00
xli24
963cbacb5f
Further check-in to smooth Intel IPF compiler building.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2332 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29 06:09:43 +00:00
qhuang8
c111036f20
Fix the build break by removing an unreferenced static function.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2330 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29 02:15:56 +00:00
xgu3
c7916981cc
To fix,
...
cd ...... works unnormally in shell
USB CBI1 driver has no component name protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2328 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 08:35:57 +00:00
xli24
617de480bc
Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except waning 1419.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:54:08 +00:00
qhuang8
4d1fe68e1c
1. Add NULL QH to set as QH header;
...
2. Do ping for high speed OUT pipe;
3. Bug fix for QTD size detection;
4. Bug fix for short package detection;
5. Bug fix get next QTD in ExcutionTransfer;
6. BOT module modify to follow spec;
7. Massstorage error hanling enhancement
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2321 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 04:08:57 +00:00
xli24
fb5a3ed8c7
Remove some unused internal functions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2315 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 07:30:10 +00:00
xli24
1cc8ee7861
Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:15:58 +00:00
yshang1
c7c02fabf1
Fixed bug in partition driver:
...
When Block I/O detects the media changed, block driver will reinstall block I/O protocol. If it happened during start() of partition driver, the reinstall protocol would results in the reentrant of the start(). In the patch, we check status of child detection to see whether need clean up the opened block I/O protocol in Start().
Besides, some checking of return status added in usbbus driver to improve robusticiy of the driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2288 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 10:28:32 +00:00
qhuang8
61fb1657e5
Fix component name bugs when input Controller Name is invalid
...
Fix the driver binding version for platform/OEM specific drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2274 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 08:06:15 +00:00
bbahnsen
fae0da0d2c
Fix several capitalization issues.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2255 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 19:59:43 +00:00
xgu3
591ee27e84
To fix,
...
1. ScrollLock key does not work in USB KB driver
2. PCI_ROOT_BRIDGE_IO.configuration should use OUT for Resources
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2248 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 06:24:49 +00:00
klu2
9a037c5d09
Correct the right bits judgment for get size of OptionROM.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2236 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 06:20:33 +00:00
klu2
3727980651
Remove two global variable: mUsbCapabilityLen and mDeviceSpeed and integrate them into USB2_HC_DEV.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2235 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 05:47:58 +00:00
klu2
74c56167df
EHCI driver need enable routine and disable Legacy USB
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2233 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 05:17:27 +00:00
zliu3
6c31fdb887
The updating (change the Interrupt Line to 0xFF for unknown setting) is only for x86 based on the PCI spec, so added the compiler option for such code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2229 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 03:42:01 +00:00
klu2
38a7027076
AsyncRequestPtr maybe NULL after its callback function is invoke. So Caching it temporary.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2217 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 07:06:00 +00:00
xli24
715a44f11b
IDEBusDriverBindingStart() calls REPORT_STATUS_CODE_WITH_DEVICE_PATH with NULL device path. If progress code is switched on, ASSERT would happen.
...
This update fixes the issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2208 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 09:07:51 +00:00
xli24
ea78388e1a
For USB mass storage, READ_FORMAT_CAPACITIES command returns wrong value for USB2.0 device.
...
In order to fix this issue, we change the retry policy. Try old command before new command.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2155 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30 03:21:44 +00:00
qhuang8
e53a7e1bc9
Set 0xff to both bridge & non-bridge device in case of unknown device.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2123 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-20 09:21:41 +00:00
klu2
d43eee260f
Merge R8 track #8354 : SupportPalette() algorithm incorrect
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2100 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14 08:47:45 +00:00
qwang12
0265b1e8cb
1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
...
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2091 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 03:16:04 +00:00
qwang12
6874dbd0e2
1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
...
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 03:11:47 +00:00
wuyizhong
406adcd15c
Merge GOP related code from r8->r9.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2085 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 07:09:03 +00:00