thermosphere: trap refactor WIP

This commit is contained in:
TuxSH
2020-02-24 18:26:52 +00:00
parent 874d1432be
commit 797cea0ac8
18 changed files with 311 additions and 284 deletions

View File

@@ -369,6 +369,9 @@ namespace ams::hvisor {
private:
constexpr VirtualGic() = default;
public:
// For convenience (when trapping lower-el data aborts):
static constexpr uintptr_t gicdPhysicalAddress = 0; // fixme pls MEMORY_MAP_PA_GICD;
public:
static bool ValidateGicdRegisterAccess(size_t offset, size_t sz);
public: