diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-07 14:27:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-07 14:27:47 +0000 |
commit | 24151ccd83ce2d0d75bb9c45b137215c24c821c3 (patch) | |
tree | d9adb44a8128e7f408bbd16450f40f80da9e0e92 /nuttx/syscall/syscall_funclookup.c | |
parent | ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3 (diff) | |
download | nuttx-24151ccd83ce2d0d75bb9c45b137215c24c821c3.tar.gz nuttx-24151ccd83ce2d0d75bb9c45b137215c24c821c3.tar.bz2 nuttx-24151ccd83ce2d0d75bb9c45b137215c24c821c3.zip |
More kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5716 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/syscall/syscall_funclookup.c')
-rw-r--r-- | nuttx/syscall/syscall_funclookup.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/syscall/syscall_funclookup.c b/nuttx/syscall/syscall_funclookup.c index 553381cd7..b768b2445 100644 --- a/nuttx/syscall/syscall_funclookup.c +++ b/nuttx/syscall/syscall_funclookup.c @@ -76,6 +76,19 @@ #include <nuttx/clock.h> +/* clock_systimer is a special case: In the kernel build, proxying for + * clock_systimer() must be handled specially. In the kernel phase of + * the build, clock_systimer() is macro that simply accesses a global + * variable. In the user phase of the kernel build, clock_systimer() + * is a proxy function. + * + * In order to fill out the table g_funclookup[], this function will stand + * in during the kernel phase of the build so that clock_systemer() will + * have an address that can be included in the g_funclookup[] table. + */ + +uint32_t syscall_clock_systimer(void); + /**************************************************************************** * Pre-processor definitions ****************************************************************************/ |