qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 72cd63: m48t59: move ISA ports/memory regions


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 72cd63: m48t59: move ISA ports/memory regions registration...
Date: Wed, 11 Mar 2015 03:00:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 72cd63f817d5405f7f7339e3d389cee73c189b33
      
https://github.com/qemu/qemu/commit/72cd63f817d5405f7f7339e3d389cee73c189b33
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M hw/timer/m48t59.c

  Log Message:
  -----------
  m48t59: move ISA ports/memory regions registration to QOM constructor

-device m48t59_isa can now be used to create a fully functional nvram.

Signed-off-by: Hervé Poussineau <address@hidden>
CC: Andreas Färber <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 051ddccde29924cb200df3bca3db8c1a2aa10974
      
https://github.com/qemu/qemu/commit/051ddccde29924cb200df3bca3db8c1a2aa10974
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M hw/timer/m48t59.c

  Log Message:
  -----------
  m48t59: register a QOM type for each nvram type we support

As m48t59 devices can only be created with m48t59_init() or m48t59_init_isa(),
we know exactly which nvram types are required. Register only those three
types.

Remove .model and .size properties as they can be infered from nvram name.

Rename type to 'isa-*' (and 'sysbus-*') to do like other devices ISA devices
(isa-ide, isa-parallel, isa-serial...)

Signed-off-by: Hervé Poussineau <address@hidden>
CC: Andreas Färber <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 43745328881e839124d3d589644732cb65052819
      
https://github.com/qemu/qemu/commit/43745328881e839124d3d589644732cb65052819
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M hw/timer/m48t59.c
    M include/hw/timer/m48t59.h

  Log Message:
  -----------
  m48t59: add a Nvram interface

Signed-off-by: Hervé Poussineau <address@hidden>
CC: Andreas Färber <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 3168824682058457344faecdbe7014caa0e8dd6e
      
https://github.com/qemu/qemu/commit/3168824682058457344faecdbe7014caa0e8dd6e
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M hw/ppc/ppc.c
    M hw/ppc/prep.c
    M hw/sparc/sun4m.c
    M hw/sparc64/sun4u.c
    M hw/timer/m48t59.c
    M include/hw/timer/m48t59.h

  Log Message:
  -----------
  m48t59: let init functions return a Nvram object

Remove left-overs from header file.
Move some functions only used by PReP to hw/ppc/prep.c

Signed-off-by: Hervé Poussineau <address@hidden>
CC: Andreas Färber <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 6de0497385cbbbbd5f20ca712389b3691ea5c96d
      
https://github.com/qemu/qemu/commit/6de0497385cbbbbd5f20ca712389b3691ea5c96d
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M hw/ppc/ppc405_boards.c
    M hw/ppc/prep.c
    M hw/sparc/sun4m.c
    M hw/sparc64/sun4u.c
    M hw/timer/m48t59.c
    M include/hw/timer/m48t59.h

  Log Message:
  -----------
  m48t59: introduce new base-year qdev property

Currently the m48t59 device uses the hardware model in order to determine
whether the year value is offset from the hardware value. As this will
soon be required by the x59 model, create a qdev base-year property to
represent the base year and update the callers appropriately.

Reviewed-by: Hervé Poussineau <address@hidden>
CC: Andreas Färber <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 0278377dde6a5a845e886567c1e68a77766a89b1
      
https://github.com/qemu/qemu/commit/0278377dde6a5a845e886567c1e68a77766a89b1
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M hw/timer/m48t59.c

  Log Message:
  -----------
  m48t59: add m48t59 sysbus device

This is for subsequent use by the sun4u machine.

Reviewed-by: Hervé Poussineau <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 9bb9f217f56b678f3ad2bddeb9894880ae0320b7
      
https://github.com/qemu/qemu/commit/9bb9f217f56b678f3ad2bddeb9894880ae0320b7
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M qemu-doc.texi

  Log Message:
  -----------
  doc: minor updates to SPARC32 and SPARC64 documentation

Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: f2416d3ae4d38a078f0ff7662b26bed9b61f8096
      
https://github.com/qemu/qemu/commit/f2416d3ae4d38a078f0ff7662b26bed9b61f8096
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: add myself as SPARC maintainer

Acked-by: Peter Maydell <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: f3b18f35a23c60edbda6420cd4bd30b8bb11ea80
      
https://github.com/qemu/qemu/commit/f3b18f35a23c60edbda6420cd4bd30b8bb11ea80
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2015-03-10 (Tue, 10 Mar 2015)

  Changed paths:
    M hw/sparc64/sun4u.c
    M pc-bios/openbios-ppc
    M pc-bios/openbios-sparc32
    M pc-bios/openbios-sparc64
    M roms/openbios

  Log Message:
  -----------
  sun4u: switch m48t59 NVRAM to MMIO access

Real sun4u systems memory-map the NVRAM on the (ISA) ebus, so switch over to
MMIO from ioport access whilst setting the base year to 1968 as used by Sun
systems. This allows all SPARC64 OSs included in my tests to correctly detect
the NVRAM IC and read the hardware clock correctly upon boot.

Note that this also requires a corresponding OpenBIOS update to r1330 in order
to switch the SPARC64 NVRAM accessors over from ioport to MMIO.

Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 4ba4df405c766b7f9e46ef145e140961155348e6
      
https://github.com/qemu/qemu/commit/4ba4df405c766b7f9e46ef145e140961155348e6
  Author: Peter Maydell <address@hidden>
  Date:   2015-03-11 (Wed, 11 Mar 2015)

  Changed paths:
    M MAINTAINERS
    M hw/ppc/ppc.c
    M hw/ppc/ppc405_boards.c
    M hw/ppc/prep.c
    M hw/sparc/sun4m.c
    M hw/sparc64/sun4u.c
    M hw/timer/m48t59.c
    M include/hw/timer/m48t59.h
    M pc-bios/openbios-ppc
    M pc-bios/openbios-sparc32
    M pc-bios/openbios-sparc64
    M qemu-doc.texi
    M roms/openbios

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into 
staging

qemu-sparc update

# gpg: Signature made Tue Mar 10 13:39:51 2015 GMT using RSA key ID AE0F321F
# gpg: Good signature from "Mark Cave-Ayland <address@hidden>"

* remotes/mcayland/tags/qemu-sparc-signed:
  sun4u: switch m48t59 NVRAM to MMIO access
  MAINTAINERS: add myself as SPARC maintainer
  doc: minor updates to SPARC32 and SPARC64 documentation
  m48t59: add m48t59 sysbus device
  m48t59: introduce new base-year qdev property
  m48t59: let init functions return a Nvram object
  m48t59: add a Nvram interface
  m48t59: register a QOM type for each nvram type we support
  m48t59: move ISA ports/memory regions registration to QOM constructor

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/21025c29f5cc...4ba4df405c76

reply via email to

[Prev in Thread] Current Thread [Next in Thread]