Displaying 2 results from an estimated 2 matches for "res_offset".
Did you mean:
reg_offset
2020 Aug 19
0
[PATCH v3 04/18] virtio: Implement get_shm_region for PCI transport
...virtio_pci_find_shm_cap(struct pci_dev *dev, u8 required_id,
+ u8 *bar, u64 *offset, u64 *len)
+{
+ int pos;
+
+ for (pos = pci_find_capability(dev, PCI_CAP_ID_VNDR); pos > 0;
+ pos = pci_find_next_capability(dev, pos, PCI_CAP_ID_VNDR)) {
+ u8 type, cap_len, id;
+ u32 tmp32;
+ u64 res_offset, res_length;
+
+ pci_read_config_byte(dev, pos + offsetof(struct virtio_pci_cap,
+ cfg_type), &type);
+ if (type != VIRTIO_PCI_CAP_SHARED_MEMORY_CFG)
+ continue;
+
+ pci_read_config_byte(dev, pos + offsetof(struct virtio_pci_cap,
+ cap_len), &cap_len);
+ if (cap_len != s...
2002 Mar 19
1
Solaris 8 error - make: Fatal error: Command failed for target `saveload.o'
...pe or storage
class
/usr/include/sys/tihdr.h:356: parse error before `t_scalar_t'
/usr/include/sys/tihdr.h:356: warning: no semicolon at end of struct or union
/usr/include/sys/tihdr.h:357: warning: data definition has no type or storage
class
/usr/include/sys/tihdr.h:358: parse error before `RES_offset'
/usr/include/sys/tihdr.h:358: warning: data definition has no type or storage
class
/usr/include/sys/tihdr.h:359: parse error before `OPT_length'
/usr/include/sys/tihdr.h:359: warning: data definition has no type or storage
class
/usr/include/sys/tihdr.h:360: parse error before `OPT_offs...