projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Consolidate DSDT copy-and-paste PCI IRQ code into method calls.
[seabios.git]
/
src
/
virtio-pci.h
diff --git
a/src/virtio-pci.h
b/src/virtio-pci.h
index 9da761dccfd9172da12c54d48033556a3146dbdf..d21d5a5a21b6de2c80acda257b45e76a409a6464 100644
(file)
--- a/
src/virtio-pci.h
+++ b/
src/virtio-pci.h
@@
-71,6
+71,10
@@
static inline void vp_set_status(unsigned int ioaddr, u8 status)
outb(status, ioaddr + VIRTIO_PCI_STATUS);
}
+static inline u8 vp_get_isr(unsigned int ioaddr)
+{
+ return inb(ioaddr + VIRTIO_PCI_ISR);
+}
static inline void vp_reset(unsigned int ioaddr)
{