projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d9baf2
)
Fixes for GCC 3.5.
author
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 18 Jul 2004 21:49:51 +0000
(21:49 +0000)
committer
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 18 Jul 2004 21:49:51 +0000
(21:49 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@50
38d2e660
-2303-0410-9eaa-
f027e97ec537
cpu.h
patch
|
blob
|
history
diff --git
a/cpu.h
b/cpu.h
index 6403d53fe7113b9e44a0c476809e268b32f62dac..335876130765ffd001011786086c1da0aef8101b 100755
(executable)
--- a/
cpu.h
+++ b/
cpu.h
@@
-15,6
+15,9
@@
/*
* $Log$
+ * Revision 1.3 2004/07/18 21:49:51 bernie
+ * Fixes for GCC 3.5.
+ *
* Revision 1.2 2004/06/03 11:27:09 bernie
* Add dual-license information.
*
@@
-94,9
+97,9
@@
#elif defined (__AVR__)
- #define NOP asm volatile ("nop")
- #define DISABLE_INTS
cli(
)
- #define ENABLE_INTS
sei(
)
+ #define NOP asm volatile ("nop"
::
)
+ #define DISABLE_INTS
asm volatile ("cli" ::
)
+ #define ENABLE_INTS
asm volatile ("sei" ::
)
#define SCHEDULER_IDLE /* nothing */
#define DISABLE_IRQSAVE(x) \