Andrew Waterman
817e7d0dfe
pk: only access user memory through explicit accessors
Enforced with sstatus.SUM.
5 years ago
Andrew Waterman
5c159feca1
Remove unused file_stat, copy_stat functions
5 years ago
Luís Marques
43969b149e
Implement dup3 syscall ( #162 )
7 years ago
Andrew Waterman
7389e46cd0
Move DRAM to high addresses
10 years ago
Andrew Waterman
b94c7a4b07
Refactor pk, bbl, machine into separate libraries
Yuck.
10 years ago
Andrew Waterman
7016bac5df
Fix struct stat size mismatch for RV32
10 years ago
Darius Rad
b9961802ce
Fix macros for emulating atomic operations (--disable-atomics).
11 years ago
Andrew Waterman
4a37572381
Add ftruncate syscall
11 years ago
Andrew Waterman
6517fe26a2
Update to new privileged spec
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
Christopher Celio
b222ef6bcb
Increased max number of files,fds statically supported by pk.
The SPECINT benchmark 445.gobmk reads in a lot of files and would
sometimes fail due to being unable to open more files.
11 years ago
Andrew Waterman
2934c5a65f
Add file reference counting sanity check
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
d7e575c453
Use atomic_cas instead of __sync_bool_compare_and_swap
12 years ago
Andrew Waterman
f1f8dbbed0
Abandon MIPS convention for indicating syscall errors in register a3
12 years ago
Andrew Waterman
f62e692e72
Update to new privileged ISA
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
15f31b5404
new supervisor mode
14 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
bbd999a00e
[sim,pk] cleanups & initial virtual memory support
15 years ago
Andrew Waterman
a7259c6221
[pk] fixed lseek syscall
15 years ago
Andrew Waterman
666ae0c9e5
[pk,fesvr] pk now loads elfs itself
this allows it to detect 32b binaries
15 years ago
Andrew Waterman
5490b1d627
[pk] send stdout/stderr to both fesvr and debug console
15 years ago
Andrew Waterman
77c382ff23
[pk] improved performance of fp emulation
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
4680e0d2d0
[pk,sim] removed cop0 console i/o support
16 years ago
Andrew Waterman
b24c0f1a1e
[pk,sim] first cut of appserver communication link
16 years ago
Andrew Waterman
263c2ff7d8
[pk,sim] added temporary "exit" functionality
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