Ignore:
Timestamp:
2006-09-05T21:06:59Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d7e3f1ad
Parents:
5035eeb7
Message:

Handle more sparc64 traps and improve handling of already handled traps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/trap/exception.h

    r5035eeb7 re2bf639  
    3838
    3939#define TT_INSTRUCTION_ACCESS_EXCEPTION         0x08
     40#define TT_INSTRUCTION_ACCESS_ERROR             0x0a
    4041#define TT_ILLEGAL_INSTRUCTION                  0x10
     42#define TT_PRIVILEGED_OPCODE                    0x11
     43#define TT_DIVISION_BY_ZERO                     0x28
     44#define TT_DATA_ACCESS_EXCEPTION                0x30
    4145#define TT_DATA_ACCESS_ERROR                    0x32
    4246#define TT_MEM_ADDRESS_NOT_ALIGNED              0x34
     47#define TT_PRIVILEGED_ACTION                    0x38
    4348
    4449#ifndef __ASM__
     
    4651#include <typedefs.h>
    4752
    48 extern void do_instruction_access_exc(int n, istate_t *istate);
    49 extern void do_mem_address_not_aligned(int n, istate_t *istate);
    50 extern void do_data_access_error(int n, istate_t *istate);
    51 extern void do_illegal_instruction(int n, istate_t *istate);
     53extern void instruction_access_exception(int n, istate_t *istate);
     54extern void instruction_access_error(int n, istate_t *istate);
     55extern void illegal_instruction(int n, istate_t *istate);
     56extern void privileged_opcode(int n, istate_t *istate);
     57extern void division_by_zero(int n, istate_t *istate);
     58extern void data_access_exception(int n, istate_t *istate);
     59extern void data_access_error(int n, istate_t *istate);
     60extern void mem_address_not_aligned(int n, istate_t *istate);
     61extern void privileged_action(int n, istate_t *istate);
     62
    5263
    5364#endif /* !__ASM__ */
Note: See TracChangeset for help on using the changeset viewer.