Commit Graph

  • 423801e35d Revert "machine: fix a case of undefined behaviour with SP handling (#245)" Andrew Waterman 2021-08-04 16:40:57 -0700
  • 50b6b6cc28 Revert "Revert "Use a global 'tp' register."" Andrew Waterman 2021-08-04 16:40:23 -0700
  • 18084da901 Revert "Use __builtin_frame_address() instead of "sp" directly." Andrew Waterman 2021-08-04 16:40:14 -0700
  • 17bec41e9b Use __builtin_frame_address() instead of "sp" directly. John Baldwin 2020-01-28 08:27:13 -0800
  • 717702ceec Revert "Use a global 'tp' register." Andrew Waterman 2021-08-04 16:06:11 -0700
  • 450b61e4f7 Use a global 'tp' register. John Baldwin 2020-01-28 08:23:38 -0800
  • 01c83839fd Revert "machine: correct some additional cases of UB (#246)" Andrew Waterman 2021-08-04 16:03:08 -0700
  • ae7348b246
    Set desired endianness at boot time (#247) Marcus Comstedt 2021-06-16 22:49:50 +0200
  • 8b6312d552 Set desired endianness at boot time #247 Marcus Comstedt 2021-06-12 16:49:38 +0200
  • 09521e8550 Add 2-stage translation (for debugging purposes only) remap Andrew Waterman 2021-05-18 18:33:26 -0700
  • e8e6b3aaee Add __early_pgalloc_align; refactor __early_alloc to use it Andrew Waterman 2021-05-18 00:57:48 -0700
  • c72467e151 Fix range check Andrew Waterman 2021-05-18 00:56:56 -0700
  • 4f1e335585 pk: make breakpoints fatal Andrew Waterman 2021-05-07 16:13:56 -0700
  • e8d15a489f
    machine: correct some additional cases of UB (#246) Saleem Abdulrasool 2021-05-07 16:11:18 -0700
  • 5450c2f731
    machine: fix a case of undefined behaviour with SP handling (#245) Saleem Abdulrasool 2021-05-07 16:09:31 -0700
  • c834fbeeb9 machine: correct some additional cases of UB #246 Saleem Abdulrasool 2021-05-07 08:54:45 -0700
  • a975860ae3 machine: fix a case of undefined behaviour with SP handling #245 Saleem Abdulrasool 2021-05-07 07:57:44 -0700
  • 23f1834fc6
    machine: manually perform assembler relaxation (#244) Saleem Abdulrasool 2021-05-06 10:26:05 -0700
  • d3bb224a31 machine: manually perform assembler relaxation #244 Saleem Abdulrasool 2021-05-06 09:34:17 -0700
  • 114b84ba52
    replace `spbtr` with `satp` (#241) Saleem Abdulrasool 2021-05-05 11:35:39 -0700
  • e06e62f4a4
    machine: replace `mbadaddr` with `mtval` (#242) Saleem Abdulrasool 2021-05-05 11:35:17 -0700
  • c624e731bd
    replace `sbadaddr` with `stval` (#243) Saleem Abdulrasool 2021-05-05 11:34:44 -0700
  • 69028032dc replace `sbadaddr` with `stval` #243 Saleem Abdulrasool 2021-05-05 09:34:03 -0700
  • 24aa94b4f5 machine: replace `mbadaddr` with `mtval` #242 Saleem Abdulrasool 2021-05-05 09:32:07 -0700
  • 1b4dc9d8fd replace `spbtr` with `satp` #241 Saleem Abdulrasool 2021-05-05 09:29:09 -0700
  • 12edfed73d
    pk: Fix __clear_cache() compilation issue with recent compilers (#240) Christoph Müllner 2021-04-28 14:51:58 +0200
  • 6c2909fd2f pk: Fix __clear_cache() compilation issue with recent compilers #240 Christoph Muellner 2021-04-28 00:09:43 +0200
  • ef7bebaf9b
    LiteX UART: fix compatible property name (#237) gsomlo 2021-04-05 19:56:28 -0400
  • f2d139a745 LiteX UART: fix compatible property name #237 Gabriel Somlo 2021-03-25 15:25:56 -0400
  • 66d7fcb56d pk: vm cleanups; use narrower TLB flushes Andrew Waterman 2021-03-29 17:02:10 -0700
  • fe4118a691 pk: remove vestigial trapframe_t::insn field Andrew Waterman 2021-03-29 16:49:29 -0700
  • c09d4af850 M-mode code doesn't need access to pk's page table Andrew Waterman 2021-03-29 16:54:09 -0700
  • fe486e5c85 update encoding.h Andrew Waterman 2021-03-29 16:53:35 -0700
  • 96f98f0caa pk: correctly restore sstatus.SUM in strcpy_from_user Andrew Waterman 2021-03-29 16:38:48 -0700
  • 75bbd1ecfa pk: support printk before file init Andrew Waterman 2021-03-26 15:19:30 -0700
  • 168c5cac03 pk: don't init files until VM setup is complete Andrew Waterman 2021-03-26 15:19:10 -0700
  • 146391f7eb pk: refactor vm free list management Andrew Waterman 2021-03-17 01:19:13 -0700
  • b9eba474fb pk: support >2 GiB of user memory for RV64 Andrew Waterman 2021-03-17 00:30:12 -0700
  • 0b5ef9cf75 Add some missing syscall stubs Andrew Waterman 2021-03-16 19:39:17 -0700
  • 6c8e0fd96d pk: avoid assertion failures on brk syscalls Andrew Waterman 2021-02-11 01:03:46 -0800
  • e63232e82d pk: avoid out-of-memory errors Andrew Waterman 2021-02-11 00:56:03 -0800
  • 108c414a77 pk: remove linear VA mapping constraint Andrew Waterman 2021-02-10 19:15:17 -0800
  • 817e7d0dfe pk: only access user memory through explicit accessors Andrew Waterman 2021-02-10 17:03:03 -0800
  • b7f64fe558 Add `statx` syscall (#234) huaixv 2021-03-26 13:17:35 +0800
  • 1f92fe1343 Add `statx` syscall #234 huaixv 2021-03-18 12:00:53 +0800
  • 0289b176cc LiteX UART: fix compatible property name #235 Gabriel Somlo 2021-03-25 15:25:56 -0400
  • 2ebf3bacce pk: remove linear VA mapping constraint Andrew Waterman 2021-02-10 19:15:17 -0800
  • a56ec05c6c pk: only access user memory through explicit accessors Andrew Waterman 2021-02-10 17:03:03 -0800
  • 62bb5daea5
    Add support for the UART interface on the LiteX SoC (#230) gsomlo 2020-12-15 16:11:40 -0500
  • e8500d744f Add support for the UART interface on the LiteX SoC #230 Gabriel L. Somlo 2018-11-02 16:05:35 -0400
  • 5c159feca1 Remove unused file_stat, copy_stat functions Andrew Waterman 2020-11-29 15:48:57 -0800
  • 29539c9aca
    Remove use of copy_stat() from sys_fstat and sys_lstat (#228) Marcus Comstedt 2020-11-30 00:46:05 +0100
  • f7501b2f73 Remove use of copy_stat() from sys_fstat and sys_lstat #228 Marcus Comstedt 2020-11-29 14:30:55 +0100
  • 0011fdf211 use MEM_START, not DRAM_BASE, for pk mappings Andrew Waterman 2020-11-23 18:02:12 -0800
  • 1f2e2b3b8d
    Fix emulation of misaligned access on big endian target (#224) Marcus Comstedt 2020-11-24 01:05:59 +0100
  • 358181f1c2 Fix emulation of misaligned access on big endian target #224 Marcus Comstedt 2020-11-22 12:10:22 +0100
  • f0959f9d18
    Merge pull request #222 from zeldin/stat-struct-format Andrew Waterman 2020-11-16 23:28:43 -0800
  • c32ca41c81 Remove use of copy_stat() from sys_fstatat #222 Marcus Comstedt 2020-11-17 08:20:48 +0100
  • 33ae46f1cb
    Merge pull request #220 from zeldin/big-endian Andrew Waterman 2020-11-12 16:11:32 -0800
  • 5752f0a173 pk: Fix pushing of argc to match linux kernel behaviour #220 Marcus Comstedt 2020-10-18 11:42:15 +0200
  • 8ac2e518fe fdt: Skip byteorder swap on big endian Marcus Comstedt 2020-10-18 11:40:30 +0200
  • a4d4298ca1
    Disable device tree filter when load a dts from file (#219) Yan 2020-11-01 08:14:48 +0800
  • 3e7d94338f Merge branch 'master' of https://github.com/riscv/riscv-pk into HEAD #219 Phantom1003 2020-10-31 09:46:48 +0800
  • 148e112ebd Remove *.dtb dependence, when the --with-dts option is not used Phantom1003 2020-10-31 09:34:57 +0800
  • def2f01eee Revert "Disable device tree filter when load a dts from file (#217)" Andrew Waterman 2020-10-30 15:28:04 -0700
  • a161e6f3ef
    Disable device tree filter when load a dts from file (#217) Yan 2020-10-30 05:27:39 +0800
  • ca222e7327 Disable device tree filter #217 Phantom1003 2020-10-28 19:09:39 +0800
  • c779ddd970 add device tree in elf, using --with-dts to add the absolute path of device tree Phantom1003 2020-10-26 21:28:42 +0800
  • a422fd8111 Fix handling of compressed breakpoints #216 Anthony Coulter 2020-10-10 11:00:30 -0400
  • f7df78365f
    make htif_poweroff thread-safe (#211) Howard Mao 2020-08-07 18:08:23 -0700
  • 7d8b7c0dab
    Don't perform 64-bit accesses to the PLIC (#205) Alexander Richardson 2020-07-31 22:15:12 +0100
  • 6584364eae
    Fix UART register map (#208) Nicholas O'Brien 2020-07-18 08:56:57 -0700
  • fe90db968d Fix UART register map #208 Nick 2020-07-17 16:53:19 -0700
  • a560a19ec4 Don't perform 64-bit accesses to the PLIC #205 Alex Richardson 2020-07-02 17:38:03 +0100
  • 6c912d323b make htif_poweroff thread-safe #211 Howard Mao 2020-06-19 02:54:21 +0000
  • 5d9ed238e1
    Consistently use fdt_string_list for FDT compatible property (#202) Jessica Clarke 2020-06-08 01:16:40 +0100
  • 2bd4658d11 Consistently use fdt_string_list for FDT compatible property #202 Jessica Clarke 2020-06-07 23:55:45 +0100
  • a38aa7f707
    Use correct offset for bbl.bin with non-default MEM_START (#187) Jessica Clarke 2020-04-29 03:27:14 +0100
  • d5f5d91b84
    Support --without-payload for OpenSBI fw_jump-style booting (#186) Jessica Clarke 2020-04-29 03:24:21 +0100
  • d397726a29
    Merge 6265921fbe into 8c12589799 #144 Anup Patel 2020-04-13 15:35:45 +0000
  • 8c12589799
    Update encoding.h from riscv-opcodes (#194) Kito Cheng 2020-03-30 12:34:58 +0800
  • 553e2fc514 Update encoding.h from riscv-opcodes #194 Kito Cheng 2020-03-30 11:50:04 +0800
  • efc32d0cab
    Fix CPI calcualtion for -s option (#192) davidmetz 2020-03-16 21:08:04 +0100
  • f77ce6ceb7
    Fix CPI calcualtion for -s option #192 davidmetz 2020-03-16 19:17:19 +0100
  • 2c4e689bc1
    Support manually zeroing out BSS when booting (#188) James Clarke 2020-02-03 00:53:17 +0000
  • 9aaaa33b3e Support manually zeroing out BSS when booting #188 James Clarke 2020-02-02 15:10:51 +0000
  • 9dca3bd43a Use correct offset for bbl.bin with non-default MEM_START #187 James Clarke 2020-02-02 14:31:39 +0000
  • 9cf5c06417 Support --without-payload for OpenSBI fw_jump-style booting #186 James Clarke 2020-02-02 13:11:49 +0000
  • 64d35e7722 Init mstatus for vector extension #185 Kito Cheng 2020-01-31 17:29:38 +0800
  • 6fa3555cc5 Enable vector unit if present (continuation of 77a5df5694) Andrew Waterman 2020-01-13 12:14:04 -0800
  • 77a5df5694 Enable vector unit if present Andrew Waterman 2020-01-11 14:48:52 -0800
  • 34ceb37298 Added --with-abi configure option (#183) Nick Knight 2019-12-09 16:18:49 -0800
  • 642b178985 Revised to preserve original semantics when user specifies --with-arch but not --with-abi or when the user specifies --with-arch but not --host. #183 Nick Knight 2019-12-06 19:11:44 -0800
  • a68091fd6c Added --with-abi configure option Nick Knight 2019-12-06 17:17:53 -0800
  • 103f61c8a0 Only prohibit float32-only when FP emulation is enabled Andrew Waterman 2019-12-06 15:27:42 -0800
  • 14e87d2dd2 Support a subset of 16750 functionality, and improve baud rate selection (#182) Jonathan Kimmitt 2019-11-06 17:43:09 +0000
  • 4f7e99bb70 Support a subset of 16750 functionality, and improve baud rate selection #182 Jonathan Richard Robert Kimmitt 2019-11-06 17:18:50 +0000
  • b801acea7d Support a subset of 16750 functionality, and improve baud rate selection #181 Jonathan Richard Robert Kimmitt 2019-11-06 16:57:55 +0000
  • b1bdf5bb99 fdt: allow mmu type "riscv,32" on rv32 systems (#177) Gokturk Yuksek 2019-10-31 13:45:00 -0400
  • 92d3a34a9b Add --help (#179) Luís Marques 2019-10-23 19:04:57 +0100