Ignore:
Timestamp:
Dec 2, 2002, 7:16:37 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2e332a9
Parents:
bbad6f0
Message:

2002-12-02 Joel Sherrill <joel@…>

  • include/rtems/score/object.h, include/rtems/score/tod.h: Added casts to eliminate warnings on 16 bit targets like the h8300.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/object.h

    rbbad6f0 r2728d9cf  
    7575#define OBJECTS_CLASS_START_BIT 27
    7676
    77 #define OBJECTS_INDEX_MASK      0x0000ffff
    78 #define OBJECTS_NODE_MASK       0x00ff0000
    79 #define OBJECTS_API_MASK        0x07000000
    80 #define OBJECTS_CLASS_MASK      0xf8000000
    81 
    82 #define OBJECTS_INDEX_VALID_BITS  0x0000ffff
    83 #define OBJECTS_NODE_VALID_BITS   0x000000ff
    84 #define OBJECTS_API_VALID_BITS    0x00000007
    85 #define OBJECTS_CLASS_VALID_BITS  0x0000001f
     77#define OBJECTS_INDEX_MASK      (Objects_Id)0x0000ffff
     78#define OBJECTS_NODE_MASK       (Objects_Id)0x00ff0000
     79#define OBJECTS_API_MASK        (Objects_Id)0x07000000
     80#define OBJECTS_CLASS_MASK      (Objects_Id)0xf8000000
     81
     82#define OBJECTS_INDEX_VALID_BITS  (Objects_Id)0x0000ffff
     83#define OBJECTS_NODE_VALID_BITS   (Objects_Id)0x000000ff
     84#define OBJECTS_API_VALID_BITS    (Objects_Id)0x00000007
     85#define OBJECTS_CLASS_VALID_BITS  (Objects_Id)0x0000001f
    8686
    8787/*
Note: See TracChangeset for help on using the changeset viewer.