All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] next-cube: various tidy-ups and improvements
@ 2023-12-20 13:16 Mark Cave-Ayland
  2023-12-20 13:16 ` [PATCH v2 01/11] next-cube.c: add dummy Ethernet register to allow diagnostic to timeout Mark Cave-Ayland
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Mark Cave-Ayland @ 2023-12-20 13:16 UTC (permalink / raw)
  To: huth, qemu-devel

This series contains some tidy-ups/improvements for the next-cube machine with
the aim of bringing the code up-to-date with our latest coding guidelines.

The main aim of the series is to bring the memory accessors up-to-date with
the memory API and improve some of basic machine modelling. There are still
some future improvements that can be made: for example switching from DPRINTF
macros to trace events and proper modelling of the DMA controller, however
I've left these for now since they allow for easier comparison with Bryce's
original GSoC branch.

This series can be used in conjunction with my upcoming ESP rework series
which fixes up the ESP emulation enough to allow the next-cube machine to
load a kernel from disk and start executing it.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

[Patches missing R-B: 1, 8, 9, 10]

v2:
- Add R-B and T-B tags from Thomas
- Swap patches 8 and 9 ("next-cube.c: move LED logic to new
  next_scr2_led_update() function") and ("next-cube.c: move static old_scr2
  variable to NeXTPC") to maintain bisectibility
- Drop patch 11 ("next-cube.c: replace sysmem with get_system_memory() in
  next_cube_init()")


Mark Cave-Ayland (11):
  next-cube.c: add dummy Ethernet register to allow diagnostic to
    timeout
  next-cube.c: don't pulse SCSI DMA IRQ upon reception of FLUSH command
  next-cube.c: update mmio_ops to properly use modern memory API
  next-cube.c: update scr_ops to properly use modern memory API
  next-cube.c: update and improve dma_ops
  next-cube.c: move static led variable to NeXTPC
  next-cube.c: move static phase variable to NextRtc
  next-cube.c: move static old_scr2 variable to NeXTPC
  next-cube.c: move LED logic to new next_scr2_led_update() function
  next-cube.c: remove val and size arguments from nextscr2_write()
  next-cube.c: move machine MemoryRegions into NeXTState

 hw/m68k/next-cube.c | 525 +++++++++++++++++++-------------------------
 1 file changed, 227 insertions(+), 298 deletions(-)

-- 
2.39.2



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-12-21  8:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20 13:16 [PATCH v2 00/11] next-cube: various tidy-ups and improvements Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 01/11] next-cube.c: add dummy Ethernet register to allow diagnostic to timeout Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 02/11] next-cube.c: don't pulse SCSI DMA IRQ upon reception of FLUSH command Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 03/11] next-cube.c: update mmio_ops to properly use modern memory API Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 04/11] next-cube.c: update scr_ops " Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 05/11] next-cube.c: update and improve dma_ops Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 06/11] next-cube.c: move static led variable to NeXTPC Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 07/11] next-cube.c: move static phase variable to NextRtc Mark Cave-Ayland
2023-12-20 13:16 ` [PATCH v2 08/11] next-cube.c: move static old_scr2 variable to NeXTPC Mark Cave-Ayland
2023-12-20 19:20   ` Thomas Huth
2023-12-20 19:36     ` Mark Cave-Ayland
2023-12-21  8:33       ` Thomas Huth
2023-12-20 13:16 ` [PATCH v2 09/11] next-cube.c: move LED logic to new next_scr2_led_update() function Mark Cave-Ayland
2023-12-21  8:34   ` Thomas Huth
2023-12-20 13:16 ` [PATCH v2 10/11] next-cube.c: remove val and size arguments from nextscr2_write() Mark Cave-Ayland
2023-12-21  8:35   ` Thomas Huth
2023-12-20 13:16 ` [PATCH v2 11/11] next-cube.c: move machine MemoryRegions into NeXTState Mark Cave-Ayland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.