Changeset 5fe13356 in rtems


Ignore:
Timestamp:
Dec 3, 2008, 4:38:00 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
dcbc0a89
Parents:
15d26f9
Message:

2008-12-03 Joel Sherrill <joel.sherrill@…>

PR 1345/Ada

  • rtems.ads: RTEMS boolean type is now C99 bool which is not an unsigned32.
Location:
c/src/ada
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ada/ChangeLog

    r15d26f9 r5fe13356  
     12008-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1345/Ada
     4        * rtems.ads: RTEMS boolean type is now C99 bool which is not an
     5        unsigned32.
     6
    172008-11-20      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/ada/rtems.ads

    r15d26f9 r5fe13356  
    4646   type Signed32_Pointer       is access all RTEMS.Signed32;
    4747
    48    subtype Boolean             is RTEMS.Unsigned32;
     48   subtype Boolean             is RTEMS.Unsigned8;
    4949   subtype Address             is System.Address;
    5050   subtype Single              is Interfaces.C.C_float;
     
    5959   Unsigned16_Bits  : constant := 15;
    6060   Unsigned32_Bits  : constant := 31;
    61    Boolean_Bits     : constant := 31;
     61   Boolean_Bits     : constant := 7;
    6262   Address_Bits     : constant := 31;
    6363   Single_Bits      : constant := 31;
     
    6767   Unsigned16_Units : constant := 2;
    6868   Unsigned32_Units : constant := 4;
    69    Boolean_Units    : constant := 4;
     69   Boolean_Units    : constant := 1;
    7070   Address_Units    : constant := 4;
    7171   Single_Units     : constant := 4;
Note: See TracChangeset for help on using the changeset viewer.