{
if (ofproxy)
{
/* Openfirmware takes liberties with boot-time memory. * if you're in a unitary kernel, it's not as difficult, but since * we rely on loading things into virtual space from here, we need * to detect the mappings so far. */int args[2];
args[0] = possibly_virtual;
args[1] = 1; /* Marker to tell we want a physical addr */return (paddr_t)ofw_callmethod_ret("translate", mmu_handle, 2, args, 3);
}
else
{
/* Other booters don't remap ram */return possibly_virtual;
}
}
Generated on Sat May 26 2012 04:46:22 for ReactOS by
1.7.6.1
ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.