Andrew Waterman
|
32f8b0bbb8
|
Update LICENSE copyright date
|
9 years ago |
Wesley W. Terpstra
|
b04dfe31de
|
fdt: move interrupt controller into its own node
|
9 years ago |
Andrew Waterman
|
7b396b51a6
|
Set badaddr=0 on illegal instruction traps
|
9 years ago |
Andrew Waterman
|
8f4fb411b0
|
On EBREAK, set badaddr to pc
|
9 years ago |
Andrew Waterman
|
a80c695b19
|
Separate page faults from physical memory access exceptions
|
10 years ago |
Andrew Waterman
|
1fa2174178
|
Default to 2 GiB of memory
|
10 years ago |
Andrew Waterman
|
e83a032060
|
Require little-endian host
|
10 years ago |
Wesley W. Terpstra
|
46f1423c65
|
riscv: replace rtc device with a real clint implementation
|
10 years ago |
Wesley W. Terpstra
|
693fc45eb8
|
sim: declare cores as interrupt-controllers for clint
|
10 years ago |
Wesley W. Terpstra
|
212d5198cf
|
bootrom: set a0 to hartid and a1 to dtb before boot
|
10 years ago |
Wesley W. Terpstra
|
0647cce541
|
configstring: rename variables to dts
|
10 years ago |
Wesley W. Terpstra
|
4c80b12b1a
|
riscv: remove dependency on num_cores
|
10 years ago |
Wesley W. Terpstra
|
f7a7557273
|
bootrom: include compiled dtb
|
10 years ago |
Wesley W. Terpstra
|
4198bc7c62
|
sim: create DTS instead of config string
|
10 years ago |
Wesley W. Terpstra
|
fcd0f3ab3b
|
sim: define emulated CPU clock rate to be 1GHz
|
10 years ago |
Wesley W. Terpstra
|
c71db7787b
|
autoconf: put location of 'dtc' into config.h
|
10 years ago |
Andrew Waterman
|
ee80f2851a
|
PUM -> SUM; expose MXR to S-mode
|
10 years ago |
Andrew Waterman
|
5ed1c1f9de
|
Simplify interrupt-stack discipline
f2ed45b179
|
10 years ago |
Andrew Waterman
|
17e3ef9618
|
Implement mstatus.TW, mstatus.TVM, and mstatus.TSR
|
10 years ago |
Andrew Waterman
|
3c8dafeef0
|
Don't overload illegal instruction trap in interactive code
|
10 years ago |
Andrew Waterman
|
cbaa72d24c
|
Sv57 and Sv64 are not spec'd yet
|
10 years ago |
Andrew Waterman
|
6db0707687
|
New counter enable scheme
https://github.com/riscv/riscv-isa-manual/issues/10
|
10 years ago |
Andrew Waterman
|
13639b9c45
|
serialize simulator on wfi
This improves simulator perf when a thread is idle, or waiting on HTIF.
|
10 years ago |
Andrew Waterman
|
b47e8c0a19
|
Take M-mode interrupts over S-mode interrupts
|
10 years ago |
Andrew Waterman
|
f478eef851
|
permit MMIO loads to MSIP bit
|
10 years ago |
Andrew Waterman
|
67cd71d9ec
|
Make HW setting of PTE A/D bits optional (by configure arg)
https://github.com/riscv/riscv-isa-manual/issues/14
|
10 years ago |
Andrew Waterman
|
eace559960
|
Spike uarch needs TLB flush after SPTBR write
|
10 years ago |
Andrew Waterman
|
d503765577
|
sfence.vm -> sfence.vma
|
10 years ago |
Andrew Waterman
|
a30f158300
|
Encode VM type in sptbr, not mstatus
https://github.com/riscv/riscv-isa-manual/issues/4
Also, refactor gdbserver code to not duplicate VM decoding logic.
|
10 years ago |
Tim Newsome
|
daaf28f729
|
Merge pull request #83 from bacam/gdb-protocol-fixes
Gdb protocol fixes
|
10 years ago |
Andrew Waterman
|
9e012462f5
|
Fix interrupt delegation for coprocessors
|
10 years ago |
Andrew Waterman
|
6642f8c745
|
For FMIN(sNaN, x) and FMIN(qNaN, qNaN), return canonical NaN
Resolves #76
|
10 years ago |
Andrew Waterman
|
d392463e5c
|
Set xPIE=1 on xRET
Resolves #88.
|
10 years ago |
Andrew Waterman
|
e9e30598e0
|
Only allow SIP.SSIP to be toggled if the interrupt is delegated
|
10 years ago |
Andrew Waterman
|
b387326dbc
|
Make SIP.STIP read-only
h/t Ron Minnich
See https://groups.google.com/a/groups.riscv.org/forum/#!topic/isa-dev/JV-Hj3W5Kw8
|
10 years ago |
David Craven
|
51a0e1e965
|
Comply with GNU coding standards.
Currently the DESTDIR variable is not used correctly which leads to
bogus RUNPATH entries.
https://www.gnu.org/prep/standards/html_node/DESTDIR.html
|
10 years ago |
Brian Campbell
|
f38dcde0d8
|
Only read exception flag in gdb register read/write. (#85)
The flag is 32 bits, and if we read 64/128 bits then we get fragments of
S1 too and can accidentally send an error. Fixes #84.
|
10 years ago |
Brian Campbell
|
7647707a60
|
Fix gdb communication error (#82)
|
10 years ago |
Brian Campbell
|
71f64bfe4e
|
Remove extra gdb protocol responses on register writes
|
10 years ago |
Brian Campbell
|
9e3b7bdc5a
|
Fix gdb protocol register read of S0
|
10 years ago |
Stefan O'Rear
|
07ff3f3b0b
|
Use correct format codes for reg_t and size_t
Fixes 32-bit build.
|
10 years ago |
Tim Newsome
|
7e31f49535
|
Fix single stepping over faulting instructions. (#80)
|
10 years ago |
Tim Newsome
|
481afc249e
|
Reuse the ebreak constants in encoding.h.
|
10 years ago |
Andy Wright
|
39ee063f47
|
Added comments about the modified Duff's Device in execute.cc (#77)
|
10 years ago |
Andrew Waterman
|
679d5f5e92
|
Fix 32-bit host portability bug
|
10 years ago |
Ben Gamari
|
3a7393db14
|
Ensure that g++ knows it is building a PCH (#75)
It seems that g++ 5.4 doesn't realize that it is building a precompiled
header unless you pass it -x c++-header.
|
10 years ago |
Andrew Waterman
|
bf8d2b71bb
|
AMOs should always return store faults, not load faults
This commit also factors out the common AMO code into mmu_t.
|
10 years ago |
Tim Newsome
|
ecff67fb34
|
Make reading/writing fpu regs work.
Temporarily turn them on in mstatus if necessary.
|
10 years ago |
Tim Newsome
|
53db924b02
|
Minor code cleanup.
|
10 years ago |
Tim Newsome
|
0b554a92ff
|
Check for exception after register write.
|
10 years ago |