35 Commits (77a5df569451571d608650a34183d53df99790ec)

Author SHA1 Message Date
Andrew Waterman d5909ee6f6 Report correct scause when faulting while fetching emulated instruction 7 years ago
Andrew Waterman 16476bd821 Properly license all nontrivial files 8 years ago
Wesley W. Terpstra 2bbd8e1a1b
mtrap: add a halt IPI used for poweroff (#86) 8 years ago
Wesley W. Terpstra e94752f4ee
mtrap: loop forever, really 8 years ago
Palmer Dabbelt 132c6292bb Add a 16550 UART driver to back the SBI console 8 years ago
Palmer Dabbelt d1849cb5e3 Remove the platform interface 9 years ago
Palmer Dabbelt 9204785053 Detect harts that can't boot Linux instead of hard-coding them 9 years ago
Wesley W. Terpstra 3f20915eff finisher: support terminating sifive devices simulation (#61) 9 years ago
Palmer Dabbelt ca24f3c904 Add the '--enable-print-device-tree' argument 9 years ago
Palmer Dabbelt 298984cbe6 Move DISABLED_HART_MASK to the platform 9 years ago
Palmer Dabbelt 62effc6bfe Allow the platform to disable HTIF 9 years ago
Andrew Waterman 5f736b9ab8 Always write sbadaddr on trap redirection 9 years ago
Andrew Waterman a2c8937e63 Remove num_harts; use hart_mask exclusively 9 years ago
Andrew Waterman dce2b7dd8e Rename HART_MASK to DISABLED_HART_MASK to clarify polarity 9 years ago
Wesley W. Terpstra 8b4421bacb bbl: prevent named cores from booting 9 years ago
Wesley W. Terpstra 9fa7b30887 uart: add physical device driver 9 years ago
Andrew Waterman 3473915b3a Separate page faults from physical memory access exceptions 9 years ago
Andrew Waterman cfc4554bc6 Simplify interrupt-stack discipline 9 years ago
Andrew Waterman 59484c94e1 WIP on SBI 9 years ago
Andrew Waterman 7c47650298 Handle IPIs and timer interrupts more quickly 9 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 4678e84c04 Incorporate sptbr/sfence.vma changes 9 years ago
Andrew Waterman f6b2274af4 avoid non-standard predefined macros 9 years ago
Andrew Waterman 7a71068853 Acquire lock before attempting tohost/fromhost sequences 10 years ago
Sagar Karandikar f73dee6f2c add htif section in linker script, with ALIGNs to prevent MMIO and data from being placed on same page (#32) 10 years ago
Andrew Waterman 748eee73a1 Improve trap redirection code 10 years ago
Andrew Waterman 771c1163d3 Clear IPIs using MMIO, not mip CSR 10 years ago
Andrew Waterman 1bcab7872c Poll HTIF console on timer interrupt 10 years ago
Andrew Waterman ee610c0ff8 Find IPI address in configuration string 10 years ago
Andrew Waterman 2001632142 Don't use tohost/fromhost registers; communicate with host via memory 10 years ago
Andrew Waterman 66776bbc3e Remove mtime/mtimecmp 10 years ago
Andrew Waterman f16e9311bf Remove dead code 10 years ago
Andrew Waterman 82382a1290 Set time comparator correctly on RV32 10 years ago
Andrew Waterman b94c7a4b07 Refactor pk, bbl, machine into separate libraries 10 years ago
Andrew Waterman 80447e5711 Disentangle PK and BBL a bit 10 years ago
Andrew Waterman bbc9a65fed Begin refactoring emulation code 10 years ago
Andrew Waterman 82dcccf73c Don't request KB interrupt til first call to sbi_console_getchar 10 years ago
Andrew Waterman 3dd00b900c Simplify boot code 10 years ago
Andrew Waterman dea1fa15f2 Fix vsnprintf infinite loop 10 years ago
Andrew Waterman d2d2e0a55c Remove SBI HTIF support; add console_getchar 10 years ago
Andrew Waterman 4991166b0c Use simpler, less-general IPI interface 10 years ago
Andrew Waterman 573c7d3f12 fix comment 10 years ago
Andrew Waterman 28d64a2227 Add SBI calls for remote I$/TLB flushes 10 years ago
Andrew Waterman 3c0620321d WIP on priv spec v1.9 10 years ago
Andrew Waterman ad7a60abea WIP on priv spec v1.9 10 years ago
Andrew Waterman 85ae17aa14 Write 1 to MIPI, not 0 10 years ago
Darius Rad 6300bfbbf8 Fix --disable-fp-emulation. 11 years ago
Andrew Waterman 47f9e06fc2 Read and use devicetree -- THIS BREAKS ROCKET FOR NOW 11 years ago
Andrew Waterman a6da37f217 New M-mode timer and SBI call to use it 11 years ago