Re: [PATCH v2 8/8] hw/mips/boston: Use bootloader helper to set GCRs

2021-01-06 Thread Philippe Mathieu-Daudé
On Wed, Jan 6, 2021 at 6:30 PM Philippe Mathieu-Daudé wrote: > On Wed, Jan 6, 2021 at 6:28 PM Philippe Mathieu-Daudé wrote: > > On 12/15/20 7:46 AM, Jiaxun Yang wrote: > > > Translate embedded assembly into IO writes which is more > > > readable. > > > > > > Also hardcode cm_base at boot time ins

Re: [PATCH v2 8/8] hw/mips/boston: Use bootloader helper to set GCRs

2021-01-06 Thread Philippe Mathieu-Daudé
On Wed, Jan 6, 2021 at 6:28 PM Philippe Mathieu-Daudé wrote: > > On 12/15/20 7:46 AM, Jiaxun Yang wrote: > > Translate embedded assembly into IO writes which is more > > readable. > > > > Also hardcode cm_base at boot time instead of reading from CP0. > > > > Signed-off-by: Jiaxun Yang > > --- >

Re: [PATCH v2 8/8] hw/mips/boston: Use bootloader helper to set GCRs

2021-01-06 Thread Philippe Mathieu-Daudé
On 12/15/20 7:46 AM, Jiaxun Yang wrote: > Translate embedded assembly into IO writes which is more > readable. > > Also hardcode cm_base at boot time instead of reading from CP0. > > Signed-off-by: Jiaxun Yang > --- > hw/mips/boston.c | 45 - > 1 file

[PATCH v2 8/8] hw/mips/boston: Use bootloader helper to set GCRs

2020-12-14 Thread Jiaxun Yang
Translate embedded assembly into IO writes which is more readable. Also hardcode cm_base at boot time instead of reading from CP0. Signed-off-by: Jiaxun Yang --- hw/mips/boston.c | 45 - 1 file changed, 12 insertions(+), 33 deletions(-) diff --git a/