summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/ostest.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-24 21:34:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-24 21:34:55 +0000
commitcd7ab15d6faca00ad56a3cc55613a1529790aa1c (patch)
tree1b51d1401e6f912a7c2d6fafe3e29fb22ea13855 /apps/examples/ostest/ostest.h
parent1b4c92672cfd43d05dbee2db143af08ec84d90af (diff)
downloadnuttx-cd7ab15d6faca00ad56a3cc55613a1529790aa1c.tar.gz
nuttx-cd7ab15d6faca00ad56a3cc55613a1529790aa1c.tar.bz2
nuttx-cd7ab15d6faca00ad56a3cc55613a1529790aa1c.zip
Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4421 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/ostest/ostest.h')
-rw-r--r--apps/examples/ostest/ostest.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/apps/examples/ostest/ostest.h b/apps/examples/ostest/ostest.h
index 99290828e..a4af37f05 100644
--- a/apps/examples/ostest/ostest.h
+++ b/apps/examples/ostest/ostest.h
@@ -1,8 +1,8 @@
/****************************************************************************
- * examples/ostest/ostest.h
+ * apps/examples/ostest/ostest.h
*
- * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -33,8 +33,8 @@
*
****************************************************************************/
-#ifndef __OSTEST_H
-#define __OSTEST_H
+#ifndef __APPS_EXAMPLES_OSTEST_OSTEST_H
+#define __APPS_EXAMPLES_OSTEST_OSTEST_H
/****************************************************************************
* Included Files
@@ -107,6 +107,10 @@
extern int dev_null(void);
+/* fpu.c ********************************************************************/
+
+extern void fpu_test(void);
+
/* mutex.c ******************************************************************/
extern void mutex_test(void);
@@ -171,4 +175,4 @@ extern int sem_nfreeholders(void);
# define sem_nfreeholders()
#endif
-#endif /* __OSTEST_H */
+#endif /* __APPS_EXAMPLES_OSTEST_OSTEST_H */