tactcomplabs / rev

RISC-V SST CPU Component
Other
17 stars 21 forks source link

Make feature pointers pointers to const RevFeature #317

Closed leekillough closed 1 month ago

leekillough commented 1 month ago

This makes the RevFeature* Feature pointers into const RevFeature* Feature since the feature data is read-only, and we don't want functions to modify RevFeature.

(The const does not apply to the function-local variable pointer Feature, but to what it points to.)