retired PcdNtEmulatorEnable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7792 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -62,9 +62,6 @@
|
||||
gEfiSerialIoProtocolGuid # PROTOCOL BY_START
|
||||
gEfiDevicePathProtocolGuid # PROTOCOL TO_START
|
||||
|
||||
[FeaturePcd.common]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdNtEmulatorEnable
|
||||
|
||||
[FixedPcd.common]
|
||||
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
|
||||
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
|
||||
|
@@ -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
|
||||
|
@@ -154,7 +154,7 @@
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSupportIsaMemory|TRUE
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciCfgDisable|TRUE
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciCfg2Disable|TRUE
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdNtEmulatorEnable|FALSE
|
||||
|
||||
|
||||
[PcdsFixedAtBuild.common]
|
||||
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
|
||||
|
@@ -135,10 +135,8 @@ PeiStatusCodeDriverEntry (
|
||||
// Install PeiStatusCodePpi.
|
||||
// PeiServices use this Ppi to output status code.
|
||||
// use library
|
||||
if (!FeaturePcdGet(PcdNtEmulatorEnable)) {
|
||||
Status = PeiServicesInstallPpi (&mStatusCodePpiDescriptor);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
Status = PeiServicesInstallPpi (&mStatusCodePpiDescriptor);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
@@ -69,7 +69,6 @@
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdNtEmulatorEnable
|
||||
|
||||
|
||||
[Pcd.common]
|
||||
|
Reference in New Issue
Block a user