[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm
From: |
Igor Mammedov |
Subject: |
Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines |
Date: |
Mon, 26 Oct 2020 14:36:57 +0100 |
On Sun, 25 Oct 2020 17:03:43 +0000
Peter Maydell <peter.maydell@linaro.org> wrote:
> On Fri, 23 Oct 2020 at 20:04, Igor Mammedov <imammedo@redhat.com> wrote:
> >
> > On Fri, 23 Oct 2020 19:39:16 +0200
> > Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
> > > Are you saying arm_boot_info should hold a pointer to MachineState*
> > > instead of duplicating?
> >
> > yep, some parts of it (fdt related) already use MachineState* so it's
> > complete rewrite. The same probably applies to the fields you've just
> > quoted.
>
> Hmm, maybe, maybe not. The original design idea here was that
> the boot loader code took a structure defining only the things
> that the bootloader needed to know. It doesn't really need to
> know about all the stuff that's in MachineState, which is
> the state structure for the machine.
Yep It doesn't need all data the MachineState contains, but then we end up
with this kind of bugs which could be avoided if duplication were not there.
And some of the fields in MachineState are pure bootloader data.
>
> thanks
> -- PMM
>
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Philippe Mathieu-Daudé, 2020/10/17
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Thomas Huth, 2020/10/19
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Philippe Mathieu-Daudé, 2020/10/19
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Philippe Mathieu-Daudé, 2020/10/19
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Igor Mammedov, 2020/10/23
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Philippe Mathieu-Daudé, 2020/10/23
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Igor Mammedov, 2020/10/23
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Peter Maydell, 2020/10/25
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines,
Igor Mammedov <=
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Peter Maydell, 2020/10/26
- Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines, Igor Mammedov, 2020/10/27