You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current peripheral management is a bit cumbersome to extend for new devices or additional harts. Since most common device operations are init, update, mem_read, and mem_write, we could extract these functionalities to ensure a simpler and more consistent approach.
As a result, I've made some modifications to improve the integration. Please check them out here: vacantron#1
In this demonstration, the start and end addresses of the peripheral's memory ranges are hardcoded. This issue could be solved in the future by using libfdt to parse the device tree blob.