Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4637 → Rev 4638

/branches/sparc/kernel/arch/sparc64/src/cpu/sun4v/cpu.c
40,6 → 40,7
#include <print.h>
#include <arch/sun4v/md.h>
#include <arch/sun4v/hypercall.h>
#include <arch/trap/sun4v/interrupt.h>
 
/** Perform sparc64 specific initialization of the processor structure for the
* current processor.
55,7 → 56,6
 
/* walk through MD, find the current CPU node & its clock-frequency */
while (true) {
 
if (!md_next_node(&node, "cpu")) {
panic("Could not determine CPU frequency.");
}
62,6 → 62,7
 
uint64_t id = 0;
md_get_integer_property(node, "id", &id);
 
if (id == myid) {
uint64_t clock_frequency = 0;
md_get_integer_property(node, "clock-frequency",
72,6 → 73,7
}
 
tick_init();
sun4v_ipi_init();
}
 
/**