freebsd-skq/sys/dev/xen
Konstantin Belousov 10d9120c44 Change the vm_ooffset_t type to unsigned.
The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM.  The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway.  Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by:	alc, markj (previous version)
Tested by:	pho
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2018-12-02 13:16:46 +00:00
..
balloon
blkback
blkfront
console
control
debug
evtchn
gntdev Change the vm_ooffset_t type to unsigned. 2018-12-02 13:16:46 +00:00
grant_table
netback
netfront xen/netfront: Ensure curvnet is set 2018-08-23 16:52:52 +00:00
pci
pcifront
privcmd xen: temporary disable SMAP when forwarding hypercalls from user-space 2018-09-13 07:15:02 +00:00
pvcpu
timer Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
xenpci
xenstore