Ignore:
Timestamp:
2005-12-27T21:40:02Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
feb5915
Parents:
1120276
Message:

sparc64 work.
Fix clean_window trap handler so that it clears output registers instead of input registers!
Fix interrupt handlers to save global registers.

File:
1 edited

Legend:

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

    r1120276 r7614565  
    3535
    3636#include <arch/trap/trap_table.h>
     37#include <arch/stack.h>
    3738
    3839#define TT_INTERRUPT_LEVEL_1                    0x41
     
    5960#ifdef __ASM__
    6061.macro INTERRUPT_LEVEL_N_HANDLER n
    61         save %sp, -128, %sp
     62        save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
    6263        mov \n - 1, %o0
    63         call exc_dispatch
    6464        mov %fp, %o1
    65         restore
    66         retry
     65        SAVING_HANDLER exc_dispatch
    6766.endm
    6867
Note: See TracChangeset for help on using the changeset viewer.