Changeset 650a6e7f in rtems


Ignore:
Timestamp:
Mar 14, 2005, 11:41:57 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
beef85e0
Parents:
4b9d865a
Message:

2005-03-14 Joel Sherrill <joel@…>

  • include/.cvsignore: Fixed typo.
  • network/network.c: Now compiles with GCC 4.0.
Location:
c/src/lib/libbsp/mips/csb350
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/csb350/ChangeLog

    r4b9d865a r650a6e7f  
     12005-03-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        * include/.cvsignore: Fixed typo.
     4        * network/network.c: Now compiles with GCC 4.0.
     5
    162005-03-04      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/mips/csb350/include/.cvsignore

    r4b9d865a r650a6e7f  
    1 include/bspopts.h.in
     1bspopts.h.in
  • c/src/lib/libbsp/mips/csb350/network/network.c

    r4b9d865a r650a6e7f  
    459459         */
    460460        if (mtod(m, unsigned32) & 0x1f) {
    461             mtod(m, unsigned32) = (mtod(m, unsigned32) + 0x1f) & 0x1f;
     461          unsigned32 *p = &mtod(m, unsigned32);
     462          *p = (mtod(m, unsigned32) + 0x1f) & 0x1f;
    462463        }
    463464        sc->rx_dma[i].addr = (mtod(m, unsigned32) & ~0xe0000000);
     
    653654                 * boundary.
    654655                 */
    655                 mtod(m, unsigned32) = (mtod(m, unsigned32) + 0x1f) & ~0x1f;
     656                { unsigned32 *p = &mtod(m, unsigned32);
     657                  *p = (mtod(m, unsigned32) + 0x1f) & ~0x1f;
     658                }
    656659           
    657660            } else {
     
    825828rtems_isr au1x00_emac_isr (rtems_vector_number v)
    826829{
    827     au1x00_emac_softc_t *sc;
     830    volatile au1x00_emac_softc_t *sc;
    828831    int index;
    829832    int tx_flag = 0;
Note: See TracChangeset for help on using the changeset viewer.