thermosphere: generic timer rewrite

This commit is contained in:
TuxSH
2020-02-27 01:59:23 +00:00
parent d15154f668
commit 0cb5eab933
5 changed files with 172 additions and 155 deletions

View File

@@ -438,4 +438,11 @@ namespace ams::hvisor::cpu {
PSR_SP_ELX = BITL(0),
};
}
// cnt*_ctl flags
enum CntCtlFlags {
CNTCTL_ISTATUS = BITL(2),
CNTCTL_IMASK = BITL(1),
CNTCTL_ENABLE = BITL(0),
};
}