Ignore:
Timestamp:
2010-03-07T15:11:56Z (15 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aadf01e
Parents:
2e99277 (diff), 137691a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes, revision 308

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/cpu/sun4v/cpu.c

    r2e99277 raa85487  
    11/*
    22 * Copyright (c) 2005 Jakub Jermar
     3 * Copyright (c) 2009 Pavel Rimsky
    34 * All rights reserved.
    45 *
     
    4041#include <arch/sun4v/md.h>
    4142#include <arch/sun4v/hypercall.h>
    42 
    43 //#include <arch/trap/sun4v/interrupt.h>
     43#include <arch/trap/sun4v/interrupt.h>
    4444
    4545/** Perform sparc64 specific initialization of the processor structure for the
     
    5151        __hypercall_fast_ret1(0, 0, 0, 0, 0, CPU_MYID, &myid);
    5252
    53         //MH
    54         //CPU->arch.id = myid;
     53        CPU->arch.id = myid;
    5554
    5655        md_node_t node = md_get_root();
     
    7473               
    7574        tick_init();
    76         //MH - uncomment later
    77         //sun4v_ipi_init();
     75
     76        sun4v_ipi_init();
    7877}
    7978
     
    9695{
    9796        printf("cpu%d: Niagara (%d MHz)\n", m->id,
    98                 m->arch.clock_frequency / 1000000);
     97            m->arch.clock_frequency / 1000000);
    9998}
    10099
Note: See TracChangeset for help on using the changeset viewer.