Add CPU fallback for OS_ID.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 27 Nov 2005 23:32:42 +0000 (23:32 +0000)
committerbernie <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

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.
  *#*
        #define OS_QT 0
 #endif
 
-
-
 /*
  * Summarize hosted environments as OS_HOSTED and embedded
  * environment with OS_EMBEDDED.
 #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 */