Ignore:
Timestamp:
2006-09-13T14:12:58Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
da02e69
Parents:
6eabb6e6
Message:

More sparc64 FPU trap handlers.

File:
1 edited

Legend:

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

    r6eabb6e6 r34d9469e  
    4141#define TT_ILLEGAL_INSTRUCTION                  0x10
    4242#define TT_PRIVILEGED_OPCODE                    0x11
     43#define TT_UNIMPLEMENTED_LDD                    0x12
     44#define TT_UNIMPLEMENTED_STD                    0x13
    4345#define TT_FP_DISABLED                          0x20
     46#define TT_FP_EXCEPTION_IEEE_754                0x21
     47#define TT_FP_EXCEPTION_OTHER                   0x22
     48#define TT_TAG_OVERFLOW                         0x23
    4449#define TT_DIVISION_BY_ZERO                     0x28
    4550#define TT_DATA_ACCESS_EXCEPTION                0x30
    4651#define TT_DATA_ACCESS_ERROR                    0x32
    4752#define TT_MEM_ADDRESS_NOT_ALIGNED              0x34
    48 #define TT_PRIVILEGED_ACTION                    0x38
     53#define TT_LDDF_MEM_ADDRESS_NOT_ALIGNED         0x35
     54#define TT_STDF_MEM_ADDRESS_NOT_ALIGNED         0x36
     55#define TT_PRIVILEGED_ACTION                    0x37
     56#define TT_LDQF_MEM_ADDRESS_NOT_ALIGNED         0x38
     57#define TT_STQF_MEM_ADDRESS_NOT_ALIGNED         0x39
    4958
    5059#ifndef __ASM__
     
    5867extern void illegal_instruction(int n, istate_t *istate);
    5968extern void privileged_opcode(int n, istate_t *istate);
     69extern void unimplemented_LDD(int n, istate_t *istate);
     70extern void unimplemented_STD(int n, istate_t *istate);
    6071extern void fp_disabled(int n, istate_t *istate);
     72extern void fp_exception_ieee_754(int n, istate_t *istate);
     73extern void fp_exception_other(int n, istate_t *istate);
     74extern void tag_overflow(int n, istate_t *istate);
    6175extern void division_by_zero(int n, istate_t *istate);
    6276extern void data_access_exception(int n, istate_t *istate);
    6377extern void data_access_error(int n, istate_t *istate);
    6478extern void mem_address_not_aligned(int n, istate_t *istate);
     79extern void LDDF_mem_address_not_aligned(int n, istate_t *istate);
     80extern void STDF_mem_address_not_aligned(int n, istate_t *istate);
    6581extern void privileged_action(int n, istate_t *istate);
    66 
     82extern void LDQF_mem_address_not_aligned(int n, istate_t *istate);
     83extern void STQF_mem_address_not_aligned(int n, istate_t *istate);
    6784
    6885#endif /* !__ASM__ */
Note: See TracChangeset for help on using the changeset viewer.