sim simics_nvme_controller
Simics Reference Manual  /  5 Classes  / 

simics-uefi

Description

The simics-uefi class implements a pseudo device that provides information to the BIOS and also transmits information from the BIOS into other simulation devices.
The device deliberately sets vendor and device ID to 0xffff so that any proper PCI enumeration will not see it. Software like the Simics UEFI BIOS, which knows the exact BDF of the device can then do PCI configuration accesses to talk to the device without it interfering with other PCI operations.

The features of the device are:

Interfaces Implemented

conf_object, log_object, pcie_device

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.
state-change
Notifier on potential DML state change

Port Objects

bank.pcie_config
simics-uefi.pcie_config
port.HRESET
simics-uefi.HRESET
port.phy
simics-uefi.phy

Commands for this class

Attributes

additional_memory_regions_to_reserve
Optional attribute; read/write access; type: [[ii]*]
List of memory regions that need to be reserved. Each list element is a pair of a region start address and the region size.
caps_accesses
Pseudo attribute; read-only access; type: i
Number of accesses to capabilities data
detected_video_modes
Pseudo attribute; read/write access; type: [s*]|s
Video modes that were detected during BIOS run
legacy_bios_rom_image
Optional attribute; read/write access; type: o|[os]|n
Target image for legacy BIOS data

Required interfaces: image.

legacy_bios_rom_offset
Optional attribute; read/write access; type: i
Offset at which to start writing
package_data
Pseudo attribute; read-only access; type: [i*]
Package data stored in capabilities
selected_boot_option
Optional attribute; read/write access; type: s|n
Boot device that shall get maximum priority
video_mode
Optional attribute; read/write access; type: i
Video mode to be set during boot

Provided By

simics-uefi

simics-uefi.HRESET

Interfaces Implemented

conf_object, log_object, signal

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.

simics-uefi.pcie_config

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, pcie_function_info, register_view, register_view_catalog, register_view_read_only, transaction

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 interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

Commands for interface pcie_function_info

Commands for interface transaction

Attributes

function_number
Pseudo attribute; read-only access; type: i
PCIe function number of this bank

simics-uefi.phy

Interfaces Implemented

conf_object, log_object, transaction

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 interface transaction

sim simics_nvme_controller