[coreboot] r3538 - trunk/payloads/libpayload/libc

svn at coreboot.org svn at coreboot.org
Tue Aug 26 21:37:38 CEST 2008


Author: uwe
Date: 2008-08-26 21:37:37 +0200 (Tue, 26 Aug 2008)
New Revision: 3538

Modified:
   trunk/payloads/libpayload/libc/exec.c
   trunk/payloads/libpayload/libc/lib.c
   trunk/payloads/libpayload/libc/printf.c
Log:
Fix some Doxygen warnings and/or typos (trivial).

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: trunk/payloads/libpayload/libc/exec.c
===================================================================
--- trunk/payloads/libpayload/libc/exec.c	2008-08-26 11:18:38 UTC (rev 3537)
+++ trunk/payloads/libpayload/libc/exec.c	2008-08-26 19:37:37 UTC (rev 3538)
@@ -35,10 +35,12 @@
 #endif
 
 /**
- * Execute code in memory
+ * Execute code in memory.
  *
- * @param ptr The entry point to jump to
- * @return Return the return value from the entry point
+ * @param addr TODO
+ * @param argc TODO
+ * @param argv TODO
+ * @return Return the return value from the entry point.
  */
 int exec(long addr, int argc, char **argv)
 {

Modified: trunk/payloads/libpayload/libc/lib.c
===================================================================
--- trunk/payloads/libpayload/libc/lib.c	2008-08-26 11:18:38 UTC (rev 3537)
+++ trunk/payloads/libpayload/libc/lib.c	2008-08-26 19:37:37 UTC (rev 3538)
@@ -54,7 +54,7 @@
 /**
  * Return the absolute value of the specified integer.
  *
- * @param val The integer of which we want to know the absolute value.
+ * @param j The integer of which we want to know the absolute value.
  * @return The absolute value of the specified integer.
  */
 int abs(int j)

Modified: trunk/payloads/libpayload/libc/printf.c
===================================================================
--- trunk/payloads/libpayload/libc/printf.c	2008-08-26 11:18:38 UTC (rev 3537)
+++ trunk/payloads/libpayload/libc/printf.c	2008-08-26 19:37:37 UTC (rev 3538)
@@ -135,6 +135,7 @@
  * @param c	Character to print.
  * @param width	Width modifier.
  * @param flags	Flags that change the way the character is printed.
+ * @param ps	Output methods spec for different printf clones.
  * @return	Number of characters printed, negative value on failure.
  */
 static int print_char(char c, int width, uint64_t flags, struct printf_spec *ps)
@@ -166,8 +167,10 @@
  * @param width		Width modifier.
  * @param precision	Precision modifier.
  * @param flags		Flags that modify the way the string is printed.
+ * @param ps		Output methods spec for different printf clones.
  * @return		Number of characters printed, negative value on	failure.
  */
+/** Structure for specifying output methods for different printf clones. */
 static int print_string(char *s, int width, unsigned int precision,
 			uint64_t flags, struct printf_spec *ps)
 {
@@ -207,10 +210,11 @@
  * Print significant digits of a number in given base.
  *
  * @param num		Number to print.
- * @param widt		Width modifier.h
+ * @param width		Width modifier.h
  * @param precision	Precision modifier.
  * @param base		Base to print the number in (must be between 2 and 16).
  * @param flags		Flags that modify the way the number is printed.
+ * @param ps		Output methods spec for different printf clones.
  * @return		Number of characters printed.
  */
 static int print_number(uint64_t num, int width, int precision, int base,
@@ -359,7 +363,8 @@
 	return counter;
 }
 
-/** Print formatted string.
+/**
+ * Print formatted string.
  *
  * Print string formatted according to the fmt parameter and variadic arguments.
  * Each formatting directive must have the following form:





More information about the coreboot mailing list