Changeset 0cfc4d38 in mainline for arch/sparc64/src/sparc64.c


Ignore:
Timestamp:
2005-12-14T01:52:19Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
38282c0
Parents:
8ad925c
Message:

sparc64 work.
Functions for disabling/enabling MMU.
TLB initialization.
Identity mapping of first 4M for kernel.
Switch to kernel copy of trap table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/src/sparc64.c

    r8ad925c r0cfc4d38  
    2929#include <arch.h>
    3030#include <print.h>
    31 #include <arch/asm.h>
    32 #include <memstr.h>
     31#include <arch/trap.h>
    3332#include <arch/trap_table.h>
    3433#include <arch/console.h>
     
    4544void arch_pre_smp_init(void)
    4645{
    47         /*
    48          * Copy OFW's trap table into kernel and point TBA there.
    49          */
    50         memcpy((void *) trap_table, (void *) tba_read(), TRAP_TABLE_SIZE);
    51 /*
    52  *      TBA cannot be changed until there are means of getting it into TLB.
    53  *      tba_write((__u64) trap_table);
    54  */
     46        trap_init();
    5547}
    5648
Note: See TracChangeset for help on using the changeset viewer.