li-elvin
abfbafd5a7
Remove disabling keyboard/auxiliary interface in Driver Binding Protocol.Stop() of Ps2KeyboardDxe/Ps2MouseDxe/Ps2MouseAbsolutePointer driver so that PS/2 keyboard and mouse can be used with legacy option ROMs after all EFI drivers have been disconnected.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11611 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 01:06:36 +00:00
niruiyu
5d7ca12492
Change BlockIo drivers to return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even the Buffer/BufferSize/Lba is invalid so that caller can probe the media status easier.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11585 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-25 09:32:25 +00:00
niruiyu
c220787b13
Fix the PS2 keyboard driver to call hotkey callback even no one is calling ReadKeyStroke
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11564 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 06:53:29 +00:00
mdkinney
ee686203fd
Use REPORT_STATUS_CODExxx() macros directly.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11224 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-03 19:25:00 +00:00
mdkinney
9969fde78d
Update the Timeout used for Write() operations to consider the case where the Tx FIFO is full on entry to Write().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11211 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30 22:30:57 +00:00
niruiyu
12b7f509dc
Removes the assumption in Supported() and Start() routine that the EFI_SIO_PROTOCOL is installed in the immediate child handle of the PCI controller. Multiple SIO platform could have an additional layer between the PCI controller and the EFI_SIO_PROTOCOL instance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11178 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-17 05:55:47 +00:00
niruiyu
3a0e054598
Fix the IsaIo driver to not create ISA resource item when the ACPI resource returned from EFI_SIO_PROTOCOL::GetResources() is 0.
...
This could avoid creating the ISA resource item with StartRange = 0 and EndRange = 0xffffffff when the ACPI resource Base and Len both are 0 because we set StartRange = Base and EndRange = Base + End - 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11164 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 07:17:55 +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
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
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
niruiyu
711d0721b5
Fix the hardware flow control logic in SerialIo driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10228 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10 09:20:17 +00:00
klu2
03b8583c5a
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10081 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 17:06:18 +00:00
lgao4
6bfbb5f0e0
1. Correct File header to ## @file
...
2. Remove unnecessary .common] postfix on section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
mdkinney
c37f052fe9
Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
...
Do some minor clean ups to INF files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9867 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 23:34:42 +00:00
xli24
1ace000135
Minor code enhancement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9692 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 04:10:38 +00:00
vanjeff
9be2900668
1. updated "the Bus Driver that creates all of its child handles on the first call to Start()" not to create any child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
...
The others changes include:
a. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
b. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
2. roll back serial drivers not to create child device, if the device speicifed by remainingdevicepath cannot find in the created devices list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9267 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 03:05:46 +00:00
vanjeff
af4a63857c
updated the Bus Driver that is able to create all or one of its child handles on each call to Start() not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
...
The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9262 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:55:03 +00:00
jchen20
8f3e12297a
modified to removed references to WinNt in the comments for serial drivers
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9085 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18 06:23:53 +00:00
lgao4
19bf20e11a
Clean up code
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8975 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-21 07:57:29 +00:00
mdkinney
79bc7a89f7
Remove extra #includes where possible to make build more efficient
...
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8900 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:27:49 +00:00
gikidy
77b91d896f
Replace Fixed PCD with Feature PCD for useHalfHandshake to reduce code size.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8862 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 07:55:14 +00:00
xli24
10c1a4ca0c
Merge 3 PCDs for the ISA Bus Driver to a single PCD that is a bitmask of features.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8861 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 07:01:42 +00:00
gikidy
2e01113094
Fix a bug that process received data twice, it will cause serial work incorrect.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8854 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:05:10 +00:00
gikidy
fa70a2c4cc
Enhanced module to handle half handshake flow control.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8816 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 09:29:08 +00:00
rsun3
2101c62ad0
Fix bugs in last code scrub.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8713 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 02:01:29 +00:00
lgao4
61efb259fb
Fix code bug to cause deal loop when no floppy device.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8700 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 06:57:25 +00:00
rsun3
d6321d6ef9
Isa Floppy driver code scrub.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8697 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 05:48:44 +00:00
rsun3
0a2dfa1996
Coding style clean-up.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8670 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 08:40:09 +00:00
lgao4
91c681977b
Update code style.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8669 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 08:39:21 +00:00
eric_tian
745ed9b412
update the comments on Event
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8661 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 09:09:21 +00:00
eric_tian
cab302fd4c
code scrub on Ps2MouseDxe/Ps2MouseAbsolutePointer module
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8659 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 08:42:53 +00:00
eric_tian
24a2dd3d08
code scrub on Ps2MouseDxe module
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8657 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 08:27:12 +00:00
eric_tian
f66d00cabc
fix build failure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8654 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 03:15:56 +00:00
eric_tian
3ae9910225
change the enum field name convention to pass ECC
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8653 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 03:14:12 +00:00
klu2
7ec9caab92
Fix the potential issue that using integrate as BOOLEAN value in judgment.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8648 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 08:41:14 +00:00
klu2
f713c4feab
Refine the comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8605 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 06:52:51 +00:00
klu2
b6763e03bd
Clean up the Ps2keyboardDxe module
...
1) Use MicroSecondDelay() produced by TimerLib to replace gBS->Stall
2) Add more command/register/status definition for 8042/8048 chipset and remove hard code value used in driver's source code;
3) Remove some unused function declaration before function implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8604 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 06:18:09 +00:00
klu2
6731962674
The unicode char and shift unicode char should be unicode but not ascii char.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8597 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 09:24:42 +00:00
eric_tian
05db8d5506
add meta-data to describe module behavior
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8581 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-17 02:19:09 +00:00
eric_tian
18a73eb727
clean ECC issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8580 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-17 01:57:42 +00:00
rsun3
f423cbf1e9
ISA Bus code scrub.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8538 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 08:18:57 +00:00
rsun3
9277fdf8e7
ISA Bus driver code scrub. Fix a bug in Stop() that CloseProtocol() on PCI IO Protocol fails because the child device handle is invalid after UninstallMultipleProtocolInterfaces() is called to destroy the child device handle.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8532 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 10:24:50 +00:00
rsun3
6fcb2d910a
ISA Bus driver code scrub.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8505 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-10 06:35:16 +00:00
eric_tian
172870eff5
fix the ecc issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8502 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-10 03:09:31 +00:00
gikidy
007c18f5b7
Enhance Ps2Mouse and Ps2Keyboard driver and fix for random hangs in System waiting for the Key if no KBC is present.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8473 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 03:25:09 +00:00
mdkinney
8b35a9caa4
Remove unnecessary use of gEfiStatusCodeSpecificDataGuid
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8429 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 20:14:18 +00:00