riscv64: update hardware definition headers

Change-Id: I0c84f1d5389842d4591cb1548793e08155ba3666
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4311
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
X512
2021-08-06 17:33:53 +00:00
committed by Alex von Gluck IV
parent b87ec78210
commit d472f38a49
2 changed files with 36 additions and 8 deletions
+3 -3
View File
@@ -12,9 +12,9 @@
// core local interruptor
struct ClintRegs
{
uint8 unknown1[0x4000];
uint64 mTimeCmp[4095]; // per CPU core, but not implemented in temu
uint64 mTime; // @0xBFF8
uint32 msip [4096]; // machine software interrupt pending, per CPU core
uint64 mtimecmp[4095]; // per CPU core
uint64 mtime; // @0xBFF8
};
extern ClintRegs* volatile gClintRegs;