2.10 Multiple Software Domains 2.12 Limitations
Analyzer User's Guide  /  2 OS Awareness  / 

2.11 Multiple Operating Systems on a Single Machine

It is possible to use several trackers on a single machine running multiple operating systems. In that case each operating system must have dedicated processors. Such a system requires some additional configuration steps, that has to be done after the processor objects have been instantiated. First create a software object for each operating system. This is done with the new-os-awareness command. Then set the processors attribute of each software object to match that of the operating system it is going to track. The trackers are now ready to be used.

simics> load-module os-awareness
os-awareness module loaded
simics> new-os-awareness name = board.softwareA
Created OS awareness framework 'board.softwareA'
simics> new-os-awareness name = board.softwareB
Created OS awareness framework 'board.softwareB'
simics> @conf.board.softwareA.processors = [conf.board.mb.cpu0.core[0][0]]

simics> @conf.board.softwareB.processors = [conf.board.mb.cpu1.core[0][0]]

2.10 Multiple Software Domains 2.12 Limitations