summaryrefslogtreecommitdiff
path: root/nuttx/arch/pjrc-8051/include/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/pjrc-8051/include/arch.h')
-rw-r--r--nuttx/arch/pjrc-8051/include/arch.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/nuttx/arch/pjrc-8051/include/arch.h b/nuttx/arch/pjrc-8051/include/arch.h
index f7d2b956c..1ca504fb8 100644
--- a/nuttx/arch/pjrc-8051/include/arch.h
+++ b/nuttx/arch/pjrc-8051/include/arch.h
@@ -1,7 +1,7 @@
-/************************************************************
+/************************************************************************
* arch.h
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,7 +31,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through nuttx/arch.h
@@ -40,25 +40,27 @@
#ifndef __ARCH_ARCH_H
#define __ARCH_ARCH_H
-/************************************************************
+/************************************************************************
* Included Files
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+#include <stdint.h>
+
+/************************************************************************
* Definitions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Public Types
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Public Variables
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Public Function Prototypes
- ************************************************************/
+ ************************************************************************/
#ifdef __cplusplus
#define EXTERN extern "C"
@@ -72,7 +74,7 @@ extern "C" {
* code to dump the stack pointer at critical locations.
*/
-EXTERN void up_showsp(ubyte ch) __naked;
+EXTERN void up_showsp(uint8_t ch) __naked;
#undef EXTERN
#ifdef __cplusplus