host_system hypersim-pattern-matcher
Simics Reference Manual  /  5 Classes  / 

hostfs

Description

The hostfs device is used in conjunction with a target OS module to allow the simulated machine to access the filesystem of the host machine. In order to work, the hostfs-device needs to be mapped into a specific location in the physical memory space. This address is target OS and architecture dependent.

Interfaces Implemented

conf_object, log_object, io_memory

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for this class

Attributes

version
Optional attribute; read/write access; type: i
Simicsfs protocol version.
host_root
Optional attribute; read/write access; type: s
Host directory to use as root for the mounted file tree
mounted
Optional attribute; read/write access; type: b
True if simicsfs has been mounted on the target

Provided By

hostfs
host_system hypersim-pattern-matcher