projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a6659
)
Add CPU fallback for OS_ID.
author
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 27 Nov 2005 23:32:42 +0000
(23:32 +0000)
committer
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 27 Nov 2005 23:32:42 +0000
(23:32 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@458
38d2e660
-2303-0410-9eaa-
f027e97ec537
cfg/os.h
patch
|
blob
|
history
diff --git
a/cfg/os.h
b/cfg/os.h
index 636a3fa8b37ea94f7a679d8f717f964bdb8ef358..320afdd5f518d3f4973ed7c032a22c649471ce99 100755
(executable)
--- a/
cfg/os.h
+++ b/
cfg/os.h
@@
-14,6
+14,9
@@
/*#*
*#* $Log$
+ *#* Revision 1.5 2005/11/27 23:32:42 bernie
+ *#* Add CPU fallback for OS_ID.
+ *#*
*#* Revision 1.4 2005/11/27 03:07:13 bernie
*#* IRQ_SAVE_DISABLE(): Really block signals.
*#*
@@
-113,8
+116,6
@@
#define OS_QT 0
#endif
-
-
/*
* Summarize hosted environments as OS_HOSTED and embedded
* environment with OS_EMBEDDED.
@@
-125,6
+126,9
@@
#else
#define OS_HOSTED 0
#define OS_EMBEDDED 1
+
+ /* Embedded environments fall back to CPU-specific code. */
+ #define OS_ID CPU_ID
#endif
/* Self-check for the detection */