qemu-e2k/include/exec
Leon Alrae a59d31a1eb semihosting: add --semihosting-config arg sub-argument
Add new "arg" sub-argument to the --semihosting-config allowing the user
to pass multiple input arguments separately. It is required for example
by UHI semihosting to construct argc and argv.

Also, update ARM semihosting to support new option (at the moment it is
the only target which cares about arguments).

If the semihosting is enabled and no semihosting args have been specified,
then fall back to -kernel/-append. The -append string is split on whitespace
before initializing semihosting.argv[1..n]; this is different from what
QEMU MIPS machines' pseudo-bootloaders do (i.e. argv[1] contains the whole
-append), but is more intuitive from UHI user's point of view and Linux
kernel just does not care as it concatenates argv[1..n] into single cmdline
string anyway.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Message-id: 1434643256-16858-3-git-send-email-leon.alrae@imgtec.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2015-06-19 14:17:45 +01:00
..
user linux-user: Allocate thunk size dynamically 2015-06-15 11:36:58 +03:00
address-spaces.h
cpu_ldst_template.h cpu_ldst_template.h: Drop unused cpu_ldfq/stfq/ldfl/stfl accessors 2015-01-20 15:19:34 +00:00
cpu_ldst_useronly_template.h cpu_ldst.h: Use inline functions for usermode cpu_ld/st accessors 2015-01-20 15:19:34 +00:00
cpu_ldst.h softmmu: provide tlb_vaddr_to_host function for user mode 2015-06-17 12:40:51 +02:00
cpu-all.h Convert ram_list to RCU 2015-02-16 17:31:55 +01:00
cpu-common.h qemu_ram_foreach_block: pass up error value, and down the ramblock name 2015-06-12 06:54:01 +02:00
cpu-defs.h softmmu: support up to 12 MMU modes 2015-06-03 23:56:56 +02:00
cputlb.h cputlb: remove useless arguments to tlb_unprotect_code_phys, rename 2015-06-05 17:09:59 +02:00
exec-all.h softmmu: Add probe_write() 2015-06-11 10:13:28 +01:00
gdbstub.h semihosting: create SemihostingConfig structure and semihost.h 2015-06-19 14:17:45 +01:00
gen-icount.h tcg: Change translator-side labels to a pointer 2015-03-13 12:28:18 -07:00
helper-gen.h trace: [tcg] Include TCG-tracing helpers 2014-08-12 14:26:12 +01:00
helper-head.h tcg: Move size effects out of dh_arg 2014-05-28 09:33:55 -07:00
helper-proto.h trace: [tcg] Include TCG-tracing helpers 2014-08-12 14:26:12 +01:00
helper-tcg.h trace: [tcg] Include TCG-tracing helpers 2014-08-12 14:26:12 +01:00
hwaddr.h
ioport.h portio: Allow to mark portio lists as coalesced MMIO flushing 2013-10-17 17:24:15 +02:00
memattrs.h target-i386: introduce cpu_get_mem_attrs 2015-06-05 17:10:00 +02:00
memory-internal.h memory: unregister AddressSpace MemoryListener within BQL 2015-02-10 10:25:44 -07:00
memory.h memory: track DIRTY_MEMORY_CODE in mr->dirty_log_mask 2015-06-05 17:09:59 +02:00
poison.h exec: Remove env from list of poisoned names 2013-07-27 11:22:54 +04:00
ram_addr.h memory: make cpu_physical_memory_sync_dirty_bitmap() fully atomic 2015-06-05 17:10:00 +02:00
semihost.h semihosting: add --semihosting-config arg sub-argument 2015-06-19 14:17:45 +01:00
softmmu-semi.h exec: Change cpu_memory_rw_debug() argument to CPUState 2013-07-23 02:41:33 +02:00
spinlock.h