[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 2/2] semihosting: add --semihosting-config ar

From: Liviu Ionescu
Subject: Re: [Qemu-devel] [PATCH v3 2/2] semihosting: add --semihosting-config arg sub-argument
Date: Thu, 21 May 2015 17:28:29 +0300

> On 21 May 2015, at 16:57, Leon Alrae <address@hidden> wrote:
> ... pseudo-bootloaders in MALTA and Fulong2e have hardcoded argc to 2
> (-kernel and -append). 

I don't know the specifics of other emulated platforms, but to me the whole 
issue looks messy, and the details of using the newly added arg option just 
seem to increase the entropy.

from what I understood, for MIPS the emulator must be called with a sequence of 
,arg=xxx, while for ARM it needs to be called with a single long string 
including the entire command line.

I understand that different platforms have different specifics, but I have 
difficulties to understand why they cannot be implemented consistently from the 
user point of view, not the qemu developer point of view.

as such, in my opinion there should be either a single string, split internally 
by the parser when needed, or an array of substrings, concatenated internally 
when needed.

unless these things get clarified, for GNU ARM Eclipse QEMU, I'm inclined to 
keep my "--semihosting-cmdline arg0 arg1 ... argn" as it is easier to use and 



p.s. and I think there are major differences between using -append to pass 
arguments to the kernel and passing arguments to semihosting, this being one of 
the reasons for suggesting a new command.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]