# node is parent of one or more core
device cpunode { [ core = -1] }
attach cpunode at mainbus with cpunode_rmixl
file arch/mips/rmi/rmixl_cpunode.c cpunode_rmixl
# core is parent of one or more cpu
device cpucore { [ thread = -1] }
attach cpucore at cpunode with cpucore_rmixl
file arch/mips/rmi/rmixl_cpucore.c cpucore_rmixl
# each cpu is a RMI 'thread' or 'vCPU'
device cpu
attach cpu at cpucore with cpu_rmixl
file arch/mips/rmi/rmixl_cpu.c cpu_rmixl
# OBIO: offsets are from System Bridge Controller base
define obio { [addr=-1], [size=0], [intr=-1], [tmsk=-1], [mult=1] }
device obio: obio
attach obio at cpunode with obio_rmixl
file arch/mips/rmi/rmixl_obio.c obio_rmixl
file arch/mips/rmi/rmixl_obio_eb_space.c obio_rmixl
file arch/mips/rmi/rmixl_obio_el_space.c obio_rmixl
file arch/mips/rmi/rmixl_pci_cfg_space.c rmixl_pcix | rmixl_pcie
file arch/mips/rmi/rmixl_pci_ecfg_space.c rmixl_pcie
file arch/mips/rmi/rmixl_pci_io_space.c rmixl_pcix | rmixl_pcie
file arch/mips/rmi/rmixl_pci_mem_space.c rmixl_pcix | rmixl_pcie
# NS16550 compatible serial ports
attach com at obio with com_rmixl
file arch/mips/rmi/rmixl_com.c com_rmixl
defparam opt_com.h CONSADDR CONSFREQ CONSPEED CONMODE