Ignore:
Timestamp:
Oct 20, 2009, 5:52:20 PM (10 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
5eccbac
Parents:
ec625ec
Message:

2009-10-20 Till Straumann <strauman@…>

  • shared/startup/pgtbl_setup.c: Fixed compiler warnings (added prototypes to function declarations etc.)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/startup/pgtbl_setup.c

    rec625ec r27e966f  
    6565
    6666Triv121PgTbl
    67 BSP_pgtbl_setup(unsigned long) __attribute__ (( weak, alias("__BSP_default_pgtbl_setup") ));
     67BSP_pgtbl_setup(unsigned int *) __attribute__ (( weak, alias("__BSP_default_pgtbl_setup") ));
     68
     69/* get those from the linker script.
     70 * NOTE THAT THE CORRECTNESS OF THE LINKER SCRIPT IS CRUCIAL
     71 */
     72extern unsigned long __DATA_START__[], _etext[];
    6873
    6974Triv121PgTbl
     
    8994   */
    9095  if ( (pt = triv121PgTblInit(*pmemsize - (1<<ldPtSize), ldPtSize)) ) {
    91         /* get those from the linker script.
    92          * NOTE THAT THE CORRECTNESS OF THE LINKER SCRIPT IS CRUCIAL
    93          */
    94         extern unsigned long __DATA_START__[], _etext[];
    95 
    9696        /* map text and RO data read-only */
    9797        tmp = triv121PgTblMap(
Note: See TracChangeset for help on using the changeset viewer.