Changeset 3efc35a in mainline for kernel/arch/sparc32/src/exception.c


Ignore:
Timestamp:
2013-09-16T19:16:00Z (11 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f7bb6d1
Parents:
ef9a2a8
Message:

Construct full exception and interrupt table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/src/exception.c

    ref9a2a8 r3efc35a  
    8080}
    8181
     82/** Handle fp_exception. (0x08) */
     83void fp_exception(int n, istate_t *istate)
     84{
     85        fault_if_from_uspace(istate, "%s.", __func__);
     86        panic_badtrap(istate, n, "%s.", __func__);
     87}
     88
     89/** Handle tag_overflow. (0x0a) */
     90void tag_overflow(int n, istate_t *istate)
     91{
     92        fault_if_from_uspace(istate, "%s.", __func__);
     93        panic_badtrap(istate, n, "%s.", __func__);
     94}
     95
    8296/** Handle division_by_zero. (0x2a) */
    8397void division_by_zero(int n, istate_t *istate)
     
    101115}
    102116
     117/** Handle data_store_error. (0x29) */
     118void data_store_error(int n, istate_t *istate)
     119{
     120        fault_if_from_uspace(istate, "%s.", __func__);
     121        panic_badtrap(istate, n, "%s.", __func__);
     122}
     123/** Handle data_access_error. (0x2c) */
     124void data_access_mmu_miss(int n, istate_t *istate)
     125{
     126        fault_if_from_uspace(istate, "%s.", __func__);
     127        panic_badtrap(istate, n, "%s.", __func__);
     128}
     129
    103130/** Handle mem_address_not_aligned. (0x7) */
    104131void mem_address_not_aligned(int n, istate_t *istate)
Note: See TracChangeset for help on using the changeset viewer.