fixes missing rename
This commit is contained in:
parent
edf456c59f
commit
6ddb8da07f
|
@ -51,8 +51,8 @@ public:
|
||||||
virtual ~hwl() = default;
|
virtual ~hwl() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
iss::status read_custom_csr_reg(unsigned addr, reg_t& val) override;
|
iss::status read_custom_csr(unsigned addr, reg_t& val) override;
|
||||||
iss::status write_custom_csr_reg(unsigned addr, reg_t val) override;
|
iss::status write_custom_csr(unsigned addr, reg_t val) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename BASE>
|
template <typename BASE>
|
||||||
|
@ -68,7 +68,7 @@ inline hwl<BASE>::hwl(feature_config cfg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename BASE> inline iss::status iss::arch::hwl<BASE>::read_custom_csr_reg(unsigned addr, reg_t& val) {
|
template <typename BASE> inline iss::status iss::arch::hwl<BASE>::read_custom_csr(unsigned addr, reg_t& val) {
|
||||||
switch(addr) {
|
switch(addr) {
|
||||||
case 0x800:
|
case 0x800:
|
||||||
val = this->reg.lpstart0;
|
val = this->reg.lpstart0;
|
||||||
|
@ -92,7 +92,7 @@ template <typename BASE> inline iss::status iss::arch::hwl<BASE>::read_custom_cs
|
||||||
return iss::Ok;
|
return iss::Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename BASE> inline iss::status iss::arch::hwl<BASE>::write_custom_csr_reg(unsigned addr, reg_t val) {
|
template <typename BASE> inline iss::status iss::arch::hwl<BASE>::write_custom_csr(unsigned addr, reg_t val) {
|
||||||
switch(addr) {
|
switch(addr) {
|
||||||
case 0x800:
|
case 0x800:
|
||||||
this->reg.lpstart0 = val;
|
this->reg.lpstart0 = val;
|
||||||
|
|
Loading…
Reference in New Issue