diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-04 02:10:20 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-04 02:10:20 +0000 |
commit | ea2d90867ac938e89c4bae0d1c7308940af00784 (patch) | |
tree | f302f7cca77194cc5d1595baea908acc44ee5170 /IntelFrameworkModulePkg/Bus | |
parent | 7ee40c6e7938be4d4f54d8e5433787ea01b30742 (diff) | |
download | edk2-platforms-ea2d90867ac938e89c4bae0d1c7308940af00784.tar.xz |
retired PcdNtEmulatorEnable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7792 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf | 3 | ||||
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c | 16 |
2 files changed, 2 insertions, 17 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf index 122a7824f6..b3cfdae0e3 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf +++ b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf @@ -62,9 +62,6 @@ gEfiSerialIoProtocolGuid # PROTOCOL BY_START
gEfiDevicePathProtocolGuid # PROTOCOL TO_START
-[FeaturePcd.common]
- gEfiMdeModulePkgTokenSpaceGuid.PcdNtEmulatorEnable
-
[FixedPcd.common]
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c index f4c00bb770..6a7713cdaf 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c +++ b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c @@ -805,14 +805,6 @@ IsaSerialReceiveTransmit ( do {
Lsr.Data = READ_LSR (SerialDevice->IsaIo, SerialDevice->BaseAddress);
- if (FeaturePcdGet (PcdNtEmulatorEnable)) {
- //
- // This is required for NT to avoid a forever-spin...
- // This would be better if READ_LSR was a polling operation
- // that would timeout.
- //
- Lsr.Bits.THRE = 1;
- }
//
// Flush incomming data to prevent a an overrun during a long write
//
@@ -1728,17 +1720,13 @@ IsaSerialPortPresent ( WRITE_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, 0xAA);
if (READ_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress) != 0xAA) {
- if (!FeaturePcdGet (PcdNtEmulatorEnable)) {
- Status = FALSE;
- }
+ Status = FALSE;
}
WRITE_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, 0x55);
if (READ_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress) != 0x55) {
- if (!FeaturePcdGet (PcdNtEmulatorEnable)) {
- Status = FALSE;
- }
+ Status = FALSE;
}
//
// Restore SCR
|