[PATCH 1/4] rtems/score/object.h: Include <rtems/score/cpu.h> to honor 16-bit Ids

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 14:34:49 UTC 2014


Selection of 16-bit object Ids is a port specific decision. Somewhere
along the way, the file providing this information was dropped from
the include file set. This resulted in the code being compiled with
a mix of 16 and 32 bit ID assumptions for those targets with 16-bit Ids.
---
 cpukit/score/include/rtems/score/object.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 4eb66ad..03afc9b 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -21,6 +21,7 @@
 #define _RTEMS_SCORE_OBJECT_H
 
 #include <rtems/score/basedefs.h>
+#include <rtems/score/cpu.h>
 #include <rtems/score/chain.h>
 
 #ifdef __cplusplus
-- 
1.9.3



More information about the devel mailing list