Andrew Waterman
b9eba474fb
pk: support >2 GiB of user memory for RV64
Previously, the pk would always run from virtual address MEM_START.
Instead, remap it into the negative virtual addresses, allowing user
processes to expand beyond MEM_START.
5 years ago
Andrew Waterman
5c159feca1
Remove unused file_stat, copy_stat functions
5 years ago
Andrew Waterman
926b360655
WIP towards ECALL interface for SBI
9 years ago
Andrew Waterman
611290ccde
Cleanly separate HTIF code; don't poll keyboard on timer interrupt
9 years ago
Andrew Waterman
6bead31951
zero-extend RV32 physical addresses for HTIF
10 years ago
Andrew Waterman
80447e5711
Disentangle PK and BBL a bit
10 years ago
Andrew Waterman
d2d2e0a55c
Remove SBI HTIF support; add console_getchar
10 years ago
Andrew Waterman
7016bac5df
Fix struct stat size mismatch for RV32
10 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
a79f62f72a
Merge [shm]call into ecall, [shm]ret into eret
11 years ago
Andrew Waterman
438823e130
Use hcall instead of mcall for sbi calls
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
Andrew Waterman
053aa8ff80
Turn off interrupts when talking to host
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
f62e692e72
Update to new privileged ISA
13 years ago
Andrew Waterman
accebe9e63
add BSD license
13 years ago
Andrew Waterman
8c4a41f983
fix spinlocks; add --disable-atomics cfg opt
14 years ago
Andrew Waterman
2260383b52
new tohost/fromhost semantics
14 years ago
Andrew Waterman
0edaecc543
temporary undoing of renaming
15 years ago
Andrew Waterman
e63e4fbe87
Renamed packages
15 years ago
Andrew Waterman
bbd999a00e
[sim,pk] cleanups & initial virtual memory support
15 years ago
Andrew Waterman
69ddca76d2
[pk] add cache flush after program load
15 years ago
Andrew Waterman
64d0c6765c
[xcc,pk,sim] added privileged cflush instruction
15 years ago
Andrew Waterman
4baf0c99c5
[xcc,pk,opcodes,sim] updated encoding/insn names
15 years ago
Yunsup Lee
2b7fd5fa6a
[pk] no amos for now, add a sync before triggering the frontend
16 years ago
Andrew Waterman
2351867c65
[sim, xcc] added PCRs to replace k0 and k1
16 years ago
Andrew Waterman
dd84f5743d
[pk] proxy kernel support for mixed 32b/64b operation
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
b93785370d
[pk,sim,xcc] Renamed instructions to RISC-V spec
All word-sized arithmetic operations are now postfixed with 'w',
and all double-word-sized arithmetic operations are no longer
prefixed with 'd'. mtc0/mfc0 are removed and replaced with
mfpcr/mtpcr/mwfpcr/mwtpcr.
16 years ago
Yunsup Lee
be79835df7
[pk] change fromhost loop condition
16 years ago
Andrew Waterman
b24c0f1a1e
[pk,sim] first cut of appserver communication link
16 years ago