Changeset 8ac5fe7 in mainline for arch/sparc64/src/sparc64.c


Ignore:
Timestamp:
2005-12-02T16:18:23Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
060ce90
Parents:
414f59c
Message:

sparc64 work.
Add dummy trap tables.

File:
1 edited

Legend:

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

    r414f59c r8ac5fe7  
    2828
    2929#include <arch.h>
     30#include <print.h>
     31#include <arch/asm.h>
     32#include <memstr.h>
     33#include <arch/trap_table.h>
    3034
    3135void arch_pre_mm_init(void)
     
    3943void arch_pre_smp_init(void)
    4044{
     45        /*
     46         * Copy OFW's trap table into kernel and point TBA there.
     47         */
     48        memcpy((void *) trap_table, (void *) tba_read(), TRAP_TABLE_SIZE);
     49/*
     50 *      TBA cannot be changed until there are means of getting it into TLB.
     51 *      tba_write((__u64) trap_table);
     52 */
    4153}
    4254
Note: See TracChangeset for help on using the changeset viewer.