Ignore:
Timestamp:
2005-12-29T19:17:29Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80bff342
Parents:
7614565
Message:

sparc64 work.
Rename saving_handler() to preemptible_handler()
and fix it to make sparc64 kernel preemptive.
Add two handlers for two fatal exceptions (i.e.
instruction_access_exception and mem_address_not_aligned.
Fix panic_printf() to not allocate its own register window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/include/trap/interrupt.h

    r7614565 rfeb5915  
    3131 */
    3232
    33 #ifndef __sparc64_INTERRUPT_H__
    34 #define __sparc64_INTERRUPT_H__
     33#ifndef __sparc64_TRAP_INTERRUPT_H__
     34#define __sparc64_TRAP_INTERRUPT_H__
    3535
    3636#include <arch/trap/trap_table.h>
     
    6060#ifdef __ASM__
    6161.macro INTERRUPT_LEVEL_N_HANDLER n
    62         save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
     62        save %sp, -PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE, %sp
    6363        mov \n - 1, %o0
    6464        mov %fp, %o1
    65         SAVING_HANDLER exc_dispatch
     65        PREEMPTIBLE_HANDLER exc_dispatch
    6666.endm
    6767
Note: See TracChangeset for help on using the changeset viewer.