#include <register-interface.h>
◆ ~RegisterInterface()
| virtual simics::RegisterInterface::~RegisterInterface |
( |
| ) |
|
|
virtualdefault |
◆ add_field()
| virtual void simics::RegisterInterface::add_field |
( |
std::string_view |
field_name, |
|
|
std::string_view |
desc, |
|
|
Offset |
offset, |
|
|
BitWidth |
width |
|
) |
| |
|
pure virtual |
◆ bank_obj_ref()
| virtual ConfObjectRef simics::RegisterInterface::bank_obj_ref |
( |
| ) |
const |
|
pure virtual |
◆ description()
| virtual const std::string & simics::RegisterInterface::description |
( |
| ) |
const |
|
pure virtual |
Get the description of the register.
- Returns
- A reference to the string containing the register description.
Implemented in simics::Register.
◆ dev_obj()
◆ fields_info()
| virtual std::vector< field_t > simics::RegisterInterface::fields_info |
( |
| ) |
const |
|
pure virtual |
◆ hierarchical_name()
| virtual const std::string & simics::RegisterInterface::hierarchical_name |
( |
| ) |
const |
|
pure virtual |
Get the full name of the register including bank name.
- Returns
- A string view representing the full register name.
Implemented in simics::Register.
◆ init()
| virtual void simics::RegisterInterface::init |
( |
std::string_view |
desc, |
|
|
unsigned |
number_of_bytes, |
|
|
uint64_t |
init_val |
|
) |
| |
|
pure virtual |
◆ is_mapped()
| virtual bool simics::RegisterInterface::is_mapped |
( |
| ) |
const |
|
pure virtual |
◆ is_read_only()
| virtual bool simics::RegisterInterface::is_read_only |
( |
| ) |
const |
|
pure virtual |
◆ name()
| virtual std::string_view simics::RegisterInterface::name |
( |
| ) |
const |
|
pure virtual |
Get the name of the register without level delimiters.
- Returns
- A string view representing the register name only.
Implemented in simics::Register.
◆ number_of_bytes()
| virtual unsigned simics::RegisterInterface::number_of_bytes |
( |
| ) |
const |
|
pure virtual |
◆ parent()
| virtual BankInterface * simics::RegisterInterface::parent |
( |
| ) |
const |
|
pure virtual |
◆ parse_field()
| virtual void simics::RegisterInterface::parse_field |
( |
const field_t & |
f | ) |
|
|
pure virtual |
Parse the field information.
Add the field or field array into the resource map. The field reuses the memory allocated for the enclosing register. offset 0 is always the least significant bit regardless of bit order e.g. 2 bytes value 0b10100111 | | offset:7 offset:0 => width = 8
Implemented in simics::Register.
◆ reset()
| virtual void simics::RegisterInterface::reset |
( |
| ) |
|
|
pure virtual |
◆ set_byte_pointers()
| virtual void simics::RegisterInterface::set_byte_pointers |
( |
const register_memory_t & |
byte_pointers | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: