Christopher Celio
|
7b6a968c83
|
Changes to allow spike & RTL behavior to better match each other.
- EI turned off on sys_exit.
- IM/IP cleared on start.
- badvaddr only saved to tf on page faults.
|
12 years ago |
Andrew Waterman
|
e3fa35fb85
|
Handle options before vm_init is called
This prevents ptbr etc. from being accessed when -p is passed.
|
12 years ago |
Andrew Waterman
|
a421961a41
|
Fix file reference counting bug in physical address mode
|
12 years ago |
Andrew Waterman
|
2934c5a65f
|
Add file reference counting sanity check
|
12 years ago |
Andrew Waterman
|
053aa8ff80
|
Turn off interrupts when talking to host
|
12 years ago |
Colin Schmidt
|
8fc3a35ba5
|
Allow mmap to map new segments larger than 1 page on top of existing mappings and add mprotect syscall
|
12 years ago |
Colin Schmidt
|
863e01b990
|
remove debug print statements
|
12 years ago |
Colin Schmidt
|
7790a3cc37
|
determine the address for an mmap before setuping the vmr
|
12 years ago |
Colin Schmidt
|
e50dc18f5d
|
Add several syscalls, and move syscall header file from newlib
syscalls added (openat, access, accessat, faccessat, etc.)
|
12 years ago |
Andrew Waterman
|
894fe673b4
|
Support mmapping files whose length is not divisible by pgsize
|
12 years ago |
Scott Beamer
|
3d8acf5bf5
|
fixes vm leak. pages that faulted never decref'd their vmr so it wasn't reused
|
12 years ago |
Christopher Celio
|
75bc78fac8
|
PK now advances past breakpoint.
|
12 years ago |
Andrew Waterman
|
d7e575c453
|
Use atomic_cas instead of __sync_bool_compare_and_swap
|
12 years ago |
Stephen Twigg
|
5a7be7d173
|
Sync encoding.h with opcodes
|
12 years ago |
Andrew Waterman
|
249cea820c
|
New FP encoding
|
12 years ago |
Andrew Waterman
|
a43d87cf0a
|
Add fclass.{s|d} instructions
|
12 years ago |
Yunsup Lee
|
07599f5833
|
Renumber uarch CSRs into custom CSR space
|
12 years ago |
Andrew Waterman
|
7c958898bb
|
Revert to old AUIPC definition
|
12 years ago |
Yunsup Lee
|
8b310c29a2
|
commit missing definitions for uarch counters
|
12 years ago |
Andrew Waterman
|
f1f8dbbed0
|
Abandon MIPS convention for indicating syscall errors in register a3
|
12 years ago |
Andrew Waterman
|
ac88604e88
|
Minor cleanup
|
12 years ago |
Andrew Waterman
|
b71e8ecfda
|
Assume pc-relative addressing
|
12 years ago |
Andrew Waterman
|
5cd583648d
|
Speed up glibc init
|
12 years ago |
Andrew Waterman
|
85c6c88804
|
Respect rounding mode for FP -> Int conversions
|
12 years ago |
Andrew Waterman
|
89a0cefd28
|
Add -p flag: force physical memory addressing
|
12 years ago |
Andrew Waterman
|
a502c24732
|
Remove redundant initialization
|
12 years ago |
Andrew Waterman
|
dc49b2b13a
|
Add times syscall
|
12 years ago |
Andrew Waterman
|
f62e692e72
|
Update to new privileged ISA
|
13 years ago |
Yunsup Lee
|
a8889d65d2
|
fix slli/slliw encoding bug
|
13 years ago |
Andrew Waterman
|
6c0a4423c5
|
Add gettimeofday syscall
|
13 years ago |
Yunsup Lee
|
43c14ea417
|
sync pcr.h, correctly name SR_EA
|
13 years ago |
Andrew Waterman
|
d1412a1cb9
|
Update ISA encoding in emulation routines
|
13 years ago |
Andrew Waterman
|
1f378f55b3
|
Fix rv32 bug
|
13 years ago |
Scott Beamer
|
b9fcbcb842
|
expanding instructions to match the way it is called by build.sh in riscv-tools
|
13 years ago |
Andrew Waterman
|
2960fa547a
|
Update ISA encoding
|
13 years ago |
Andrew Waterman
|
5e742ad967
|
Add pk flag -s to print out stats
(the only stat is cycle count)
|
13 years ago |
Andrew Waterman
|
4ff4af9173
|
Update opcodes
|
13 years ago |
Andrew Waterman
|
00f7299824
|
Add some syscalls
|
13 years ago |
Andrew Waterman
|
2a0bfcd3da
|
Don't clobber the ELF headers!
|
13 years ago |
Andrew Waterman
|
ecb15c6cab
|
Limit program size to simplify RV32
|
13 years ago |
Andrew Waterman
|
186ae3cc35
|
Renumber PCRs; refer to them with new ASM syntax
|
13 years ago |
Andrew Waterman
|
2f7d5b9ee2
|
Rename MTFSR/MFFSR to FSSR/FRSR
|
13 years ago |
Andrew Waterman
|
8416e35fae
|
Use macro instead of function for save_tf
|
13 years ago |
Andrew Waterman
|
33a258dd76
|
Use new ABI register names
|
13 years ago |
Andrew Waterman
|
a43ca9b064
|
use FATC, not PTBR, to flush addr translations
|
13 years ago |
Andrew Waterman
|
3168b8a904
|
New supervisor mode
|
13 years ago |
Andrew Waterman
|
80a4afcb47
|
Remove extraneous printk
|
13 years ago |
Andrew Waterman
|
cc72987e65
|
Support Linux ABI and (optionally) virtual memory
|
13 years ago |
Christopher Celio
|
0bdb8c8409
|
Fixed -lgcc bug in configure.ac (needed for -m32)
|
13 years ago |
Andrew Waterman
|
4a8de9ed72
|
add sample code for remote frame buffer
|
13 years ago |