Revision: 14015
http://edk2.svn.sourceforge.net/edk2/?rev=14015&view=rev
Author: andrewfish
Date: 2012-12-22 00:45:55 +0000 (Sat, 22 Dec 2012)
Log Message:
-----------
Sync with EmulatorPkg changes.
signed-off-by:[email protected]
Modified Paths:
--------------
trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c
trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
Modified:
trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c
===================================================================
--- trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c
2012-12-22 00:44:04 UTC (rev 14014)
+++ trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c
2012-12-22 00:45:55 UTC (rev 14015)
@@ -17,6 +17,7 @@
#include <PiDxe.h>
#include <Library/SerialPortLib.h>
+#include <Library/SerialPortExtLib.h>
#include <Library/EmuThunkLib.h>
@@ -116,4 +117,57 @@
return gEmuThunk->PollStdIn ();
}
+/**
+ Set the serial device control bits.
+ @return Always return EFI_UNSUPPORTED.
+
+**/
+RETURN_STATUS
+EFIAPI
+SerialPortSetControl (
+ IN UINT32 Control
+ )
+{
+ return RETURN_SUCCESS;
+}
+
+/**
+ Get the serial device control bits.
+
+ @param Control Control signals read from the serial device.
+
+ @retval EFI_SUCCESS The control bits were read from the serial
device.
+ @retval EFI_DEVICE_ERROR The serial device is not functioning
correctly.
+
+**/
+RETURN_STATUS
+EFIAPI
+SerialPortGetControl (
+ OUT UINT32 *Control
+ )
+{
+ return RETURN_SUCCESS;
+}
+
+
+/**
+ Set the serial device attributes.
+
+ @return Always return EFI_UNSUPPORTED.
+
+**/
+RETURN_STATUS
+EFIAPI
+SerialPortSetAttributes (
+ IN UINT64 BaudRate,
+ IN UINT32 ReceiveFifoDepth,
+ IN UINT32 Timeout,
+ IN EFI_PARITY_TYPE Parity,
+ IN UINT8 DataBits,
+ IN EFI_STOP_BITS_TYPE StopBits
+ )
+{
+ return RETURN_SUCCESS;
+}
+
Modified:
trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
===================================================================
--- trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
2012-12-22 00:44:04 UTC (rev 14014)
+++ trunk/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf
2012-12-22 00:45:55 UTC (rev 14015)
@@ -30,6 +30,7 @@
[Packages]
MdePkg/MdePkg.dec
EmulatorPkg/EmulatorPkg.dec
+ EmbeddedPkg/EmbeddedPkg.dec
[LibraryClasses]
EmuThunkLib
Modified:
trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
===================================================================
--- trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
2012-12-22 00:44:04 UTC (rev 14014)
+++ trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
2012-12-22 00:45:55 UTC (rev 14015)
@@ -18,6 +18,7 @@
#include <PiPei.h>
#include <Library/SerialPortLib.h>
+#include <Library/SerialPortExtLib.h>
#include <Library/PeiServicesLib.h>
#include <Ppi/EmuThunk.h>
@@ -137,4 +138,58 @@
return FALSE;
}
+/**
+ Set the serial device control bits.
+ @return Always return EFI_UNSUPPORTED.
+
+**/
+RETURN_STATUS
+EFIAPI
+SerialPortSetControl (
+ IN UINT32 Control
+ )
+{
+ return RETURN_SUCCESS;
+}
+
+/**
+ Get the serial device control bits.
+
+ @param Control Control signals read from the serial device.
+
+ @retval EFI_SUCCESS The control bits were read from the serial
device.
+ @retval EFI_DEVICE_ERROR The serial device is not functioning
correctly.
+
+**/
+RETURN_STATUS
+EFIAPI
+SerialPortGetControl (
+ OUT UINT32 *Control
+ )
+{
+ return RETURN_SUCCESS;
+}
+
+
+/**
+ Set the serial device attributes.
+
+ @return Always return EFI_UNSUPPORTED.
+
+**/
+RETURN_STATUS
+EFIAPI
+SerialPortSetAttributes (
+ IN UINT64 BaudRate,
+ IN UINT32 ReceiveFifoDepth,
+ IN UINT32 Timeout,
+ IN EFI_PARITY_TYPE Parity,
+ IN UINT8 DataBits,
+ IN EFI_STOP_BITS_TYPE StopBits
+ )
+{
+ return RETURN_SUCCESS;
+}
+
+
Modified:
trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
===================================================================
--- trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
2012-12-22 00:44:04 UTC (rev 14014)
+++ trunk/edk2/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf
2012-12-22 00:45:55 UTC (rev 14015)
@@ -33,6 +33,7 @@
[Packages]
MdePkg/MdePkg.dec
EmulatorPkg/EmulatorPkg.dec
+ EmbeddedPkg/EmbeddedPkg.dec
[LibraryClasses]
PeiServicesLib
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits