From efc2cf23a849f7be1d65c4cdd7767f88917c46a7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 21 Feb 2007 21:55:16 +0000 Subject: Progress toward clean SDCC compilation git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@18 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/README.txt | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'nuttx/arch/README.txt') diff --git a/nuttx/arch/README.txt b/nuttx/arch/README.txt index ff0fd4f00..0c7e19536 100644 --- a/nuttx/arch/README.txt +++ b/nuttx/arch/README.txt @@ -142,7 +142,18 @@ include/types.h This provides architecture/toolchain-specific definitions for standard types. This file should typedef: - sbyte, ubyte, uint8, boolean, sint16, uint16, sint32, uint32, sint64, uint64 + sbyte, ubyte, uint8, boolean, sint16, uint16, sint32, uint32 + + and + + sint64, uint64 + + if the architecture supports 64-bit integers. + + irqstate_t + + Must be defined to the be the size required to hold the interrupt + enable/disable state. This file will be included by include/sys/types.h and be made available to all files. @@ -154,9 +165,9 @@ include/irq.h - struct xcptcontext. This structures represents the saved context of a thread. - - uint32 irqsave(void) -- Used to disable all interrupts. + - irqstate_t irqsave(void) -- Used to disable all interrupts. - - void irqrestore(uint32 flags) -- Used to restore interrupt + - void irqrestore(irqstate_t flags) -- Used to restore interrupt enables to the same state as before irqsave was called. This file must also define NR_IRQS, the total number of IRQs supported -- cgit v1.2.3