mirror of
https://github.com/opnsense/src.git
synced 2026-05-14 10:13:48 -04:00
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
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| hvsock | ||
| include | ||
| input | ||
| netvsc | ||
| pcib | ||
| storvsc | ||
| utilities | ||
| vmbus | ||