On 12/15/20 7:41 AM, Jiaxun Yang wrote:
> v2:
> A big reconstruction. rewrite helpers with CPU feature and sepreate
> changesets.
> 
> Jiaxun Yang (8):
>   hw/mips: Make bootloader addresses unsgined
>   hw/mips/malta: Use address translation helper to calculate
>     bootloader_run_addr
>   hw/mips: Use address translation helper to handle ENVP_ADDR
>   hw/mips: Add a bootloader helper
>   hw/mips: Use bl_gen_kernel_jump to generate bootloaders
>   target/mips/addr: Add translation helpers for KSEG1
>   hw/mips/malta: Use bootloader helper to set BAR resgiters
>   hw/mips/boston: Use bootloader helper to set GCRs
> 
>  hw/mips/bootloader.c         | 157 ++++++++++++++++++++++++++++++++
>  hw/mips/boston.c             |  62 +++----------
>  hw/mips/fuloong2e.c          |  48 +++-------
>  hw/mips/malta.c              | 171 ++++++++++++-----------------------
>  hw/mips/meson.build          |   2 +-
>  include/hw/mips/bootloader.h |  48 ++++++++++
>  target/mips/addr.c           |  10 ++
>  target/mips/cpu.h            |   2 +
>  8 files changed, 306 insertions(+), 194 deletions(-)
>  create mode 100644 hw/mips/bootloader.c
>  create mode 100644 include/hw/mips/bootloader.h
> 

Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org>

Reply via email to