summaryrefslogtreecommitdiffstats
path: root/debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 11:44:31 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 11:44:31 -0400
commit05797fd8cf884bb680540dfc188f36836a215c9f (patch)
treed64966acd9d47037bc8dae1ab9e2e1c66c9d526d /debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c
parent4467eb66a4c8a776e35e9644960eba699dc85e6f (diff)
downloadopen-iov-05797fd8cf884bb680540dfc188f36836a215c9f.tar.gz
open-iov-05797fd8cf884bb680540dfc188f36836a215c9f.zip
rename (cosmetic): green-eye -> risc-v-gsp-rm-debugger in user-facing names, docs, CLI, launcher and CI workflow; internal greeneye package/module identifiers unchanged (includes in-flight greeneye module edits present in the tree)
Diffstat (limited to 'debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c')
-rw-r--r--debug/risc-v-gsp-rm-vm/firmware/uproc_demo/main.c10
1 files changed, 5 insertions, 5 deletions
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);