a9f745a780
of Sun Fire V1280 doesn't round up the size itself but instead lets claiming of non page-sized amounts of memory fail. - Change parameters and variables related to the TLB slots to unsigned which is more appropriate. - Search the whole OFW device tree instead of only the children of the root nexus device for the BSP as starting with UltraSPARC IV the 'cpu' nodes hang off of from 'cmp' (chip multi-threading processor) or 'core' or combinations thereof. Also in large UltraSPARC III based machines the 'cpu' nodes hang off of 'ssm' (scalable shared memory) nodes which group snooping-coherency domains together instead of directly from the nexus. - Add support for UltraSPARC IV and IV+ BSPs. Due to the fact that these are multi-core each CPU has two Fireplane config registers and thus the module/target ID has to be determined differently so the one specific to a certain core is used. Similarly, starting with UltraSPARC IV the individual cores use a different property in the OFW device tree to indicate the CPU/core ID as it no longer is in coincidence with the shared slot/socket ID. While at it additionally distinguish between CPUs with Fireplane and JBus interconnects as these also use slightly different sizes for the JBus/agent/module/target IDs. - Check the return value of init_heap(). This requires moving it after cons_probe() so we can panic when appropriate. This should be fine as the PowerPC OFW loader uses that order for quite some time now. |
||
---|---|---|
.. | ||
cddl | ||
_align.h | ||
_bus.h | ||
_inttypes.h | ||
_limits.h | ||
_stdint.h | ||
_types.h | ||
asi.h | ||
asm.h | ||
asmacros.h | ||
atomic.h | ||
bus_dma.h | ||
bus_private.h | ||
bus.h | ||
ccr.h | ||
clock.h | ||
cmt.h | ||
cpu.h | ||
cpufunc.h | ||
db_machdep.h | ||
elf.h | ||
endian.h | ||
exec.h | ||
fireplane.h | ||
float.h | ||
floatingpoint.h | ||
fp.h | ||
frame.h | ||
fsr.h | ||
gdb_machdep.h | ||
hv_api.h | ||
hv_pcivar.h | ||
hviommu.h | ||
hypervisorvar.h | ||
idprom.h | ||
ieee.h | ||
ieeefp.h | ||
in_cksum.h | ||
instr.h | ||
intr_machdep.h | ||
jbus.h | ||
kdb.h | ||
kerneldump.h | ||
ktr.h | ||
limits.h | ||
lsu.h | ||
md_var.h | ||
mdesc_bus_subr.h | ||
mdesc_bus.h | ||
memdev.h | ||
metadata.h | ||
mmu.h | ||
mutex.h | ||
nexusvar.h | ||
ofw_machdep.h | ||
ofw_mem.h | ||
ofw_nexus.h | ||
param.h | ||
pcb.h | ||
pcpu.h | ||
pmap.h | ||
pmc_mdep.h | ||
proc.h | ||
profile.h | ||
pstate.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
runq.h | ||
sc_machdep.h | ||
setjmp.h | ||
sf_buf.h | ||
sigframe.h | ||
signal.h | ||
smp.h | ||
stack.h | ||
stdarg.h | ||
sun4v_cpufunc.h | ||
sysarch.h | ||
tick.h | ||
tlb.h | ||
trap.h | ||
tsb.h | ||
tstate.h | ||
tte_hash.h | ||
tte.h | ||
ucontext.h | ||
upa.h | ||
utrap.h | ||
varargs.h | ||
ver.h | ||
vm.h | ||
vmparam.h | ||
watch.h | ||
wstate.h |