Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-09-16 | Initialize FCSR on boot | Andrew Waterman | 1 | -0/+1 | |
2015-09-14 | Initialize mtimecmp for debuggability | Andrew Waterman | 1 | -0/+1 | |
2015-09-14 | Increase VMR limit for SPEC | Andrew Waterman | 1 | -6/+11 | |
2015-09-14 | Add ftruncate syscall | Andrew Waterman | 4 | -0/+22 | |
2015-09-14 | Zero-initialize x-registers for debuggability | Andrew Waterman | 1 | -0/+33 | |
2015-09-11 | Stub out a few system calls | Andrew Waterman | 2 | -0/+8 | |
2015-09-11 | Fix single-precision FP emulation | Andrew Waterman | 1 | -1/+1 | |
2015-09-08 | Disable RVC in fixed-size assembly blocks | Andrew Waterman | 3 | -27/+44 | |
2015-09-03 | Fix RVC build | Andrew Waterman | 2 | -2/+2 | |
2015-07-28 | Fix DECLARE_CAUSE macros | Andrew Waterman | 1 | -66/+12 | |
2015-07-24 | Store RV logo in rodata, rather than making it on the fly | Andrew Waterman | 1 | -44/+25 | |
This works around a stack overflow. | |||||
2015-07-24 | Undo last commit | Andrew Waterman | 3 | -4/+5 | |
It breaks programs that rely on ELF program headers. | |||||
2015-07-23 | Avoid stack overflow with -msoft-float | Andrew Waterman | 4 | -5/+8 | |
2015-07-22 | Don't let brk stomp on mmap'd regions | Andrew Waterman | 1 | -1/+1 | |
We were already trying to handle this case, but we got it wrong. | |||||
2015-07-05 | New M-mode timer and SBI call to use it | Andrew Waterman | 8 | -42/+100 | |
2015-06-24 | Use sbadaddr (not sepc) to resolve instruction page faults | Andrew Waterman | 2 | -6/+6 | |
2015-06-11 | Fully initialize page tables to zero | Andrew Waterman | 1 | -1/+2 | |
Previously, a bug caused only some page tables to be zeroed on RV64. | |||||
2015-06-02 | Fix regression causing sbrk to fail spuriously | Andrew Waterman | 1 | -3/+3 | |
2015-05-31 | Assume RTC frequency of 10 MHz | Andrew Waterman | 1 | -1/+1 | |
Of course, this should probably be read from a CSR or platform register. | |||||
2015-05-29 | Make boot loader/SBI changes to support SMP Linux | Andrew Waterman | 13 | -61/+183 | |
2015-05-28 | "Fix" mremap bug by returning -ENOSYS | Andrew Waterman | 1 | -29/+1 | |
mremap was badly broken, and maybe it's not worth the time to fix it. glibc still seems to work ok, because the malloc implementation handles mremap failure gracefully (though at a performance cost). | |||||
2015-05-14 | Add sbi_shutdown call | Andrew Waterman | 5 | -10/+27 | |
2015-05-14 | Fix VM, MIP encoding | Andrew Waterman | 1 | -6/+6 | |
2015-05-10 | Split pk functionality into pk and bbl | Andrew Waterman | 12 | -105/+132 | |
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). | |||||
2015-05-09 | Upgrade to privileged architecture 1.7 | Andrew Waterman | 13 | -200/+282 | |
2015-05-08 | Initialize the mailbox on boot | Andrew Waterman | 1 | -0/+6 | |
This fixes a bug when running on HW. | |||||
2015-05-02 | Add ASCII art boot logo | Andrew Waterman | 5 | -0/+61 | |
It's only printed when booting the Linux kernel. Feel free to improve the quality of the ASCII art. It looks like this when rendered: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvvvvvvvvvvvvvv rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvvvv rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv rr vvvvvvvvvvvvvvvvvvvvvv rr vvvvvvvvvvvvvvvvvvvvvvvv rr rrrr vvvvvvvvvvvvvvvvvvvvvvvvvv rrrr rrrrrr vvvvvvvvvvvvvvvvvvvvvv rrrrrr rrrrrrrr vvvvvvvvvvvvvvvvvv rrrrrrrr rrrrrrrrrr vvvvvvvvvvvvvv rrrrrrrrrr rrrrrrrrrrrr vvvvvvvvvv rrrrrrrrrrrr rrrrrrrrrrrrrr vvvvvv rrrrrrrrrrrrrr rrrrrrrrrrrrrrrr vv rrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrr INSTRUCTION SETS WANT TO BE FREE | |||||
2015-04-30 | Assume even less about mstatus reset value | Andrew Waterman | 1 | -2/+3 | |
2015-04-24 | "Fix" RV32 programs running on RV64 pk | Andrew Waterman | 1 | -0/+4 | |
Only allocate virtual addresses under 2^31. We might revise the RV32-on-RV64 semantics to zero-extend the RV32 virtual addresses, which would allow the user program's use of the full 4 GB. | |||||
2015-04-19 | Fix loading of misaligned ELF segments | Andrew Waterman | 1 | -1/+1 | |
2015-04-10 | Fix stack discipline for recursive traps | Andrew Waterman | 6 | -19/+25 | |
2015-04-03 | Make PK compile on RV32 | Andrew Waterman | 5 | -429/+498 | |
Of course, it doesn't work, because there's no support for fromhost/tohost devices in RV32. | |||||
2015-03-31 | Remove errant statement forcing mem size to 64M | Andrew Waterman | 1 | -1/+0 | |
h/t Palmer | |||||
2015-03-31 | Don't rely on mstatus.fs to determine FPU presence | Andrew Waterman | 4 | -52/+78 | |
2015-03-31 | Fix FP store emulation bug | Andrew Waterman | 1 | -1/+1 | |
2015-03-24 | New virtual memory implementation (Sv39) | Andrew Waterman | 4 | -63/+82 | |
2015-03-24 | Make printk safer and use less stack | Andrew Waterman | 3 | -33/+35 | |
2015-03-17 | Merge [shm]call into ecall, [shm]ret into eret | Andrew Waterman | 10 | -118/+131 | |
2015-03-14 | Fix some bugs in FP emulation | Andrew Waterman | 3 | -34/+71 | |
2015-03-12 | Use hcall instead of mcall for sbi calls | Andrew Waterman | 8 | -53/+58 | |
2015-03-12 | Update to new privileged spec | Andrew Waterman | 36 | -861/+2273 | |
2015-02-09 | work in progress on new supervisor spec | Andrew Waterman | 14 | -328/+470 | |
2015-02-09 | Fix FLE.D emulation | Andrew Waterman | 1 | -1/+1 | |
2015-01-30 | Emulate FP CSRs | Andrew Waterman | 2 | -7/+35 | |
2015-01-26 | return -ENOSYS for ioctl, rather than aborting | Andrew Waterman | 2 | -0/+2 | |
2015-01-20 | Support linkat, unlinkat, mkdirat syscalls | Andrew Waterman | 6 | -85/+100 | |
Also, old-style syscalls e.g. open are now implemented with e.g. openat. | |||||
2015-01-20 | Increased max number of files,fds statically supported by pk. | Christopher Celio | 1 | -2/+2 | |
The SPECINT benchmark 445.gobmk reads in a lot of files and would sometimes fail due to being unable to open more files. | |||||
2014-12-11 | Relocate binaries that conflict with the pk's address space | Andrew Waterman | 3 | -19/+13 | |
Of course, this is only possible for PIEs, e.g. the dynamic linker. | |||||
2014-11-22 | Revert "Enable support for the four custom instructions" | Yunsup Lee | 1 | -72/+0 | |
This reverts commit 2fa1726f0ebbe5911cd12c27c42881f17ec43114. Refactoring support for custom instructions. | |||||
2014-10-31 | Implement draft of new calling convention | Andrew Waterman | 5 | -14/+12 | |
Here is the new syscall ABI: syscall number in a7 args in a0 - a6 return value in a0 Here is the integer register map: x0 -> x0 x1 -> ra x2 -> sp x3 -> tp x4 -> gp x5 -> t0 x6 -> t1 x7 -> t2 x8 -> s0 x9 -> s1 x10 -> a0 x11 -> a1 x12 -> a2 x13 -> a3 x14 -> a4 x15 -> a5 x16 -> a6 x17 -> a7 x18 -> s2 x19 -> s3 x20 -> s4 x21 -> s5 x22 -> s6 x23 -> s7 x24 -> s8 x25 -> s9 x26 -> s10 x27 -> s11 x28 -> t3 x29 -> t4 x30 -> t5 x31 -> t6 |