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

svn at coreboot.org svn at coreboot.org
Fri Aug 29 01:12:34 CEST 2008


Author: jcrouse
Date: 2008-08-29 01:12:34 +0200 (Fri, 29 Aug 2008)
New Revision: 3553

Modified:
   trunk/payloads/libpayload/libc/time.c
Log:
[PATCH]: libpayload:  Document time functions 

No code changes.

Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
Acked-by: Jordan Crouse <jordan.crouse at amd.com>


Modified: trunk/payloads/libpayload/libc/time.c
===================================================================
--- trunk/payloads/libpayload/libc/time.c	2008-08-28 23:12:22 UTC (rev 3552)
+++ trunk/payloads/libpayload/libc/time.c	2008-08-28 23:12:34 UTC (rev 3553)
@@ -27,6 +27,10 @@
  * SUCH DAMAGE.
  */
 
+/** @file libc/time.c
+ * @brief General Time Functions
+ */
+
 #include <config.h>
 #include <libpayload.h>
 #include <arch/rdtsc.h>
@@ -110,6 +114,12 @@
 }
 #endif
 
+/**
+ * Return the current time broken into a timeval structure
+ * @param tv A pointer to a timeval structure
+ * @param tz Added for compatability - not used
+ * @return 0 for success
+ */
 int gettimeofday(struct timeval *tv, void *tz)
 {
 	/* Call the gtod init when we need it - this keeps





More information about the coreboot mailing list