Ignore:
Timestamp:
2010-06-11T16:07:21Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b584cd4
Parents:
b3b7e14a
Message:

use unsigned integers for exception and interrupt numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mm/page_fault.c

    rb3b7e14a r214ec25c  
    167167/** Handles "data abort" exception (load or store at invalid address).
    168168 *
    169  * @param exc_no        Exception number.
    170  * @param istate        CPU state when exception occured.
    171  */
    172 void data_abort(int exc_no, istate_t *istate)
     169 * @param exc_no Exception number.
     170 * @param istate CPU state when exception occured.
     171 *
     172 */
     173void data_abort(unsigned int exc_no, istate_t *istate)
    173174{
    174175        fault_status_t fsr __attribute__ ((unused)) =
     
    193194/** Handles "prefetch abort" exception (instruction couldn't be executed).
    194195 *
    195  * @param exc_no        Exception number.
    196  * @param istate        CPU state when exception occured.
    197  */
    198 void prefetch_abort(int exc_no, istate_t *istate)
     196 * @param exc_no Exception number.
     197 * @param istate CPU state when exception occured.
     198 *
     199 */
     200void prefetch_abort(unsigned int exc_no, istate_t *istate)
    199201{
    200202        int ret = as_page_fault(istate->pc, PF_ACCESS_EXEC, istate);
Note: See TracChangeset for help on using the changeset viewer.