From 9ecda2e9fa7ee0a9ff6d6d98ae6593b3d1b6347f Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 6 May 2011 21:10:00 +0000 Subject: [PATCH] More timer changes from Uros git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3572 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 4 ++ Documentation/NuttxPortingGuide.html | 87 +++++++++++++++++++++++++- configs/vsn/src/sif.c | 15 +++-- include/nuttx/clock.h | 38 +++--------- include/time.h | 25 +++++--- sched/Makefile | 4 -- sched/clock_gettime.c | 51 ++++++++++++--- sched/clock_getutc.c | 92 ---------------------------- sched/clock_initialize.c | 45 +++++++++----- sched/clock_settime.c | 49 ++++++++++++--- sched/clock_systimer.c | 10 ++- 11 files changed, 245 insertions(+), 175 deletions(-) delete mode 100644 sched/clock_getutc.c diff --git a/ChangeLog b/ChangeLog index a3547a2ac3d..e9174fb5303 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1725,3 +1725,7 @@ 6.3 2011-xx-xx Gregory Nutt + * Remove clock_getutc(). It is replaces with clock_gettime(CLOCK_ACTIVETIME). + Add other RTC related changes provided by Uros Platise. + + diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 4f9b0694f8a..c7a56927fbe 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -91,7 +91,8 @@ 4.1.16 up_disable_irq()
4.1.17 up_enable_irq()
4.1.18 up_prioritize_irq()
- 4.1.19 up_putc() + 4.1.19 up_putc()
+ 4.1.20 System Time and Clock 4.2 APIs Exported by NuttX to Architecture-Specific Logic