diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-22 22:53:54 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-22 22:53:54 +0000 |
commit | 11c20f4e06d252feaa65aa5e526686baf015762d (patch) | |
tree | 21e5fd65e293cf086cec4ccc73075d585a2ebd50 /EmbeddedPkg/Library | |
parent | 5439ccda50acf4f6e2c1cbd256a30ba555da3eda (diff) | |
download | edk2-platforms-11c20f4e06d252feaa65aa5e526686baf015762d.tar.xz |
Arm Packages: Fixed coding style/Line endings to follow EDK2 coding convention
Arm Packages: Fixed mispelling
Arm Packages: Reduced warnings all over the code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12407 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Library')
-rwxr-xr-x | EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c | 6 | ||||
-rwxr-xr-x | EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c | 1 | ||||
-rw-r--r-- | EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.c | 10 |
3 files changed, 8 insertions, 9 deletions
diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c index d3c050499a..e6aabf940a 100755 --- a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c +++ b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c @@ -210,7 +210,7 @@ BasicReadRegister ( }
-/** ‘p n’
+/**
Reads the n-th register's value into an output buffer and sends it as a packet
@param SystemContext Register content at time of the exception
@param InBuffer Pointer to the input buffer received from gdb server
@@ -240,7 +240,7 @@ ReadNthRegister ( }
-/** ‘g’
+/**
Reads the general registers into an output buffer and sends it as a packet
@param SystemContext Register content at time of the exception
**/
@@ -390,7 +390,7 @@ WriteGeneralRegisters ( -/** ‘c [addr ]’
+/**
Continue. addr is Address to resume. If addr is omitted, resume at current
Address.
diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c index e12a5ac38e..eb4b66c3ad 100755 --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c @@ -678,7 +678,6 @@ GdbFWrite ( case 'F':
return;
- break;
}
}
}
diff --git a/EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.c b/EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.c index a446f6a5b8..9cc2b79a8c 100644 --- a/EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.c +++ b/EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.c @@ -37,11 +37,11 @@ SerialPortInitialize ( /**
Write data to serial device.
- @param Buffer Point of data buffer which need to be writed.
+ @param Buffer Point of data buffer which need to be written.
@param NumberOfBytes Number of output bytes which are cached in Buffer.
@retval 0 Write data failed.
- @retval !0 Actual number of bytes writed to serial device.
+ @retval !0 Actual number of bytes written to serial device.
**/
UINTN
@@ -56,13 +56,13 @@ SerialPortWrite ( /**
- Read data from serial device and save the datas in buffer.
+ Read data from serial device and save the data in buffer.
- @param Buffer Point of data buffer which need to be writed.
+ @param Buffer Point of data buffer which need to be written.
@param NumberOfBytes Number of output bytes which are cached in Buffer.
@retval 0 Read data failed.
- @retval !0 Aactual number of bytes read from serial device.
+ @retval !0 Actual number of bytes read from serial device.
**/
UINTN
|