diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-04 12:29:19 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-04 12:29:19 +0000 |
commit | c07e3aeb901dac03d1faff65b4c6eda1de25141c (patch) | |
tree | 67ad77464ffc9b98908f63a61f3d62a7529a9fc8 /nuttx/arch/rgmp/include/arch.h | |
parent | f831ee4825edac31395b26876023e792cda23281 (diff) | |
download | px4-nuttx-c07e3aeb901dac03d1faff65b4c6eda1de25141c.tar.gz px4-nuttx-c07e3aeb901dac03d1faff65b4c6eda1de25141c.tar.bz2 px4-nuttx-c07e3aeb901dac03d1faff65b4c6eda1de25141c.zip |
Add Yu Qiang's patch for RGMP support on the ARM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3843 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/rgmp/include/arch.h')
-rw-r--r-- | nuttx/arch/rgmp/include/arch.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/nuttx/arch/rgmp/include/arch.h b/nuttx/arch/rgmp/include/arch.h index 789c1d471..c93397baa 100644 --- a/nuttx/arch/rgmp/include/arch.h +++ b/nuttx/arch/rgmp/include/arch.h @@ -40,10 +40,12 @@ #ifndef __RGMP_ARCH_ARCH_H #define __RGMP_ARCH_ARCH_H +#include <arch/subarch/arch.h> + #ifndef __ASSEMBLY__ #include <nuttx/sched.h> -#include <rgmp/hpet.h> + struct up_wait { struct up_wait *next; @@ -57,16 +59,6 @@ void up_sigentry(void); int up_register_bridge(char *name, int size); int up_unregister_bridge(char *name); -static inline void up_mdelay(uint32_t msec) -{ - hpet_ndelay(msec*1000000); -} - -static inline void up_udelay(uint32_t usec) -{ - hpet_udelay(usec*1000); -} - -#endif +#endif /* !__ASSEMBLY__ */ #endif |