diff options
Diffstat (limited to 'debug/risc-v-gsp-rm-vm/firmware/uproc_demo')
4 files changed, 9 insertions, 9 deletions
diff --git a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/Makefile b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/Makefile index f406a52..f390f08 100644 --- a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/Makefile +++ b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/Makefile @@ -1,4 +1,4 @@ -# green-eye uproc demo firmware (RISC-V 64, bare metal) +# risc-v-gsp-rm-debugger uproc demo firmware (RISC-V 64, bare metal) # # Uses clang + lld (no riscv64 GCC required): # CC=clang, LD=ld.lld (absolute path to llvm-18 lld by default). diff --git a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/linker.ld b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/linker.ld index 7ad7af8..94f21f5 100644 --- a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/linker.ld +++ b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/linker.ld @@ -1,9 +1,9 @@ -/* green-eye uproc demo firmware - RISC-V 64 bare-metal test target. +/* risc-v-gsp-rm-debugger uproc demo firmware - RISC-V 64 bare-metal test target. * * Mimics the shape of a GSP-side micro-service: a global control block with a * magic, a handler table and counters; a mailbox-driven RPC dispatcher; a * multi-stage state machine handler; and an intentional trap handler so - * green-eye can demonstrate breakpoint/hook/watchpoint/trap workflows. + * risc-v-gsp-rm-debugger can demonstrate breakpoint/hook/watchpoint/trap workflows. * * Build: make -C firmware/uproc_demo */ diff --git a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c index 9b4f98a..e036499 100644 --- a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c +++ b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c @@ -1,4 +1,4 @@ -/* green-eye uproc demo firmware. +/* risc-v-gsp-rm-debugger uproc demo firmware. * * A small, deterministic "GSP-like" service: * - gsp_ctrl global control block (magic 0x47535031) in .gsp_data; @@ -62,7 +62,7 @@ static u64 strlen_local(const char *s) return n; } -/* ---- RPC handlers (kept as symbols for green-eye hooks) ---- */ +/* ---- RPC handlers (kept as symbols for risc-v-gsp-rm-debugger hooks) ---- */ __attribute__((noinline)) u64 rpc_ping(u64 a0, u64 a1) { @@ -128,7 +128,7 @@ __attribute__((noinline)) u64 rpc_fault(u64 a0, u64 a1) { (void)a0; (void)a1; - __asm__ volatile("ebreak"); /* debugger trap: green-eye stops here */ + __asm__ volatile("ebreak"); /* debugger trap: risc-v-gsp-rm-debugger stops here */ return 0xdead; } @@ -204,7 +204,7 @@ int main(void) ctl->buf[0] = '\0'; install_handlers(); - uart_puts("GREEN-EYE UPROC DEMO v1\n"); + uart_puts("RISC-V GSP-RM DEBUGGER UPROC DEMO v1\n"); uart_puts("MAGIC "); uart_hex(ctl->magic, 8); uart_puts(" CTRL@"); @@ -213,7 +213,7 @@ int main(void) /* Deterministic self-test so freshly attached instrumentation sees events. */ rpc_dispatch(1, 0x1111, 0, 0); - rpc_dispatch(2, (u64)(unsigned long)"hello-green-eye", 0, 0); + rpc_dispatch(2, (u64)(unsigned long)"hello-risc-v-gsp-rm-debugger", 0, 0); rpc_dispatch(3, 0x5a, 32, 0); rpc_dispatch(4, (u64)(unsigned long)ctl->buf, 16, 0); rpc_dispatch(5, 0, 0, 0); diff --git a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/start.S b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/start.S index 1341461..b55720a 100644 --- a/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/start.S +++ b/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/start.S @@ -1,4 +1,4 @@ -/* green-eye uproc demo firmware - reset/entry. */ +/* risc-v-gsp-rm-debugger uproc demo firmware - reset/entry. */ .section .text.start, "ax", @progbits .global _start .type _start, @function |
