Changeset fb252a68 in rtems


Ignore:
Timestamp:
Oct 13, 2014, 3:29:44 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
d7760ac
Parents:
7a4c4f4
Message:

libbsp/powerpc/shared: Fix warnings

Location:
c/src/lib/libbsp/powerpc/shared
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/pci/pci.h

    r7a4c4f4 rfb252a68  
    11/*
     2 *  PCI defines and function prototypes
    23 *
    3  *      PCI defines and function prototypes
    4  *      Copyright 1994, Drew Eckhardt
    5  *      Copyright 1997, 1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
     4 *  For more information, please consult the following manuals (look at
     5 *  http://www.pcisig.com/ for how to get them):
    66 *
    7  *      For more information, please consult the following manuals (look at
    8  *      http://www.pcisig.com/ for how to get them):
    9  *
    10  *      PCI BIOS Specification
    11  *      PCI Local Bus Specification
    12  *      PCI to PCI Bridge Specification
    13  *      PCI System Design Guide
     7 *    PCI BIOS Specification
     8 *    PCI Local Bus Specification
     9 *    PCI to PCI Bridge Specification
     10 *    PCI System Design Guide
     11 */
     12
     13/*
     14 *  Copyright 1994, Drew Eckhardt
     15 *  Copyright 1997, 1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
    1416 */
    1517
     
    2224struct _pin_routes
    2325{
    24       int pin, int_name[4];
     26  int pin;
     27  int int_name[4];
    2528};
    2629struct _int_map
    2730{
    28       int bus, slot, opts;
    29       struct _pin_routes pin_route[5];
     31  int bus;
     32  int slot;
     33  int opts;
     34  struct _pin_routes pin_route[5];
    3035};
    3136
     
    3439 * to reflect int_name[0] for the routing table entry
    3540 */
    36 #define PCI_FIXUP_OPT_OVERRIDE_NAME     (1<<0)
     41#define PCI_FIXUP_OPT_OVERRIDE_NAME  (1<<0)
     42
     43/*
     44 * This is assumed to be provided by the BSP.
     45 */
     46void detect_host_bridge(void);
    3747
    3848void FixupPCI( const struct _int_map *, int (*swizzler)(int,int) );
  • c/src/lib/libbsp/powerpc/shared/startup/pgtbl_activate.c

    r7a4c4f4 rfb252a68  
    5353 */
    5454
     55void __BSP_default_pgtbl_activate(Triv121PgTbl pt);
    5556void
    56 BSP_pgtbl_activate(Triv121PgTbl) __attribute__ (( weak, alias("__BSP_default_pgtbl_activate") ));
     57BSP_pgtbl_activate(Triv121PgTbl)
     58  __attribute__ (( weak, alias("__BSP_default_pgtbl_activate") ));
    5759
    5860void
  • c/src/lib/libbsp/powerpc/shared/startup/pgtbl_setup.c

    r7a4c4f4 rfb252a68  
    6262 */
    6363
    64 Triv121PgTbl
    65 BSP_pgtbl_setup(unsigned int *) __attribute__ (( weak, alias("__BSP_default_pgtbl_setup") ));
     64Triv121PgTbl __BSP_default_pgtbl_setup(unsigned int *pmemsize);
     65Triv121PgTbl BSP_pgtbl_setup(unsigned int *)
     66  __attribute__ (( weak, alias("__BSP_default_pgtbl_setup") ));
    6667
    6768/* get those from the linker script.
  • c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c

    r7a4c4f4 rfb252a68  
    7070 */
    7171
    72 void BSP_vme_config(void) __attribute__ (( weak, alias("__BSP_default_vme_config") ));
     72void __BSP_default_vme_config(void);
     73void BSP_vme_config(void)
     74  __attribute__ (( weak, alias("__BSP_default_vme_config") ));
    7375
    7476void
Note: See TracChangeset for help on using the changeset viewer.