diff options
author | Wojciech Muła <wojciech_mula@poczta.onet.pl> | 2024-04-24 06:58:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 21:58:59 -0700 |
commit | 48e96c042d9e39da6a17fca49d237eba44e132aa (patch) | |
tree | 5f8c82f308e37abb1aa0a08df8e28deb8ea305ed /machine/mtrap.h | |
parent | 6b5c8dbb6f40eacbce5b698e957630e56ec30879 (diff) | |
download | pk-48e96c042d9e39da6a17fca49d237eba44e132aa.zip pk-48e96c042d9e39da6a17fca49d237eba44e132aa.tar.gz pk-48e96c042d9e39da6a17fca49d237eba44e132aa.tar.bz2 |
Implementation of riscv_hwprobe syscall from Linux (#325)
See: https://www.kernel.org/doc/html/latest/arch/riscv/hwprobe.html
Diffstat (limited to 'machine/mtrap.h')
-rw-r--r-- | machine/mtrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/machine/mtrap.h b/machine/mtrap.h index 2f2e499..41071f3 100644 --- a/machine/mtrap.h +++ b/machine/mtrap.h @@ -35,6 +35,7 @@ extern uintptr_t mem_size; extern volatile uint64_t* mtime; extern volatile uint32_t* plic_priorities; extern size_t plic_ndevs; +extern uint64_t misa_image; typedef struct { volatile uint32_t* ipi; |