Changeset bcd5368 in rtems


Ignore:
Timestamp:
Sep 5, 2008, 12:41:40 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
5c6d518
Parents:
4fa2a986
Message:

Convert to "bool".

Location:
c/src/lib/libcpu/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c

    r4fa2a986 rbcd5368  
    594594  PQBufferDescriptor_t *BD_ptr;
    595595  struct mbuf *m,*n;
    596   boolean finished = FALSE;
     596  bool finished = false;
    597597  uint16_t status;
    598598  struct ether_header *eh;
     
    672672  PQBufferDescriptor_t *BD_ptr;
    673673  struct mbuf *m,*n;
    674   boolean finished = FALSE;
     674  bool finished = false;
    675675  int bd_idx;
    676676
     
    690690    }
    691691    if (m == NULL) {
    692       finished = TRUE;
     692      finished = true;
    693693    }
    694694    else {
     
    736736  struct mpc83xx_tsec_struct *sc =
    737737    (struct mpc83xx_tsec_struct *)arg;
    738   int finished = FALSE;
     738  bool finished = false;
    739739  rtems_event_set events;
    740740#if !defined(CLREVENT_IN_IRQ)
     
    10711071  struct ifnet *ifp = &sc->arpcom.ac_if;
    10721072  struct mbuf *m;
    1073   int finished = FALSE;
     1073  bool finished = false;
    10741074  rtems_event_set events;
    10751075#if !defined(CLREVENT_IN_IRQ)
     
    13771377\*-------------------------------------------------------------------------*/
    13781378 struct mpc83xx_tsec_struct *sc,        /* ptr to control structure        */
    1379  int install                            /* TRUE: install, FALSE: remove    */
     1379 bool   install                         /* true: install, false: remove    */
    13801380)
    13811381/*-------------------------------------------------------------------------*\
     
    13841384\*=========================================================================*/
    13851385{
    1386   int i;
     1386  size_t i;
    13871387
    13881388  rtems_irq_connect_data irq_conn_data[3] = {
     
    14971497     * install interrupt handlers
    14981498     */
    1499     mpc83xx_tsec_install_irq_handlers(sc,1);
     1499    mpc83xx_tsec_install_irq_handlers(sc,true);
    15001500  }
    15011501  /*
  • c/src/lib/libcpu/powerpc/new-exceptions/raw_exception.c

    r4fa2a986 rbcd5368  
    4949void * codemove(void *, const void *, unsigned int, unsigned long);
    5050
    51 boolean bsp_exceptions_in_RAM = TRUE;
     51bool bsp_exceptions_in_RAM = true;
    5252
    5353/* DEPRECATED VARIABLE; we need this to support
Note: See TracChangeset for help on using the changeset viewer.