mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
Before, the mapping of our HBA region would be done in the constructor. Since this can fail, I moved it into initialize(). Additionally, we now use the TypedMapping helper for mapping the HBA instead of doing it manually. This actually uncovered a bug where we would ignore any possible offset into the page we were mapping, which caused us to miss the mapped registers entirely.