summaryrefslogtreecommitdiffstats
path: root/hw/timer/mips_gictimer.c
diff options
context:
space:
mode:
authorPatrick Venture2021-04-12 21:45:20 +0200
committerCorey Minyard2021-04-15 14:10:06 +0200
commit513ca82d8982463aca98aa01dcf584e0b4fc0982 (patch)
tree6653797e4ea6b778f9a10f73926ebc2415a424b4 /hw/timer/mips_gictimer.c
parenthw/i2c: name I2CNode list in I2CBus (diff)
downloadqemu-513ca82d8982463aca98aa01dcf584e0b4fc0982.tar.gz
qemu-513ca82d8982463aca98aa01dcf584e0b4fc0982.tar.xz
qemu-513ca82d8982463aca98aa01dcf584e0b4fc0982.zip
hw/i2c: add match method for device search
At the start of an i2c transaction, the i2c bus searches its list of children to identify which devices correspond to the address (or broadcast). Now the I2CSlave device has a method "match" that encapsulates the lookup behavior. This allows the behavior to be changed to support devices, such as i2c muxes. Tested: A BMC firmware was booted to userspace and i2c devices were detected. Signed-off-by: Patrick Venture <venture@google.com> Reviewed-by: Hao Wu <wuhaotsh@google.com> Message-Id: <20210412194522.664594-3-venture@google.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/timer/mips_gictimer.c')
0 files changed, 0 insertions, 0 deletions