freebsd-dev/sys/dev/hyperv/storvsc
John Baldwin 53e938e408 hyperv storvsc: Don't abuse struct sglist to hold virtual addresses.
struct sglist is intended for holding S/G lists of physical address
ranges, not virtual address ranges.  GCC 9.x issues several warnings
due to casts between pointers and integers of different sizes as a
result (vm_paddr_t is 64-bits on i386).  Instead, add a local 'struct
hv_sglist' which uses an array of 'struct iovec' to hold the S/G list
of virtual address ranges.

Differential Revision:	https://reviews.freebsd.org/D31933
2022-01-31 17:11:27 -08:00
..
hv_storvsc_drv_freebsd.c hyperv storvsc: Don't abuse struct sglist to hold virtual addresses. 2022-01-31 17:11:27 -08:00
hv_vstorage.h Hyper-V: storvsc: Enhance srb_status code handling. 2020-08-31 09:05:45 +00:00