Andrew Waterman
|
4678e84c04
|
Incorporate sptbr/sfence.vma changes
|
9 years ago |
Andrew Waterman
|
f6b2274af4
|
avoid non-standard predefined macros
|
9 years ago |
Andrew Waterman
|
7a71068853
|
Acquire lock before attempting tohost/fromhost sequences
|
10 years ago |
Sagar Karandikar
|
f73dee6f2c
|
add htif section in linker script, with ALIGNs to prevent MMIO and data from being placed on same page (#32)
|
10 years ago |
Andrew Waterman
|
748eee73a1
|
Improve trap redirection code
|
10 years ago |
Andrew Waterman
|
771c1163d3
|
Clear IPIs using MMIO, not mip CSR
|
10 years ago |
Andrew Waterman
|
1bcab7872c
|
Poll HTIF console on timer interrupt
|
10 years ago |
Andrew Waterman
|
ee610c0ff8
|
Find IPI address in configuration string
|
10 years ago |
Andrew Waterman
|
2001632142
|
Don't use tohost/fromhost registers; communicate with host via memory
|
10 years ago |
Andrew Waterman
|
66776bbc3e
|
Remove mtime/mtimecmp
|
10 years ago |
Andrew Waterman
|
f16e9311bf
|
Remove dead code
|
10 years ago |
Andrew Waterman
|
82382a1290
|
Set time comparator correctly on RV32
The old code truncated the upper 32 bits, and even if it got that right,
it would have generated spurious interrupts.
|
10 years ago |
Andrew Waterman
|
b94c7a4b07
|
Refactor pk, bbl, machine into separate libraries
Yuck.
|
10 years ago |
Andrew Waterman
|
80447e5711
|
Disentangle PK and BBL a bit
|
10 years ago |
Andrew Waterman
|
bbc9a65fed
|
Begin refactoring emulation code
|
10 years ago |
Andrew Waterman
|
82dcccf73c
|
Don't request KB interrupt til first call to sbi_console_getchar
|
10 years ago |
Andrew Waterman
|
3dd00b900c
|
Simplify boot code
|
10 years ago |
Andrew Waterman
|
dea1fa15f2
|
Fix vsnprintf infinite loop
|
10 years ago |
Andrew Waterman
|
d2d2e0a55c
|
Remove SBI HTIF support; add console_getchar
|
10 years ago |
Andrew Waterman
|
4991166b0c
|
Use simpler, less-general IPI interface
No need for active messages in this context.
|
10 years ago |
Andrew Waterman
|
573c7d3f12
|
fix comment
|
10 years ago |
Andrew Waterman
|
28d64a2227
|
Add SBI calls for remote I$/TLB flushes
|
10 years ago |
Andrew Waterman
|
3c0620321d
|
WIP on priv spec v1.9
|
10 years ago |
Andrew Waterman
|
ad7a60abea
|
WIP on priv spec v1.9
|
10 years ago |
Andrew Waterman
|
85ae17aa14
|
Write 1 to MIPI, not 0
|
10 years ago |
Darius Rad
|
6300bfbbf8
|
Fix --disable-fp-emulation.
|
11 years ago |
Andrew Waterman
|
47f9e06fc2
|
Read and use devicetree -- THIS BREAKS ROCKET FOR NOW
|
11 years ago |
Andrew Waterman
|
a6da37f217
|
New M-mode timer and SBI call to use it
|
11 years ago |
Andrew Waterman
|
cffdcee338
|
Make boot loader/SBI changes to support SMP Linux
|
11 years ago |
Andrew Waterman
|
c5f18f61c0
|
Add sbi_shutdown call
|
11 years ago |
Andrew Waterman
|
1a8572a47d
|
Upgrade to privileged architecture 1.7
|
11 years ago |
Andrew Waterman
|
e554f30be8
|
Don't rely on mstatus.fs to determine FPU presence
|
11 years ago |
Andrew Waterman
|
f6659f1c76
|
Make printk safer and use less stack
|
11 years ago |
Andrew Waterman
|
a79f62f72a
|
Merge [shm]call into ecall, [shm]ret into eret
|
11 years ago |
Andrew Waterman
|
438823e130
|
Use hcall instead of mcall for sbi calls
|
11 years ago |
Andrew Waterman
|
6517fe26a2
|
Update to new privileged spec
|
11 years ago |