Changeset b679966d in rtems


Ignore:
Timestamp:
Aug 18, 2008, 9:17:06 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
4243433
Parents:
1487880d
Message:

2008-08-18 Joel Sherrill <joel.sherrill@…>

  • mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h, mpc6xx/timer/timer.c, new-exceptions/e500_raw_exc_init.c, new-exceptions/bspsupport/ppc_exc_bspsupp.h, new-exceptions/bspsupport/vectors_init.c: Fix warnings.
Location:
c/src/lib/libcpu/powerpc
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    r1487880d rb679966d  
     12008-08-18      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h, mpc6xx/timer/timer.c,
     4        new-exceptions/e500_raw_exc_init.c,
     5        new-exceptions/bspsupport/ppc_exc_bspsupp.h,
     6        new-exceptions/bspsupport/vectors_init.c: Fix warnings.
     7
    182008-07-27      Ralf Corsépius <ralf.corsepius@rtems.org>
    29
  • c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c

    r1487880d rb679966d  
    232232triv121IsRangeMapped (long vsid, unsigned long start, unsigned long end);
    233233
    234 static void do_dssall ();
     234static void do_dssall (void);
    235235
    236236/**************************** STATIC VARIABLES ****************************/
     
    900900 */
    901901static void
    902 do_dssall ()
     902do_dssall (void)
    903903{
    904904  /* Before changing BATs, 'dssall' must be issued.
  • c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h

    r1487880d rb679966d  
    220220 *       for the page table mappings to take effect.
    221221 */
    222 void
    223 triv121PgTblActivate(Triv121PgTbl pgTbl);
     222void triv121PgTblActivate(Triv121PgTbl pgTbl);
    224223
    225224/* Find the PTE for a EA and print its contents to stdout
    226225 * RETURNS: pte for EA or NULL if no entry was found.
    227226 */
    228 APte
    229 triv121DumpEa(unsigned long ea);
     227APte triv121DumpEa(unsigned long ea);
    230228
    231229/* Find and return a PTE for a vsid/pi combination
    232230 * RETURNS: pte or NULL if no entry was found
    233231 */
    234 APte
    235 triv121FindPte(unsigned long vsid, unsigned long pi);
     232APte triv121FindPte(unsigned long vsid, unsigned long pi);
    236233
    237234/*
     
    241238 *          mapping existed.
    242239 */
    243 APte
    244 triv121UnmapEa(unsigned long ea);
     240APte triv121UnmapEa(unsigned long ea);
    245241
    246242/*
     
    252248 * RETURNS: Pointer to modified PTE or NULL if 'ea' is not mapped.
    253249 */
    254 APte
    255 triv121ChangeEaAttributes(unsigned long ea, int wimg, int pp);
     250APte triv121ChangeEaAttributes(unsigned long ea, int wimg, int pp);
    256251
    257252/* Make the whole page table writable
     
    260255 *          initialization the page table will still be read-only).
    261256 */
    262 void
    263 triv121MakePgTblRW();
     257void triv121MakePgTblRW(void);
    264258
    265259/* Make the whole page table read-only
    266260 */
    267 void
    268 triv121MakePgTblRO();
     261void triv121MakePgTblRO(void);
    269262
    270263/* Dump a pte to stdout */
    271 long
    272 triv121DumpPte(APte pte);
     264long triv121DumpPte(APte pte);
    273265
    274266#endif
  • c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c

    r1487880d rb679966d  
    2929 */
    3030
    31 int Timer_get_clicks_overhead()
     31int Timer_get_clicks_overhead(void)
    3232{
    3333  uint64_t    clicks;
     
    4343 * Timer_initialize
    4444 */
    45 void Timer_initialize()
     45void Timer_initialize(void)
    4646{
    4747
     
    5959 */
    6060
    61 int Read_timer()
     61int Read_timer(void)
    6262{
    6363  uint64_t    total64;
     
    7878}
    7979
    80 unsigned long long Read_long_timer()
     80unsigned long long Read_long_timer(void)
    8181{
    8282  uint64_t    total64;
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_bspsupp.h

    r1487880d rb679966d  
    110110
    111111/* Templates for ppc_exc_min_prolog_expand() which fills-in the vector information */
    112 extern void ppc_exc_min_prolog_async_tmpl_std();
    113 extern void ppc_exc_min_prolog_sync_tmpl_std();
    114 extern void ppc_exc_min_prolog_async_tmpl_p405_crit();
    115 extern void ppc_exc_min_prolog_sync_tmpl_p405_crit();
    116 extern void ppc_exc_min_prolog_async_tmpl_bookE_crit();
    117 extern void ppc_exc_min_prolog_sync_tmpl_bookE_crit();
    118 extern void ppc_exc_min_prolog_sync_tmpl_e500_mchk();
    119 extern void ppc_exc_min_prolog_async_tmpl_e500_mchk();
     112extern void ppc_exc_min_prolog_async_tmpl_std(void);
     113extern void ppc_exc_min_prolog_sync_tmpl_std(void);
     114extern void ppc_exc_min_prolog_async_tmpl_p405_crit(void);
     115extern void ppc_exc_min_prolog_sync_tmpl_p405_crit(void);
     116extern void ppc_exc_min_prolog_async_tmpl_bookE_crit(void);
     117extern void ppc_exc_min_prolog_sync_tmpl_bookE_crit(void);
     118extern void ppc_exc_min_prolog_sync_tmpl_e500_mchk(void);
     119extern void ppc_exc_min_prolog_async_tmpl_e500_mchk(void);
    120120
    121121/* Special prologue for handling register shadowing on 603-style CPUs */
    122 extern void ppc_exc_tgpr_clr_prolog();
     122extern void ppc_exc_tgpr_clr_prolog(void);
    123123/* Classic prologue which determines the vector dynamically from
    124124 * the offset address. This must only be used for classic, synchronous
    125125 * exceptions with a vector offset aligned on a 256-byte boundary.
    126126 */
    127 extern void ppc_exc_min_prolog_auto();
     127extern void ppc_exc_min_prolog_auto(void);
    128128
    129 extern void ppc_exc_min_prolog_auto_packed();
     129extern void ppc_exc_min_prolog_auto_packed(void);
    130130
    131131
     
    137137 * CPU support
    138138 */
    139 extern uint32_t (*ppc_exc_get_DAR)();
     139extern uint32_t (*ppc_exc_get_DAR)(void);
    140140
    141141#ifdef __cplusplus
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors_init.c

    r1487880d rb679966d  
    55 *  by rtems to handle exceptions.
    66 *
    7  *  CopyRight (C) 1999 valette@crf.canon.fr
     7 *  Copyright (C) 1999 valette@crf.canon.fr
    88 *
    99 *  The license and distribution terms for this file may be
     
    5757SPR_RO(DEAR_405)
    5858
    59 uint32_t ppc_exc_get_DAR_dflt()
     59uint32_t ppc_exc_get_DAR_dflt(void)
    6060{
    6161        if ( ppc_cpu_is_60x() )
     
    7272}
    7373
    74 uint32_t (*ppc_exc_get_DAR)() = ppc_exc_get_DAR_dflt;
     74uint32_t (*ppc_exc_get_DAR)(void) = ppc_exc_get_DAR_dflt;
    7575
    7676void
  • c/src/lib/libcpu/powerpc/new-exceptions/e500_raw_exc_init.c

    r1487880d rb679966d  
    77/* Use during early init for initializing the e500 IVOR/IVPR registers */
    88void
    9 e500_setup_raw_exceptions()
     9e500_setup_raw_exceptions(void)
    1010{
    1111        unsigned c;
Note: See TracChangeset for help on using the changeset viewer.