|
From: | Leon Alrae |
Subject: | Re: [Qemu-devel] [PATCH v3 2/2] semihosting: add --semihosting-config arg sub-argument |
Date: | Thu, 21 May 2015 14:57:47 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 20/05/2015 09:54, Peter Maydell wrote: > On 20 May 2015 at 09:11, Leon Alrae <address@hidden> wrote: >> Agreed. We could initialize semihosting.argv[0] with -kernel and argv[1] >> with -append string if in semihosting mode and no semihosting args have >> been specified. I'll update it in v4. > > I'm tempted to suggest splitting -append on whitespace to initialize > argv[1..n]. ARM will just re-concatenate it, but it seems more > useful for the non-ARM cases. I've been considering that, and I think we are better off without splitting -append in semihosting mode because this is at least consistent with MIPS machines in QEMU (in non-semihosting mode) -- pseudo-bootloaders in MALTA and Fulong2e have hardcoded argc to 2 (-kernel and -append). Therefore I would leave it as it is unless we really need to change it. Leon
[Prev in Thread] | Current Thread | [Next in Thread] |