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/src/trap/trap_table.S

    r6eabb6e6 r34d9469e  
    8383        PREEMPTIBLE_HANDLER privileged_opcode
    8484
     85/* TT = 0x12, TL = 0, unimplemented_LDD */
     86.org trap_table + TT_UNIMPLEMENTED_LDD*ENTRY_SIZE
     87.global unimplemented_LDD_tl0
     88unimplemented_LDD_tl0:
     89        PREEMPTIBLE_HANDLER unimplemented_LDD
     90
     91/* TT = 0x13, TL = 0, unimplemented_STD */
     92.org trap_table + TT_UNIMPLEMENTED_STD*ENTRY_SIZE
     93.global unimplemented_STD_tl0
     94unimplemented_STD_tl0:
     95        PREEMPTIBLE_HANDLER unimplemented_STD
     96
    8597/* TT = 0x20, TL = 0, fb_disabled handler */
    8698.org trap_table + TT_FP_DISABLED*ENTRY_SIZE
     
    88100fp_disabled_tl0:
    89101        PREEMPTIBLE_HANDLER fp_disabled
     102
     103/* TT = 0x21, TL = 0, fb_exception_ieee_754 handler */
     104.org trap_table + TT_FP_EXCEPTION_IEEE_754*ENTRY_SIZE
     105.global fb_exception_ieee_754_tl0
     106fp_exception_ieee_754_tl0:
     107        PREEMPTIBLE_HANDLER fp_exception_ieee_754
     108
     109/* TT = 0x22, TL = 0, fb_exception_other handler */
     110.org trap_table + TT_FP_EXCEPTION_OTHER*ENTRY_SIZE
     111.global fb_exception_other_tl0
     112fp_exception_other_tl0:
     113        PREEMPTIBLE_HANDLER fp_exception_other
     114
     115/* TT = 0x23, TL = 0, tag_overflow */
     116.org trap_table + TT_TAG_OVERFLOW*ENTRY_SIZE
     117.global tag_overflow_tl0
     118tag_overflow_tl0:
     119        PREEMPTIBLE_HANDLER tag_overflow
    90120
    91121/* TT = 0x24, TL = 0, clean_window handler */
     
    120150        PREEMPTIBLE_HANDLER mem_address_not_aligned
    121151
    122 /* TT = 0x38, TL = 0, privileged_action */
     152/* TT = 0x35, TL = 0, LDDF_mem_address_not_aligned */
     153.org trap_table + TT_LDDF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
     154.global LDDF_mem_address_not_aligned_tl0
     155LDDF_mem_address_not_aligned_tl0:
     156        PREEMPTIBLE_HANDLER LDDF_mem_address_not_aligned
     157
     158/* TT = 0x36, TL = 0, STDF_mem_address_not_aligned */
     159.org trap_table + TT_STDF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
     160.global STDF_mem_address_not_aligned_tl0
     161STDF_mem_address_not_aligned_tl0:
     162        PREEMPTIBLE_HANDLER STDF_mem_address_not_aligned
     163
     164/* TT = 0x37, TL = 0, privileged_action */
    123165.org trap_table + TT_PRIVILEGED_ACTION*ENTRY_SIZE
    124166.global privileged_action_tl0
    125167privileged_action_tl0:
    126168        PREEMPTIBLE_HANDLER privileged_action
     169
     170/* TT = 0x38, TL = 0, LDQF_mem_address_not_aligned */
     171.org trap_table + TT_LDQF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
     172.global LDQF_mem_address_not_aligned_tl0
     173LDQF_mem_address_not_aligned_tl0:
     174        PREEMPTIBLE_HANDLER LDQF_mem_address_not_aligned
     175
     176/* TT = 0x39, TL = 0, STQF_mem_address_not_aligned */
     177.org trap_table + TT_STQF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
     178.global STQF_mem_address_not_aligned_tl0
     179STQF_mem_address_not_aligned_tl0:
     180        PREEMPTIBLE_HANDLER STQF_mem_address_not_aligned
    127181
    128182/* TT = 0x41, TL = 0, interrupt_level_1 handler */
Note: See TracChangeset for help on using the changeset viewer.