On 3/8/22 00:00, Peter Maydell wrote:
On Tue, 8 Mar 2022 at 07:20, Richard Henderson
wrote:
The only thing this struct is used for is passing startup values
from elfload.c to the cpu. We do not need all registers to be
represented, we do not need the kernel internal stack slots.
The userland
On Tue, 8 Mar 2022 at 07:20, Richard Henderson
wrote:
>
> The only thing this struct is used for is passing startup values
> from elfload.c to the cpu. We do not need all registers to be
> represented, we do not need the kernel internal stack slots.
>
> The userland argc, argv, and envp values ar
The only thing this struct is used for is passing startup values
from elfload.c to the cpu. We do not need all registers to be
represented, we do not need the kernel internal stack slots.
The userland argc, argv, and envp values are passed on
the stack, so only SP and PC need updating.
Signed-of