d472f38a49
Change-Id: I0c84f1d5389842d4591cb1548793e08155ba3666 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4311 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
24 lines
415 B
C
24 lines
415 B
C
/*
|
|
* Copyright 2021, Haiku, Inc.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
|
|
#ifndef _CLINT_H_
|
|
#define _CLINT_H_
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
// core local interruptor
|
|
struct ClintRegs
|
|
{
|
|
uint32 msip [4096]; // machine software interrupt pending, per CPU core
|
|
uint64 mtimecmp[4095]; // per CPU core
|
|
uint64 mtime; // @0xBFF8
|
|
};
|
|
|
|
extern ClintRegs* volatile gClintRegs;
|
|
|
|
|
|
#endif // _CLINT_H_
|