On 2018-05-22 16:29, Ralf Ramsauer wrote:
> 
> 
> On 05/22/2018 04:27 PM, Jan Kiszka wrote:
>> On 2018-05-22 16:22, Ralf Ramsauer wrote:
>>> Hi,
>>>
>>> I'm missing one thing here: maintaining the linux loader for x86, as I
>>> don't understand this piece in jailhouse-cell-linux:
>>>
>>> class X86:
>>> [...]
>>>     def params_address(self):
>>>         return self._cpu_reset_address + 0x6000
>>>
>>> Why is the params_address _cpu_reset_address + 0x6000 at the moment? I
>>> would expect + 0x100...
>>
>> These params are not the command line (the loader stub used none), it's
>> the Zero Page and related data for the kernel boot protocol. See also
>> ZERO_PAGE_ADDR = HEAP_BASE = hmmm... typically 0x6000. Looks like this
>> address dates back from a more stable memory layout on x86 (prio to
>> moving to reset address 0).
> 
> Ahh, okay. This is a bit confusing, as the semantics of params_address()
> for x86 are different from the other architectures.
> 

Yeah.

> So everything should be fine -- including x86.
> 

Likely. Testing would be good, though.

Jan

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to