qemu-devel
[Top][All Lists]
Advanced

[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: Wed, 20 May 2015 16:49:41 +0300

> On 20 May 2015, at 12:31, Leon Alrae <address@hidden> wrote:
> 
> ... I’ll update arm-semi.c as well to concatenate all args.

you can use parts of my initial patch for the arm semihosting related changes.

---

personally I would add a pointer (cmdline?) in the semihosting structure and a 
getter (semihosting_get_cmdline()?). at first call, the getter would 
concatenate all args and store the result in the structure (the concatenate 
function is there), so that future calls will get it faster.

this is necessary since in my code I need the cmdline string in at least two 
different locations.


regards,

Liviu




reply via email to

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