/branches/sparc/boot/genarch/ofw_tree.c |
---|
234,7 → 234,8 |
if (ssm_node != -1) { |
ssm = ofw_tree_node_alloc(); |
if (ssm) { |
ofw_tree_node_process(ssm, root, ofw_find_device("/ssm@0,0")); |
ofw_tree_node_process( |
ssm, root, ofw_find_device("/ssm@0,0")); |
ssm->peer = root->child; |
root->child = ssm; |
} |
/branches/sparc/boot/genarch/ofw.c |
---|
301,9 → 301,10 |
unsigned int size = buf[pos + ac + sc - 1]; |
/* |
* This is a hot fix of the issue which occurs on machines where there are |
* holes in the physical memory (such as SunBlade 1500). Should we detect a |
* hole in the physical memory, we will ignore any memory detected behind |
* This is a hot fix of the issue which occurs on machines |
* where there are holes in the physical memory (such as |
* SunBlade 1500). Should we detect a hole in the physical |
* memory, we will ignore any memory detected behind |
* the hole and pretend the hole does not exist. |
*/ |
if ((map->count > 0) && |
/branches/sparc/boot/arch/sparc64/loader/main.c |
---|
67,8 → 67,15 |
release, revision, timestamp); |
} |
/* the lowest ID (read from the VER register) of some US3 CPU model */ |
#define FIRST_US3_CPU 0x14 |
/* the greatest ID (read from the VER register) of some US3 CPU model */ |
#define LAST_US3_CPU 0x19 |
/** |
* Sets the global variable "subarchitecture" to the correct value. |
*/ |
static void detect_subarchitecture(void) |
{ |
uint64_t v; |