Andrew Waterman
|
f6eff20106
|
Udpate to new PTE format
|
10 years ago |
Andrew Waterman
|
8b41191ccd
|
Initialize timecmp; add PRCI test
|
10 years ago |
Andrew Waterman
|
1e62fdfce7
|
PLIC registers are 32-bit, not 16-bit
|
10 years ago |
Andrew Waterman
|
771c1163d3
|
Clear IPIs using MMIO, not mip CSR
|
10 years ago |
Andrew Waterman
|
f70ee5576a
|
speed up memcpy for aligned bases but misaligned length
|
10 years ago |
Andrew Waterman
|
e3afbd7c24
|
Remove debug printfs
|
10 years ago |
Andrew Waterman
|
113d00e652
|
Add preliminary support for the interrupt controller
|
10 years ago |
Andrew Waterman
|
1bcab7872c
|
Poll HTIF console on timer interrupt
|
10 years ago |
Andrew Waterman
|
552bc9bf1b
|
Add missing casts for RV32
|
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
|
06dfae8a04
|
Fix loading of config string pointer
|
10 years ago |
Andrew Waterman
|
7389e46cd0
|
Move DRAM to high addresses
|
10 years ago |
Andrew Waterman
|
1a9aefdd00
|
Split out config string parser
|
10 years ago |
Andrew Waterman
|
b535cd6dc8
|
ERET -> MRET
|
10 years ago |
Andrew Waterman
|
66776bbc3e
|
Remove mtime/mtimecmp
|
10 years ago |
Andrew Waterman
|
de16a763e6
|
Use mbadaddr to speed up misaligned ld/st emulation
|
10 years ago |
Garret Kelly
|
1baf122e28
|
pk: proxy chdir syscall to fesvr
|
10 years ago |
Andrew Waterman
|
d114ddb3ec
|
Remove Chris Batten COPYING file
It's vestigial; he didn't work on this project.
|
10 years ago |
Andrew Waterman
|
ee00503ebe
|
Don't assume existence of uarch counters
|
10 years ago |
Andrew Waterman
|
0eface07b9
|
Use panic, not die, to terminate elf loader
|
10 years ago |
SeungRyeol Lee
|
10e9fa3609
|
fix multilib build error. it's type casting related.
|
10 years ago |
Andrew Waterman
|
d527883483
|
Misc improvements
|
10 years ago |
Andrew Waterman
|
469c5f16a7
|
Make num_harts a uintptr_t
Making it a uint32_t is a false economy.
|
10 years ago |
Andrew Waterman
|
8bd01c7999
|
Update encoding
|
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
|
ccf79891f0
|
Factor emulation routines into multiple files
|
10 years ago |
Andrew Waterman
|
b94c7a4b07
|
Refactor pk, bbl, machine into separate libraries
Yuck.
|
10 years ago |
Andrew Waterman
|
f5a96732cb
|
Fix ifdef guard on FCSR instructions
|
10 years ago |
Andrew Waterman
|
33ed6c6c5e
|
get rid of struct mainvars
|
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
|
802f0cf1b5
|
fix medeleg typo
|
10 years ago |
Andrew Waterman
|
fba40b7a8c
|
Use new counter-enable CSRs
|
10 years ago |
Andrew Waterman
|
5e29b5ccff
|
Use RV configuration string instead of device tree
|
10 years ago |
Andrew Waterman
|
dea1fa15f2
|
Fix vsnprintf infinite loop
|
10 years ago |
Andrew Waterman
|
39c89b7db5
|
WIP on priv spec v1.9
|
10 years ago |
Andrew Waterman
|
d2d2e0a55c
|
Remove SBI HTIF support; add console_getchar
|
10 years ago |
Andrew Waterman
|
75471727f8
|
New definitions of misa/marchid/mvendorid
|
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
|
bf9ee5ca11
|
simplify pk atomics and add atomic_or
|
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
|
26a9320050
|
sptbr now holds a PPN, not an address
|
10 years ago |
Andrew Waterman
|
3c0620321d
|
WIP on priv spec v1.9
|
10 years ago |
Andrew Waterman
|
e984b263e0
|
Cap main memory size at 2 GiB for RV32
This works around HTIF limitations and can later be removed.
|
10 years ago |
Andrew Waterman
|
a844b59be2
|
Remove sbi_printk macro
|
10 years ago |