From 9d7a708c8c1069d89555bf665d1479ef9667b919 Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Wed, 31 Jan 2024 07:25:22 +0800 Subject: [PATCH] Pass ELF Data --- jsemu.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jsemu.c b/jsemu.c index 3641db4..5a5cf82 100644 --- a/jsemu.c +++ b/jsemu.c @@ -181,8 +181,13 @@ static void init_vm_fs(void *arg); static void init_vm_drive(void *arg); void vm_start(const char *url, int ram_size, const char *cmdline, - const char *pwd, int width, int height, BOOL has_network) + const char *pwd, int width, int height, BOOL has_network, + const char *drive_url, const char *elf_data) { + //// Begin Test + printf("elf_data=%s\n", elf_data); + //// End Test + VMStartState *s; s = mallocz(sizeof(*s));