[Top][All Lists]

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

Re: [PATCH v2 06/12] exec/ioport: Add portio_list_set_address()

From: BALATON Zoltan
Subject: Re: [PATCH v2 06/12] exec/ioport: Add portio_list_set_address()
Date: Tue, 19 Dec 2023 01:06:26 +0100 (CET)

On Mon, 18 Dec 2023, Bernhard Beschow wrote:
Some SuperI/O devices such as the VIA south bridges or the PC87312 controller
are able to relocate their SuperI/O functions. Add a convenience function for
implementing this in the VIA south bridges.

This convenience function relies on previous simplifications in exec/ioport
which avoids some duplicate synchronization of I/O port base addresses. The
naming of the function is inspired by its memory_region_set_address() pendant.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
docs/devel/migration.rst |  1 +
include/exec/ioport.h    |  2 ++
system/ioport.c          | 19 +++++++++++++++++++
3 files changed, 22 insertions(+)

diff --git a/docs/devel/migration.rst b/docs/devel/migration.rst
index ec55089b25..389fa24bde 100644
--- a/docs/devel/migration.rst
+++ b/docs/devel/migration.rst
@@ -464,6 +464,7 @@ Examples of such memory API functions are:
  - memory_region_set_enabled()
  - memory_region_set_address()
  - memory_region_set_alias_offset()

These added here aren't memory API functions so maybe make them a separate list with some rewording so that this is not specific to memory API but whatever changes memory regions such as memory API or these portio_list functions.

reply via email to

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