sim: callback: expose argv & environ
authorMike Frysinger <vapier@gentoo.org>
Tue, 16 Nov 2021 04:04:10 +0000 (23:04 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 16 Nov 2021 06:13:39 +0000 (01:13 -0500)
commit8cfc9a1895d9f720e2cc38fd57b94ca5efba07b1
treeebec67af6051c58a695f48b6f69d6bf005fd3116
parent54f7a83a62c27d6da9ee66da1022572d6ea45d84
sim: callback: expose argv & environ

Pass the existing strings data to the callbacks so that common
libgloss syscalls can be implemented (which we'll do shortly).
14 files changed:
include/sim/callback.h
sim/aarch64/interp.c
sim/bfin/interp.c
sim/bpf/sim-if.c
sim/common/callback.c
sim/cris/sim-if.c
sim/example-synacor/interp.c
sim/frv/sim-if.c
sim/ft32/interp.c
sim/iq2000/sim-if.c
sim/lm32/sim-if.c
sim/m32r/sim-if.c
sim/pru/interp.c
sim/riscv/interp.c