SAM sysconf UI command for flexible device configuration
Introduction
This document describes sysconf UI command syntax and introduces the example
use of the command for creating a device hierarchy that similate a hardware
system.
References
- SAM: SPARC Architecture Model
- Module Model Interface (MMI)
- SAM Flexible Configuration
sysconf UI command
Syntax
sysconf [ -p mod_path ] module_name [ instance_name [ args ... ] [ -d# ] ]
cfg is an alias for sysconf.
mod_path | pathname for .so files |
module_name | a module name defined by MMI |
instance_name | a unique instance name |
args | optional arguments, usually name=value pairs. |
-d# | set debug level to control the amount of debug output |
The .so filename is contructed as follows: mod_path/module_name.so.
The default value for mod_path is ".".
The -p switch sets a new module path, and remains in effect until the next -p switch.
Examples
Example device hierarchy:
ssm ->cpu0
->cpu1
->schizo30->pcia->fc0
->isa
->pcib->bootbus_ctrl
->schizo31->pcia->ge0
->ge1
->pcib
Example sysconf commands for above device hierarchy:
sysconf -p ../blaze-conf/modules/64opt
sysconf schizo schizo30 aid=30 pciA=pci30A pciB=pci30B
sysconf pci_bus pci30A bridge=schizo30
sysconf fc fc0 bus=pci30A dev=0 fun=0
sysconf isa isa0 bus=pci30A dev=7 fun=0
sysconf pci_bus pci30B bridge=schizo30
sysconf bootbus bootbus_ctrl bus=pci30B dev=4 fun=0
sysconf schizo schizo31 aid=31 pciA=pci31A pciB=pci31B
sysconf pci_bus pci31A bridge=schizo31
sysconf ge ge0 bus=pci31A dev=0 fun=0
sysconf ge ge1 bus=pci31A dev=1 fun=0
sysconf pci_bus pci31B bridge=schizo31