diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-03-22 16:59:17 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-01 15:03:13 -0400 |
commit | 79f6ad6a7b9c30bacb135b91a268fd9767bca79d (patch) | |
tree | 4cf33c5f5f0aa175f3522d84b51bc3d1e6c7af48 /arch | |
parent | 80e62ccfa630b8a5dda479c8d9dc5f8872acb370 (diff) | |
download | u-boot-79f6ad6a7b9c30bacb135b91a268fd9767bca79d.zip u-boot-79f6ad6a7b9c30bacb135b91a268fd9767bca79d.tar.gz u-boot-79f6ad6a7b9c30bacb135b91a268fd9767bca79d.tar.bz2 |
arm: smh: Document functions in header
This adds some documentation for semihosting functions in the header.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/semihosting.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/lib/semihosting.c b/arch/arm/lib/semihosting.c index 1686457..2943f7b 100644 --- a/arch/arm/lib/semihosting.c +++ b/arch/arm/lib/semihosting.c @@ -80,9 +80,6 @@ long smh_open(const char *fname, enum smh_open_mode mode) return fd; } -/* - * Read 'len' bytes of file into 'memp'. Returns 0 on success, else failure - */ long smh_read(long fd, void *memp, size_t len) { long ret; @@ -104,9 +101,6 @@ long smh_read(long fd, void *memp, size_t len) return len - ret; } -/* - * Close the file using the file descriptor - */ long smh_close(long fd) { long ret; @@ -119,9 +113,6 @@ long smh_close(long fd) return 0; } -/* - * Get the file length from the file descriptor - */ long smh_flen(long fd) { long ret; |