Skip to content

Commit

Permalink
Pass ELF Data
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Jan 30, 2024
1 parent 12cc16c commit 9d7a708
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jsemu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 9d7a708

Please sign in to comment.