Commit graph

  • 2b743b299b Fix typo main Toby Jaffey 2026-04-16 14:37:09 +01:00
  • 0e808a9d38 Add gdbstub to readme Toby Jaffey 2026-04-16 14:05:07 +01:00
  • 4cad3e26b7 Merge branch 'main' into gdbstub-support Toby Jaffey 2026-04-16 10:55:02 +01:00
  • f7c11f30e0
    Merge pull request #10 from hamid-rostami/gdbstub-support Toby Jaffey 2026-04-16 10:54:50 +01:00
  • a72737b228 Add uvm32_useBreak(uvmst, bool) function to enable ebreak handling. This is used in host-gdbstub to enable the functionality. gdbstub-support Toby Jaffey 2026-04-16 10:51:08 +01:00
  • faecd6bbef Add an example host to demonstrate gdbstub Hamid Rostami 2026-04-15 22:41:54 +01:00
  • 1f7132e1e8 Add new event type for ebreak, also report memory write error Hamid Rostami 2026-04-14 22:09:12 +01:00
  • 00f1a863f3
    Merge pull request #9 from revilo196/patch-1 Toby Jaffey 2026-01-09 14:03:24 +00:00
  • 903c909c36
    common linker.ld fix .eh_frame Oliver 2026-01-09 14:35:04 +01:00
  • dc0e5b0bcf Update latest precompiled binaries Toby Jaffey 2025-12-18 12:24:25 +00:00
  • 21f7190427 Remove unused arg, inline step function Toby Jaffey 2025-12-18 12:19:34 +00:00
  • d04811a3c5 Make load and store use a packed union for safe alignment, rather than memcpy. Remove some pointless initialisation which is already done through memset Toby Jaffey 2025-12-18 12:01:50 +00:00
  • 17208a5112 Pull in latest zigtris with bug fix for garbage on starting screen Toby Jaffey 2025-12-17 20:32:10 +00:00
  • 67c7137868 Pointer fix Toby Jaffey 2025-12-17 20:24:13 +00:00
  • d780c4e69d Add UVM32_SYSCALL_RAND to get a "true" random number from the host, as I want to play zigtris and not have it be the same every time. Toby Jaffey 2025-12-17 20:19:31 +00:00
  • a8207b72c6 Don't build "self" example as debug in minirv32.h will break it (no stdio.h) rv32c Toby Jaffey 2025-12-17 15:57:06 +00:00
  • 8fca9fcec1 Disable strict C99, as binary constants are currently used in rv32c code Toby Jaffey 2025-12-17 15:51:19 +00:00
  • adec69e1d7 Attempt to enable RV32 C extension. c.lw and c.sw are definitely broken somehow wrt MMIO memory. Examples built using C extensions, many fail in strange ways Toby Jaffey 2025-12-17 15:43:15 +00:00
  • 652094c289 Unmodified compressed instruction support Toby Jaffey 2025-12-17 14:08:46 +00:00
  • 3d83844d5c Fix markdown blip Toby Jaffey 2025-12-17 11:07:57 +00:00
  • 0bbe373b56 Link to syscall.md Toby Jaffey 2025-12-17 07:46:08 +00:00
  • 6989c3e067 Link to big-endian fork Toby Jaffey 2025-12-16 22:36:08 +00:00
  • 8c68d48f80 Add some documentation on syscalls and argument handling Toby Jaffey 2025-12-16 22:04:50 +00:00
  • 4d3b393205 Add host-sdl info Toby Jaffey 2025-12-16 19:30:14 +00:00
  • d0407c074f Update all of the Emacs mode style comments, so they register in github as C. Toby Jaffey 2025-12-16 17:06:49 +00:00
  • ff3827f3a6
    Merge pull request #5 from cnlohr/fix-language-misidentification Toby Jaffey 2025-12-16 07:27:15 +00:00
  • 3409fd1fb6 Fix language misidentification cnlohr 2025-12-15 17:57:47 -08:00
  • 53b5eeb256 Add a simple statistical profiler Toby Jaffey 2025-12-15 14:10:49 +00:00
  • 6a6d7f1832 Only call checkKeys() when rendering, as it will pause VM Toby Jaffey 2025-12-15 14:07:00 +00:00
  • 09985655a2 Fix host-sdl/doom audio. Have app ask via syscall if audio can be rendered before sending, else any mismatch in rates will cause queue over/underflow in host-sdl. Toby Jaffey 2025-12-15 10:48:10 +00:00
  • 4e61e3bd4a Make self and mandel examples a bit smaller Toby Jaffey 2025-12-15 01:12:47 +00:00
  • 4741900562 Tick agnes before drawing each screen, but no faster. Toby Jaffey 2025-12-15 00:59:27 +00:00
  • 035608b04a Add agnes NES emulator (very slow). Add -W <n> -H <n> width and height options to host-sdl Toby Jaffey 2025-12-15 00:37:12 +00:00
  • 2e90bfa812 Doom binary with audio Toby Jaffey 2025-12-14 23:34:06 +00:00
  • 39e7dddc5a Quick and dirty sound for DOOM. Samplerate seems off, but it's just a demo. Toby Jaffey 2025-12-14 23:32:34 +00:00
  • e524ea4815 Fix sticky keys in doom. host-sdl only reported the last key pressed, now uses a circular buffer. Toby Jaffey 2025-12-14 22:39:24 +00:00
  • 49a94ca174 Add BLT test Toby Jaffey 2025-12-14 21:53:54 +00:00
  • 83276f98e4 Move shared.h Toby Jaffey 2025-12-14 21:41:01 +00:00
  • 93898a5baa Rename Toby Jaffey 2025-12-14 21:38:24 +00:00
  • 6a4118e420 Add AUIPC test Toby Jaffey 2025-12-14 21:38:05 +00:00
  • f917ba38ff Tighten up internal vs external functions, which lets optimiser do a better job, self.bin about 10% smaller. Toby Jaffey 2025-12-14 19:51:36 +00:00
  • 07bab3cca6 Rebuild precompiled bins Toby Jaffey 2025-12-14 19:37:00 +00:00
  • 9bda566997 Move internal static garbage into vmst. Potentially, this could have ended up being non-zero when used by concurrent threads. Toby Jaffey 2025-12-14 19:34:58 +00:00
  • 1e7343d385 Map extram to same fuzz buffer Toby Jaffey 2025-12-14 19:28:15 +00:00
  • 28ce517710 Remove label Toby Jaffey 2025-12-14 18:56:41 +00:00
  • 585a945b18 Report "true" code coverage by including mini-rv32ima.h Toby Jaffey 2025-12-14 18:46:34 +00:00
  • 7d064dd11d Fix indent Toby Jaffey 2025-12-14 18:36:18 +00:00
  • e5fd17aff6 Fix issues with unaligned memory bus rd/wr. Improve fuzzing. Toby Jaffey 2025-12-14 18:35:00 +00:00
  • 5fb03b7d66 Remove RV32 breakpoints and interrupts, to save a tiny bit of code size. Toby Jaffey 2025-12-14 15:05:35 +00:00
  • 065d2c64aa TinyGL example Toby Jaffey 2025-12-14 14:45:10 +00:00
  • 1ec79c079d Remove invalid if pr_test1 Toby Jaffey 2025-12-14 13:07:58 +00:00
  • 056c7b608f Don't create env on non-main Toby Jaffey 2025-12-14 13:02:14 +00:00
  • 3242393cb5 README change, for PR test Toby Jaffey 2025-12-14 12:59:26 +00:00
  • 7313047fd1 Simple fuzzer Toby Jaffey 2025-12-14 12:34:53 +00:00
  • 0736381925 Slim down mini-rv32imaa by removing zicsr and atomics - which are unused. Toby Jaffey 2025-12-14 11:49:28 +00:00
  • 861c75d80e Remove cycle counting and timers from mini-rv32ima Toby Jaffey 2025-12-14 11:19:23 +00:00
  • a693fed59c Show coverage report for all uvm32 Toby Jaffey 2025-12-14 11:15:59 +00:00
  • 5dc9acdf3d When a trap occurs in mini-rv32ima, always pass to the host rather than allowing running code to handle it. This would be important for a real OS, but the aim of uvm32 is embeddable logic - not full emulation. Toby Jaffey 2025-12-14 11:00:45 +00:00
  • be5dbbfa44 Latest doom binary (since crt0.S changes) Toby Jaffey 2025-12-14 11:00:26 +00:00
  • 8d67bf2fc3 Latest maze binary Toby Jaffey 2025-12-14 10:59:59 +00:00
  • a635846e69 Remove -fpeel-loops, now that real issue has been fixed. Toby Jaffey 2025-12-14 09:50:14 +00:00
  • 044d600b86 Merge branch 'main' of github.com:ringtailsoftware/uvm32 Toby Jaffey 2025-12-14 09:42:31 +00:00
  • 7a39a69f3d Move label Toby Jaffey 2025-12-14 09:42:03 +00:00
  • 14383da04d Only deploy from main branch Toby Jaffey 2025-12-14 09:41:11 +00:00
  • b7269c23b3
    Merge pull request #2 from 1player/main Toby Jaffey 2025-12-14 09:37:50 +00:00
  • cdfae7d453 apps/maze: fix possible stack overflow Stéphane Travostino 2025-12-14 10:15:04 +01:00
  • 2c5f1e33fe Label Toby Jaffey 2025-12-14 03:26:41 +00:00
  • 079cf2c9bd Add CI workflow to create a coverage badge via github pages Toby Jaffey 2025-12-14 03:08:59 +00:00
  • 50d58e4fd6 Remove failed docker cache badge Toby Jaffey 2025-12-14 03:03:20 +00:00
  • 8c88c7ab30 Rename Toby Jaffey 2025-12-14 02:56:33 +00:00
  • c1006cc9a8 Badge dir Toby Jaffey 2025-12-14 02:51:12 +00:00
  • 12144b3290 Name, docker cache Toby Jaffey 2025-12-14 02:46:28 +00:00
  • e6a77c19c9 "More magic" Toby Jaffey 2025-12-14 02:40:29 +00:00
  • 9483c4ee66 v3 Toby Jaffey 2025-12-14 02:29:51 +00:00
  • 8876f9157b Downgrade actions Toby Jaffey 2025-12-14 02:28:28 +00:00
  • 8f5d022a71 Artifact name Toby Jaffey 2025-12-14 02:23:36 +00:00
  • 1866de1235 v4 upload Toby Jaffey 2025-12-14 02:16:07 +00:00
  • 4a03138efc Show badge Toby Jaffey 2025-12-14 02:13:51 +00:00
  • 1088442f95 Allow write to pages Toby Jaffey 2025-12-14 02:11:37 +00:00
  • b2b7827e60 Add dockerci target which builds badge and uploads to github pages Toby Jaffey 2025-12-14 02:06:10 +00:00
  • cfc1286874 Regenerate binaries, now default crt0 has changed Toby Jaffey 2025-12-14 01:36:47 +00:00
  • 6adbc53ad9 Remove impossible states Toby Jaffey 2025-12-14 01:34:59 +00:00
  • a5305d64dc Test that invalid lX opcodes trigger mini-rv32 internal core error Toby Jaffey 2025-12-14 01:21:42 +00:00
  • fe51154698 Test for lb, lbu, lw, sb, sbu, sw explicitly Toby Jaffey 2025-12-14 00:58:35 +00:00
  • 2037f6e575 Test memory read outside of memory and extram regions. Toby Jaffey 2025-12-14 00:32:50 +00:00
  • 179466eae4 Refactor Toby Jaffey 2025-12-14 00:18:06 +00:00
  • 173d5056a5 Completely remove UVM32_STACK_PROTECTION unless enabled (requires manually changing crt0.S), as this saves 16 bytes on every .bin Toby Jaffey 2025-12-14 00:09:32 +00:00
  • c1399fbe86 Test coverage reports info Toby Jaffey 2025-12-13 23:31:43 +00:00
  • aae4eacfb8 Test getslice_fixed when a buffer is requests which exceeds memory Toby Jaffey 2025-12-13 23:29:45 +00:00
  • a7b480fd11 Only use stackprotection when debugging Toby Jaffey 2025-12-13 23:26:32 +00:00
  • 6429d2cdaf Add test for string reading off end of extram Toby Jaffey 2025-12-13 23:24:24 +00:00
  • 2039de73f2 Rename getbuf to getslice Toby Jaffey 2025-12-13 23:15:06 +00:00
  • b083008d7b Add test for reading slice in extram which is out of bounds Toby Jaffey 2025-12-13 23:10:49 +00:00
  • 18d787a7b9 Add test for extram becoming invalid while reading an "unterminated" buffer (slice) Toby Jaffey 2025-12-13 23:04:58 +00:00
  • d1eace7b93 Improved warning message Toby Jaffey 2025-12-13 22:58:42 +00:00
  • abc7a2c0ad Merge branch 'main' into cov Toby Jaffey 2025-12-13 22:25:08 +00:00
  • 1c9e9296be xxd -n (set variable name) doesn't exist on all systems, use shell utilities to build the headers Fixes #1 Toby Jaffey 2025-12-13 22:20:38 +00:00
  • bf80e58bd5 Add CI badge cov Toby Jaffey 2025-12-13 22:03:50 +00:00
  • 608a009fa2 Try different path for coverage md, use buildkit Toby Jaffey 2025-12-13 21:39:08 +00:00
  • f6afd59bbf Publish code cov artefact Toby Jaffey 2025-12-13 21:30:46 +00:00