Changeset 49b6d32 in mainline


Ignore:
Timestamp:
2005-12-15T19:52:47Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36e7ee98
Parents:
961b5f0
Message:

sparc64 work.
Register window clean, spill and fill handlers.

Location:
arch/sparc64
Files:
1 added
3 edited
4 moved

Legend:

Unmodified
Added
Removed
  • arch/sparc64/Makefile.inc

    r961b5f0 r49b6d32  
    5757        arch/$(ARCH)/src/sparc64.c \
    5858        arch/$(ARCH)/src/start.S \
    59         arch/$(ARCH)/src/trap_table.S \
    60         arch/$(ARCH)/src/trap.c
     59        arch/$(ARCH)/src/trap/trap_table.S \
     60        arch/$(ARCH)/src/trap/trap.c
  • arch/sparc64/include/trap/trap.h

    r961b5f0 r49b6d32  
    3030#define __sparc64_TRAP_H__
    3131
    32 #include <arch/trap_table.h>
     32#include <arch/trap/trap_table.h>
    3333#include <arch/asm.h>
    3434
  • arch/sparc64/src/mm/tlb.c

    r961b5f0 r49b6d32  
    3636#include <typedefs.h>
    3737#include <config.h>
    38 #include <arch/trap.h>
     38#include <arch/trap/trap.h>
    3939
    4040/** Initialize ITLB and DTLB.
  • arch/sparc64/src/sparc64.c

    r961b5f0 r49b6d32  
    2929#include <arch.h>
    3030#include <print.h>
    31 #include <arch/trap.h>
    32 #include <arch/trap_table.h>
     31#include <arch/trap/trap.h>
    3332#include <arch/console.h>
    3433
  • arch/sparc64/src/trap/trap.c

    r961b5f0 r49b6d32  
    2727 */
    2828
    29 #include <arch/trap.h>
    30 #include <arch/trap_table.h>
     29#include <arch/trap/trap.h>
     30#include <arch/trap/trap_table.h>
    3131#include <arch/asm.h>
    3232#include <memstr.h>
  • arch/sparc64/src/trap/trap_table.S

    r961b5f0 r49b6d32  
    3535.text
    3636
    37 #include <arch/trap_table.h>
     37#include <arch/trap/trap_table.h>
     38#include <arch/trap/regwin.h>
    3839
    3940#define TABLE_SIZE      TRAP_TABLE_SIZE
     
    5657trap_table_kernel:
    5758
    58 /*
    59  * Hardware interrupts for TL=0.
    60  */
    61 .org trap_table_kernel + 0*ENTRY_SIZE
    62 tl_0_hardware_traps:
     59/* TT = 0x24, TL = 0 *, clean_window handler */
     60.org trap_table_kernel + TT_CLEAN_WINDOW*ENTRY_SIZE
     61.global clean_window_handler
     62clean_window_handler:
     63        CLEAN_WINDOW_HANDLER
    6364
    64 /*
    65  * Register window spill/fill/clean traps for TL=0.
    66  */
    67 .org trap_table_kernel + 128*ENTRY_SIZE
    68 tl_0_regwin_traps:
     65/* TT = 0x80, TL = 0 *, spill_0_normal handler */
     66.org trap_table_kernel + TT_SPILL_0_NORMAL*ENTRY_SIZE
     67.global spill_0_normal
     68spill_0_normal:
     69        SPILL_NORMAL_HANDLER
     70
     71/* TT = 0xc0, TL = 0 *, fill_0_normal handler */
     72.org trap_table_kernel + TT_FILL_0_NORMAL*ENTRY_SIZE
     73fill_0_normal:
     74        FILL_NORMAL_HANDLER
    6975
    7076/*
     
    8591
    8692/*
    87  * Register window spill/fill/clean traps for TL>0.
     93 * Register window spill/fill traps for TL>0.
    8894 */
    8995.org trap_table_kernel + 640*ENTRY_SIZE
Note: See TracChangeset for help on using the changeset viewer.