From 16aaf600a7002741fe9f93b0aac0d0a08f7cf325 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 27 Nov 2005 23:32:42 +0000 Subject: [PATCH] Add CPU fallback for OS_ID. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@458 38d2e660-2303-0410-9eaa-f027e97ec537 --- cfg/os.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cfg/os.h b/cfg/os.h index 636a3fa8..320afdd5 100755 --- 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 */ -- 2.25.1