summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/common/up_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-25 15:56:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-25 15:56:08 +0000
commit405e3e05c19a5af78b0be51c77bc79eed5d21108 (patch)
tree3482b22ad156a7be2cfae963dcd80e993fa3cd77 /nuttx/arch/mips/src/common/up_internal.h
parent05f9ddee3b6976be77d91ab1cf0efdec98729081 (diff)
downloadpx4-nuttx-405e3e05c19a5af78b0be51c77bc79eed5d21108.tar.gz
px4-nuttx-405e3e05c19a5af78b0be51c77bc79eed5d21108.tar.bz2
px4-nuttx-405e3e05c19a5af78b0be51c77bc79eed5d21108.zip
Fix a PIC32 software interrupt bug (pipeline hazard)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4224 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/src/common/up_internal.h')
-rwxr-xr-xnuttx/arch/mips/src/common/up_internal.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/common/up_internal.h b/nuttx/arch/mips/src/common/up_internal.h
index 8da7e9605..bca7656b8 100755
--- a/nuttx/arch/mips/src/common/up_internal.h
+++ b/nuttx/arch/mips/src/common/up_internal.h
@@ -2,7 +2,7 @@
* arch/mips/common/up_internal.h
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * 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
@@ -169,6 +169,14 @@ extern void up_copystate(uint32_t *dest, uint32_t *src);
extern void up_puts(const char *str);
extern void up_lowputs(const char *str);
+/* Defined in drivers/lowconsole.c */
+
+#ifdef CONFIG_DEV_LOWCONSOLE
+extern void lowconsole_init(void);
+#else
+# define lowconsole_init()
+#endif
+
/* Debug */
#ifdef CONFIG_ARCH_STACKDUMP