Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5954241 in mainline


Ignore:
Timestamp:
2010-06-16T19:43:55Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
d0c82c5
Parents:
d46f5cc
Message:

fix exception handler prototypes

Location:
kernel/arch/ppc32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/interrupt.h

    rd46f5cc r5954241  
    4848extern void start_decrementer(void);
    4949extern void interrupt_init(void);
    50 extern void extint_handler(int, istate_t *);
     50extern void extint_handler(unsigned int, istate_t *);
    5151
    5252#endif
  • kernel/arch/ppc32/include/mm/tlb.h

    rd46f5cc r5954241  
    7676
    7777extern void pht_init(void);
    78 extern void pht_refill(int, istate_t *);
     78extern void pht_refill(unsigned int, istate_t *);
    7979
    80 extern bool pht_refill_real(int, istate_t *)
     80extern bool pht_refill_real(unsigned int, istate_t *)
    8181    __attribute__ ((section("K_UNMAPPED_TEXT_START")));
    82 extern void tlb_refill_real(int, uint32_t, ptehi_t, ptelo_t, istate_t *)
    83     __attribute__ ((section("K_UNMAPPED_TEXT_START")));
     82extern void tlb_refill_real(unsigned int, uint32_t, ptehi_t, ptelo_t,
     83    istate_t *) __attribute__ ((section("K_UNMAPPED_TEXT_START")));
    8484
    8585#endif
  • kernel/arch/ppc32/src/interrupt.c

    rd46f5cc r5954241  
    5555 *
    5656 */
    57 static void exception_external(int n, istate_t *istate)
     57static void exception_external(unsigned int n, istate_t *istate)
    5858{
    5959        uint8_t inum;
     
    9292}
    9393
    94 static void exception_decrementer(int n, istate_t *istate)
     94static void exception_decrementer(unsigned int n, istate_t *istate)
    9595{
    9696        start_decrementer();
  • kernel/arch/ppc32/src/mm/tlb.c

    rd46f5cc r5954241  
    209209 *
    210210 */
    211 void pht_refill(int n, istate_t *istate)
     211void pht_refill(unsigned int n, istate_t *istate)
    212212{
    213213        as_t *as = (AS == NULL) ? AS_KERNEL : AS;
     
    260260 *
    261261 */
    262 bool pht_refill_real(int n, istate_t *istate)
     262bool pht_refill_real(unsigned int n, istate_t *istate)
    263263{
    264264        uintptr_t badvaddr;
     
    366366 *
    367367 */
    368 void tlb_refill_real(int n, uint32_t tlbmiss, ptehi_t ptehi, ptelo_t ptelo, istate_t *istate)
     368void tlb_refill_real(unsigned int n, uint32_t tlbmiss, ptehi_t ptehi,
     369    ptelo_t ptelo, istate_t *istate)
    369370{
    370371        uint32_t badvaddr = tlbmiss & 0xfffffffc;
Note: See TracChangeset for help on using the changeset viewer.