summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/arm/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-04 22:25:03 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-04 22:25:03 +0000
commitbf3464e721711d8ec87807d89b77da8a1415ec50 (patch)
tree6c93fd2fd198db318cd4a014622e1273b1ede69d /nuttx/arch/arm/include
parent77e5c4d5dede06b5a72a4fdea6e580224bd58d56 (diff)
First cut at x86 build environment
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3336 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/include')
-rw-r--r--nuttx/arch/arm/include/irq.h4
-rw-r--r--nuttx/arch/arm/include/serial.h9
-rw-r--r--nuttx/arch/arm/include/watchdog.h8
3 files changed, 7 insertions, 14 deletions
diff --git a/nuttx/arch/arm/include/irq.h b/nuttx/arch/arm/include/irq.h
index 2ee4123349..da8c09d364 100644
--- a/nuttx/arch/arm/include/irq.h
+++ b/nuttx/arch/arm/include/irq.h
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/arm/include/irq.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -52,7 +52,7 @@
#include <arch/chip/irq.h>
-/* Include ARM architectgure-specific IRQ definitions (including register
+/* Include ARM architecture-specific IRQ definitions (including register
* save structure and irqsave()/irqrestore() macros
*/
diff --git a/nuttx/arch/arm/include/serial.h b/nuttx/arch/arm/include/serial.h
index 636e90947e..d539d27339 100644
--- a/nuttx/arch/arm/include/serial.h
+++ b/nuttx/arch/arm/include/serial.h
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/arm/include/serial.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -41,17 +41,12 @@
****************************************************************************/
#include <sys/types.h>
+#include <nuttx/ioctl.h>
/****************************************************************************
* Definitions
****************************************************************************/
-/* IOCTL commands supported by the ARM serial driver */
-
-#define TIOCSBRK 0x5401 /* BSD compatibility */
-#define TIOCCBRK 0x5402 /* " " " " */
-#define TIOCSERGSTRUCT 0x5403 /* Get up_dev_t for port */
-
/****************************************************************************
* Public Data
****************************************************************************/
diff --git a/nuttx/arch/arm/include/watchdog.h b/nuttx/arch/arm/include/watchdog.h
index 6752ea62bc..263795eb3c 100644
--- a/nuttx/arch/arm/include/watchdog.h
+++ b/nuttx/arch/arm/include/watchdog.h
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/arm/include/watchdog.h
*
- * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -40,14 +40,12 @@
* Included Files
****************************************************************************/
+#include <nuttx/ioctl.h>
+
/****************************************************************************
* Definitions
****************************************************************************/
-/* IOCTL commands supported by the C5471 watchdog driver */
-
-#define WDIOC_KEEPALIVE 0x5701 /* Restart the watchdog timer */
-
/****************************************************************************
* Private Data
****************************************************************************/