mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
xhci: add xhci_cap_write
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
94ae9eece7
commit
6d3bc22e31
1 changed files with 7 additions and 0 deletions
|
@ -3079,8 +3079,15 @@ static void xhci_doorbell_write(void *ptr, hwaddr reg,
|
|||
}
|
||||
}
|
||||
|
||||
static void xhci_cap_write(void *opaque, hwaddr addr, uint64_t val,
|
||||
unsigned width)
|
||||
{
|
||||
/* nothing */
|
||||
}
|
||||
|
||||
static const MemoryRegionOps xhci_cap_ops = {
|
||||
.read = xhci_cap_read,
|
||||
.write = xhci_cap_write,
|
||||
.valid.min_access_size = 1,
|
||||
.valid.max_access_size = 4,
|
||||
.impl.min_access_size = 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue