40,7 → 40,6 |
#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. |
56,6 → 55,7 |
|
/* 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,7 → 62,6 |
|
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", |
73,7 → 72,6 |
} |
|
tick_init(); |
sun4v_ipi_init(); |
} |
|
/** |