Michael S. Tsirkin b7ee1603c1 qemu/pci: make default_write_config use mask table
Change much of hw/pci to use symbolic constants and a table-driven
design: add a mask table with writable bits set and readonly bits unset.
Detect change by comparing original and new registers.

This makes it easy to support capabilities where read-only/writeable
bit layout differs between devices, depending on capabilities present.

As a result, writing a single byte in BAR registers now works as
it should. Writing to upper limit registers in the bridge
also works as it should. Code is also shorter.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-24 09:09:14 -05:00
2009-06-17 18:27:44 +03:00
2009-06-13 08:44:31 +00:00
2009-05-13 20:54:26 +01:00
2009-05-13 20:54:26 +01:00
2009-06-15 13:52:27 +02:00
2009-03-07 21:48:00 +00:00
2009-03-07 15:46:23 +00:00
2009-03-10 21:43:35 +00:00
2009-04-07 17:57:09 +00:00
2009-04-07 17:57:09 +00:00
2009-05-13 20:54:26 +01:00
2009-05-24 21:24:33 +01:00
2009-05-26 21:10:28 +02:00
2009-05-26 21:10:28 +02:00
2009-03-05 23:01:23 +00:00
2009-05-27 09:46:03 -05:00
2009-06-05 15:16:41 +01:00
2009-03-08 12:41:36 +00:00
2009-05-30 01:59:37 +01:00
2009-06-13 19:19:25 -05:00
2009-05-28 14:00:49 +02:00
2009-05-25 18:56:13 +01:00
2009-06-16 15:52:32 -05:00
2009-06-16 15:52:32 -05:00
2009-05-13 22:21:47 +01:00
2009-05-08 15:51:19 -05:00
2009-06-15 13:52:27 +02:00
2009-05-14 22:35:09 +01:00
2009-05-09 23:22:35 +01:00
2009-05-19 22:29:20 +04:00
2009-06-16 15:52:32 -05:00
2009-06-15 12:51:37 -05:00
2009-05-08 16:11:49 -05:00
2009-03-05 23:01:23 +00:00
2009-05-14 17:03:49 -05:00
2009-04-07 21:47:27 +00:00
2009-05-13 22:21:47 +01:00
2009-05-22 10:50:35 -05:00
2009-03-05 23:01:23 +00:00
2009-06-22 10:15:30 -05:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%