From d2e7e385fc57e2fab5465a2b622212f634d52845 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 27 Oct 2014 15:38:20 +0000 Subject: EmbeddedPkg: Clarify the declaration of SerialPortGetControl() Rework the PL011UartGetControl() function removing a TODO by the way. Update of the header comment blocks of (PL011Uart|SerialPort)GetControl() functions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron Reviewed-By: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16252 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'EmbeddedPkg/Library') diff --git a/EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.c b/EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.c index 2c2b4382d2..f0f8465cb6 100644 --- a/EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.c +++ b/EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.c @@ -36,7 +36,7 @@ SerialPortSetControl ( /** Get the serial device control bits. - @param Control Control signals read from the serial device. + @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. @@ -45,7 +45,7 @@ SerialPortSetControl ( RETURN_STATUS EFIAPI SerialPortGetControl ( - OUT UINT32 *Control + OUT UINT32 *Control ) { if (SerialPortPoll ()) { @@ -54,7 +54,7 @@ SerialPortGetControl ( } else { *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY | EFI_SERIAL_OUTPUT_BUFFER_EMPTY; } - return EFI_SUCCESS; + return RETURN_SUCCESS; } /** -- cgit v1.2.3