qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5 5/6] hppa: Add emulation of Artist graphics


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v5 5/6] hppa: Add emulation of Artist graphics
Date: Tue, 24 Dec 2019 01:18:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

On 12/23/19 6:50 PM, Sven Schnelle wrote:
Hi Philippe,

On Sun, Dec 22, 2019 at 01:37:48PM +0100, Philippe Mathieu-Daudé wrote:
+ if (vga_interface_type != VGA_NONE) {
+        dev = qdev_create(NULL, "artist");
+        qdev_init_nofail(dev);
+        s = SYS_BUS_DEVICE(dev);
+        sysbus_mmio_map(s, 0, LASI_GFX_HPA);
+        sysbus_mmio_map(s, 1, ARTIST_FB_ADDR);

How is this chipset connected on the board?
If it is a card you can plug on a bus, you can use a condition.
If it is soldered or part of another chipset, then it has to be mapped
unconditionally.

Depends on the Model. Hp 9000 712 and 715 had it onboard, for the B160L
we're emulating and others it was a GSC add-on card.

The B160L case is unclear, do you mean this is not the chipset on the machine, but the software is happy if another chipset is available?

Looking at hw/hppa/ I only see one machine:

  static void machine_hppa_machine_init(MachineClass *mc)
  {
      mc->desc = "HPPA generic machine";
      ...
  }
  DEFINE_MACHINE("hppa", machine_hppa_machine_init)

Are you saying this generic machine is able to run different physical hw? Why not add them? This shouldn't take long and it would be clearer, what do you think?

Adding different machines here in QEMU mostly mean add a class which declare the different properties used by each machine. Igor Mammedov recently suggested to follow the example of aspeed_machine_types[] in hw/arm/aspeed.c.




reply via email to

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