aboutsummaryrefslogtreecommitdiff
path: root/machine/mtrap.c
AgeCommit message (Expand)AuthorFilesLines
2022-02-17Fix sbi_console_getchar return value if no UART is presentAndrew Waterman1-1/+1
2021-05-05machine: replace `mbadaddr` with `mtval` (#242)Saleem Abdulrasool1-2/+2
2021-05-05replace `sbadaddr` with `stval` (#243)Saleem Abdulrasool1-1/+1
2020-12-15Add support for the UART interface on the LiteX SoC (#230)gsomlo1-0/+5
2019-07-05Report correct scause when faulting while fetching emulated instructionAndrew Waterman1-3/+19
2018-07-09Properly license all nontrivial filesAndrew Waterman1-0/+2
2018-03-05mtrap: add a halt IPI used for poweroff (#86)Wesley W. Terpstra1-11/+12
2018-01-22mtrap: loop forever, reallyWesley W. Terpstra1-1/+1
2017-12-12Add a 16550 UART driver to back the SBI consolePalmer Dabbelt1-0/+5
2017-11-03Remove the platform interfacePalmer Dabbelt1-4/+3
2017-11-02Detect harts that can't boot Linux instead of hard-coding themPalmer Dabbelt1-1/+2
2017-08-14finisher: support terminating sifive devices simulation (#61)Wesley W. Terpstra1-2/+5
2017-08-03Add the '--enable-print-device-tree' argumentPalmer Dabbelt1-4/+8
2017-08-02Move DISABLED_HART_MASK to the platformPalmer Dabbelt1-1/+1
2017-08-02Allow the platform to disable HTIFPalmer Dabbelt1-3/+10
2017-04-11Always write sbadaddr on trap redirectionAndrew Waterman1-4/+4
2017-04-05Remove num_harts; use hart_mask exclusivelyAndrew Waterman1-1/+2
2017-04-05Rename HART_MASK to DISABLED_HART_MASK to clarify polarityAndrew Waterman1-1/+1
2017-04-05bbl: prevent named cores from bootingWesley W. Terpstra1-0/+1
2017-03-27uart: add physical device driverWesley W. Terpstra1-2/+11
2017-03-27Separate page faults from physical memory access exceptionsAndrew Waterman1-2/+10
2017-03-16Simplify interrupt-stack disciplineAndrew Waterman1-2/+2
2017-02-20WIP on SBIAndrew Waterman1-43/+35
2017-02-19Handle IPIs and timer interrupts more quicklyAndrew Waterman1-52/+23
2017-02-17WIP towards ECALL interface for SBIAndrew Waterman1-8/+0
2017-02-15Cleanly separate HTIF code; don't poll keyboard on timer interruptAndrew Waterman1-83/+6
2017-02-15Incorporate sptbr/sfence.vma changesAndrew Waterman1-1/+3
2016-12-06avoid non-standard predefined macrosAndrew Waterman1-1/+1
2016-11-04Acquire lock before attempting tohost/fromhost sequencesAndrew Waterman1-12/+23
2016-08-16add htif section in linker script, with ALIGNs to prevent MMIO and data from ...Sagar Karandikar1-2/+2
2016-07-16Improve trap redirection codeAndrew Waterman1-7/+6
2016-06-01Clear IPIs using MMIO, not mip CSRAndrew Waterman1-1/+1
2016-05-05Poll HTIF console on timer interruptAndrew Waterman1-2/+15
2016-05-03Find IPI address in configuration stringAndrew Waterman1-2/+1
2016-05-02Don't use tohost/fromhost registers; communicate with host via memoryAndrew Waterman1-13/+18
2016-04-29Remove mtime/mtimecmpAndrew Waterman1-7/+3
2016-03-10Remove dead codeAndrew Waterman1-2/+0
2016-03-10Set time comparator correctly on RV32Andrew Waterman1-4/+9
2016-03-09Refactor pk, bbl, machine into separate librariesAndrew Waterman1-0/+287