diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-20 23:16:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-20 23:16:24 +0000 |
commit | 5e160e6e0cdfae48ea120909e7febc62b6b56eb2 (patch) | |
tree | a8ac308120edfb2eacd53d89b343c878f9dc1a3d /nuttx/arch/README.txt | |
parent | 630b4bdd3d2ca967f0e1d4f438f7f1761461dd31 (diff) | |
download | nuttx-5e160e6e0cdfae48ea120909e7febc62b6b56eb2.tar.gz nuttx-5e160e6e0cdfae48ea120909e7febc62b6b56eb2.tar.bz2 nuttx-5e160e6e0cdfae48ea120909e7febc62b6b56eb2.zip |
Working toward compiler independence: Removed inline funcs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@15 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/README.txt')
-rw-r--r-- | nuttx/arch/README.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/nuttx/arch/README.txt b/nuttx/arch/README.txt index 85175c6a0..ff0fd4f00 100644 --- a/nuttx/arch/README.txt +++ b/nuttx/arch/README.txt @@ -149,17 +149,15 @@ include/types.h include/irq.h This file needs to define some architecture specific functions (usually - inline) and structure. These include: + inline if the compiler supports inlining) and structure. These include: - struct xcptcontext. This structures represents the saved context of a thread. - - static inline uint32 irqsave(void) -- Used to disable - all interrupts. + - uint32 irqsave(void) -- Used to disable all interrupts. - - static inline void irqrestore(uint32 flags) -- Used to - restore interrupts enables to the same state as before irqsave - was called. + - void irqrestore(uint32 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 by the board. |