Changeset da3b8d3 in rtems


Ignore:
Timestamp:
Mar 5, 2004, 6:09:14 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d52342e
Parents:
d2ae273
Message:

2004-03-05 Joel Sherrill <joel@…>

  • bootloader/pci.c: Remove warnings by adding include <string.h>.
  • irq/irq.c: Clean up includes to remove warnings.
  • pci/pci.c, pci/pci.h, startup/bspstart.c: Better use of const on struct _int_map.
Location:
c/src/lib/libbsp/powerpc/shared
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/ChangeLog

    rd2ae273 rda3b8d3  
     12004-03-05      Joel Sherrill <joel@OARcorp.com>
     2
     3        * bootloader/pci.c: Remove warnings by adding include <string.h>.
     4        * irq/irq.c: Clean up includes to remove warnings.
     5        * pci/pci.c, pci/pci.h, startup/bspstart.c: Better use of const
     6        on struct _int_map.
     7
    182004-03-03      Joel Sherrill <joel@OARcorp.com>
    29
  • c/src/lib/libbsp/powerpc/shared/bootloader/pci.c

    rd2ae273 rda3b8d3  
    2626#include <bsp/consoleIo.h>
    2727
     28#include <string.h>
    2829
    2930
  • c/src/lib/libbsp/powerpc/shared/irq/irq.c

    rd2ae273 rda3b8d3  
    1111 *  $Id$
    1212 */
     13
     14#include <stdlib.h>
    1315 
    14 #include <rtems/system.h>
    1516#include <bsp.h>
    1617#include <bsp/irq.h>
    1718#include <bsp/VME.h>
    1819#include <bsp/openpic.h>
    19 #include <rtems/score/thread.h>
    20 #include <rtems/score/apiext.h>
     20#include <rtems/score/apiext.h>  /* for post ISR signal processing */
    2121#include <libcpu/raw_exception.h>
    2222#include <libcpu/io.h>
  • c/src/lib/libbsp/powerpc/shared/pci/pci.c

    rd2ae273 rda3b8d3  
    237237** the names defined in the routing record.
    238238*/
    239 static int test_intname( struct _int_map *row, int pbus, int pslot, int int_pin, int int_name )
     239static int test_intname(
     240  const struct _int_map *row, int pbus, int pslot, int int_pin, int int_name )
    240241{
    241242   int j,k;
     
    334335
    335336
    336 void FixupPCI( struct _int_map *bspmap, int (*swizzler)(int,int) )
     337void FixupPCI( const struct _int_map *bspmap, int (*swizzler)(int,int) )
    337338{
    338339   unsigned char        cvalue;
  • c/src/lib/libbsp/powerpc/shared/pci/pci.h

    rd2ae273 rda3b8d3  
    11651165};
    11661166
    1167 void FixupPCI( struct _int_map *, int (*swizzler)(int,int) );
     1167void FixupPCI( const struct _int_map *, int (*swizzler)(int,int) );
    11681168
    11691169
  • c/src/lib/libbsp/powerpc/shared/startup/bspstart.c

    rd2ae273 rda3b8d3  
    310310
    311311 {
    312     struct _int_map     *bspmap   = motorolaIntMap(currentBoard);
     312    const struct _int_map     *bspmap   = motorolaIntMap(currentBoard);
    313313    if( bspmap )
    314314    {
Note: See TracChangeset for help on using the changeset viewer.