Andrew Waterman
fb4e31229f
Stub out sys_prlimit64
9 years ago
Andrew Waterman
f6b2274af4
avoid non-standard predefined macros
9 years ago
Andrew Waterman
8039c6cacb
For RV32, mmap offset is in 4 KiB increments
10 years ago
Andrew Waterman
558039d546
Add syscall stubs to get through libpthread initializers
10 years ago
Andrew Waterman
0a7862c79f
when -s is passed, print time, instret, cycle, and CPI
10 years ago
Andrew Waterman
d88671efdf
Remove uarch counters
We'll re-add support for the generic performance counter facility once
it exists.
10 years ago
Andrew Waterman
7389e46cd0
Move DRAM to high addresses
10 years ago
Garret Kelly
1baf122e28
pk: proxy chdir syscall to fesvr
10 years ago
Andrew Waterman
ee00503ebe
Don't assume existence of uarch counters
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
7016bac5df
Fix struct stat size mismatch for RV32
10 years ago
Andrew Waterman
31ad71b8a4
Remove incorrect code supporting ELF32 on RV64 and vice-versa
This is technically possible by running an RV32 supervisor on an
RV64 machine, but the M-mode and S-mode code would need to be
compiled and linked separately.
10 years ago
Colin Schmidt
676c953b79
add renameat syscall
10 years ago
Andrew Waterman
4a37572381
Add ftruncate syscall
11 years ago
Andrew Waterman
cc3a93bf30
Stub out a few system calls
11 years ago
Andrew Waterman
87683e74f5
Split pk functionality into pk and bbl
pk is now an AEE only (i.e. it can only execute user programs).
bbl is now an SEE only (i.e. it can only host kernels).
11 years ago
Andrew Waterman
6517fe26a2
Update to new privileged spec
11 years ago
Andrew Waterman
5c86450130
work in progress on new supervisor spec
11 years ago
Andrew Waterman
d05359c14e
return -ENOSYS for ioctl, rather than aborting
11 years ago
Andrew Waterman
0a81fd3a93
Support linkat, unlinkat, mkdirat syscalls
Also, old-style syscalls e.g. open are now implemented with e.g. openat.
11 years ago
Andrew Waterman
fda0d85ae4
Don't rely on the C library
12 years ago
Andrew Waterman
1d953bf6fc
Support glibc 2.20 programs
12 years ago
Christopher Celio
024053cd98
Fix uarch counter printout type.
12 years ago
Christopher Celio
5eba64df88
Added "-c" option to track uarch counter info.
12 years ago
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
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
e50dc18f5d
Add several syscalls, and move syscall header file from newlib
syscalls added (openat, access, accessat, faccessat, etc.)
12 years ago
Andrew Waterman
f1f8dbbed0
Abandon MIPS convention for indicating syscall errors in register a3
12 years ago
Andrew Waterman
dc49b2b13a
Add times syscall
12 years ago
Andrew Waterman
f62e692e72
Update to new privileged ISA
13 years ago
Andrew Waterman
6c0a4423c5
Add gettimeofday syscall
13 years ago
Andrew Waterman
00f7299824
Add some syscalls
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
Andrew Waterman
accebe9e63
add BSD license
13 years ago
Andrew Waterman
8717517e04
Synced up PK with supervisor changes/asm syntax
You must upgrade to the latest compiler and ISA
simulator to build and run this version of the PK.
15 years ago
Andrew Waterman
0edaecc543
temporary undoing of renaming
15 years ago
Andrew Waterman
e63e4fbe87
Renamed packages
15 years ago
Andrew Waterman
be22e4abd5
[pk] made PK smaller
15 years ago
Andrew Waterman
ba0cf05466
[pk] fixed timer interrupt bug, etc.
15 years ago
Yunsup Lee
9fe7d4f656
[pk,sim,xcc] get rid of at register, introduce tp register
16 years ago
Andrew Waterman
b4fd490d68
[pk, sim] added FPU emulation support to proxy kernel
16 years ago
Yunsup Lee
d196c68c35
[pk] new register mappings
16 years ago
Andrew Waterman
29cc0dc985
[pk,fesvr] improved proxykernel build system
Now uses a modified MCPPBS. Add --host=riscv to configure path.
Front-end server now just searches PATH for riscv-pk, so just install the pk
to somewhere in your path.
16 years ago
Andrew Waterman
37ad02e28a
[pk] fixed open syscall parameter being discarded
16 years ago
Andrew Waterman
7fa95f96af
[pk,libgloss] added more front-end system calls
16 years ago
Andrew Waterman
9c43984729
Reorganized directory structure
Moved cross-compiler to /xcc/ rather than /
Added ISA sim in /sim/
Added Proxy Kernel in /pk/ (to be cleaned up)
Added opcode map to /opcodes/ (ditto)
Added documentation to /doc/
16 years ago