Andrew Waterman
|
8006d004a5
|
Attempt to disable FPU if using no-FPU pk/bbl
|
10 years ago |
sashimi-yzh
|
292fb6e737
|
machine, emulation.c: fix the condition of rdtime emulation (#37)
The time counter is enabled with the bit field set in `counteren` CSR.
|
10 years ago |
Andrew Waterman
|
08a6142a04
|
Update to new counter spec
|
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
|
d42f458b6a
|
Don't let other harts boot before HLS is initialized
Use IPIs to signal them.
|
10 years ago |
Andrew Waterman
|
7272e3f9bc
|
Handle misaligned loads in ascending order of byte address
|
10 years ago |
Andrew Waterman
|
748eee73a1
|
Improve trap redirection code
|
10 years ago |
Andrew Waterman
|
023ae43e8d
|
Add FCLASS emulation
|
10 years ago |
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
|
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 |
Andrew Waterman
|
ee00503ebe
|
Don't assume existence of uarch counters
|
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 |