From 37a178aad79fec8b14f8e33d68052ddd9145715d Mon Sep 17 00:00:00 2001 From: Toby Jaffey Date: Tue, 9 Dec 2025 01:23:46 +0000 Subject: [PATCH] Remove refs to old CSRs --- README.md | 4 +--- apps/self/self.c | 4 +--- host-mini/host-mini.c | 2 -- host-parallel/host-parallel.c | 2 -- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 9df9572..46d9cdc 100644 --- a/README.md +++ b/README.md @@ -149,9 +149,7 @@ Here is a full example of a working VM host from [apps/host-mini](apps/host-mini #include "uvm32.h" #include "../common/uvm32_common_custom.h" -// Precompiled binary program to print integers -// This code expects to print via syscall 0x13C (UVM32_SYSCALL_PRINTD in common/uvm32_common_custom.h) -uint8_t rom[] = { +uint8_t rom[] = { // mandel.bin 0x23, 0x26, 0x11, 0x00, 0xef, 0x00, 0xc0, 0x00, 0xb7, 0x08, 0x00, 0x01, 0x73, 0x00, 0x00, 0x00, 0x37, 0xf5, 0xff, 0xff, 0xb7, 0x15, 0x00, 0x00, 0x37, 0xe6, 0xff, 0xff, 0x13, 0x07, 0xf0, 0x01, 0xb7, 0x47, 0x00, 0x00, diff --git a/apps/self/self.c b/apps/self/self.c index ee309e5..bbc8bbd 100644 --- a/apps/self/self.c +++ b/apps/self/self.c @@ -2,9 +2,7 @@ #include "uvm32.h" #include "../common/uvm32_common_custom.h" -// Precompiled binary program to print integers -// This code expects to print via syscall 0x13C (UVM32_SYSCALL_PRINTD in common/uvm32_common_custom.h) -uint8_t rom[] = { +uint8_t rom[] = { // mandel.bin 0x23, 0x26, 0x11, 0x00, 0xef, 0x00, 0xc0, 0x00, 0xb7, 0x08, 0x00, 0x01, 0x73, 0x00, 0x00, 0x00, 0x37, 0xf5, 0xff, 0xff, 0xb7, 0x15, 0x00, 0x00, 0x37, 0xe6, 0xff, 0xff, 0x13, 0x07, 0xf0, 0x01, 0xb7, 0x47, 0x00, 0x00, diff --git a/host-mini/host-mini.c b/host-mini/host-mini.c index 025b1ed..d762504 100644 --- a/host-mini/host-mini.c +++ b/host-mini/host-mini.c @@ -4,8 +4,6 @@ #include "uvm32.h" #include "../common/uvm32_common_custom.h" -// Precompiled binary program to print integers -// This code expects to print via syscall 0x13C (UVM32_SYSCALL_PRINTD in common/uvm32_common_custom.h) uint8_t rom[] = { 0x23, 0x26, 0x11, 0x00, 0xef, 0x00, 0xc0, 0x00, 0xb7, 0x08, 0x00, 0x01, 0x73, 0x00, 0x00, 0x00, 0x37, 0xf5, 0xff, 0xff, 0xb7, 0x15, 0x00, 0x00, diff --git a/host-parallel/host-parallel.c b/host-parallel/host-parallel.c index c6d0442..539eed2 100644 --- a/host-parallel/host-parallel.c +++ b/host-parallel/host-parallel.c @@ -12,8 +12,6 @@ #define SCHEDULE_ROUNDROBIN() scheduler_index = (scheduler_index + 1) % NUM_VM #define SCHEDULE_RANDOM() scheduler_index = rand()%NUM_VM -// Precompiled binary program to print integers -// This code expects to print via syscall 0x13C (UVM32_SYSCALL_PRINTD in common/uvm32_common_custom.h) uint8_t rom[] = { // fib.bin 0x23, 0x26, 0x11, 0x00, 0xef, 0x00, 0x40, 0x17, 0xb7, 0x08, 0x00, 0x01, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x93, 0x08, 0x05, 0x00,