diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-21 21:55:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-21 21:55:16 +0000 |
commit | efc2cf23a849f7be1d65c4cdd7767f88917c46a7 (patch) | |
tree | fbe3518a364d6b9d811e00f7201e082d50ead7e3 /nuttx/arch/README.txt | |
parent | 94e5b72f50f3096b83fe50c7b57324a08e318f29 (diff) | |
download | nuttx-efc2cf23a849f7be1d65c4cdd7767f88917c46a7.tar.gz nuttx-efc2cf23a849f7be1d65c4cdd7767f88917c46a7.tar.bz2 nuttx-efc2cf23a849f7be1d65c4cdd7767f88917c46a7.zip |
Progress toward clean SDCC compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@18 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/README.txt')
-rw-r--r-- | nuttx/arch/README.txt | 17 |
1 files changed, 14 insertions, 3 deletions
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 |