opnsense-src/sys/dev/xen
Roger Pau Monné 3e7df58df2 xen/blkfront: use the correct type for disk sectors
The correct type to use to represent disk sectors is blkif_sector_t
(which is an uint64_t underneath). This avoid truncation of the disk
size calculation when resizing on i386, as otherwise the calculation
of d_mediasize in xbd_connect is truncated to the size of unsigned
long, which is 32bits on i386.

Note this issue didn't affect amd64, because the size of unsigned long
is 64bits there.

Sponsored by:	Citrix Systems R&D
MFC after:	1 week
2020-05-28 08:19:13 +00:00
..
balloon Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) 2020-02-25 19:04:39 +00:00
blkback vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
blkfront xen/blkfront: use the correct type for disk sectors 2020-05-28 08:19:13 +00:00
console tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
control xen/ctrl: acknowledge all control requests 2019-10-01 08:21:41 +00:00
debug Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
evtchn dev/xenstore: fix return with locks held 2020-05-20 11:01:10 +00:00
gntdev Make page busy state deterministic on free. Pages must be xbusy when 2019-12-22 06:56:44 +00:00
grant_table xen/grants: fix deadlocks in the free callbacks 2018-07-30 11:41:51 +00:00
netback Remove noise that once upon a time allowed netback to build on FreeBSD 6. The 2020-03-01 18:18:11 +00:00
netfront xen/netfront: Ensure curvnet is set 2018-08-23 16:52:52 +00:00
pci Associate device_t objects with ACPI handles via PCI_CHILD_ADDED(). 2016-04-07 17:15:16 +00:00
pcifront sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
privcmd Make page busy state deterministic on free. Pages must be xbusy when 2019-12-22 06:56:44 +00:00
pvcpu xen: attach the PV CPU if no CPU device is present 2018-07-19 08:00:52 +00:00
timer Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
xenpci sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
xenstore Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) 2020-02-25 19:04:39 +00:00