freebsd-nq/sys/boot/uboot
Toomas Soome 151139ad9e loader: disk/part api needs to use uint64_t offsets
The disk_* and part_* api is using 64bit values for media size and
offsets. However, the current api is using off_t type, which is signed
64-bit int.

In this context the signed media size does not make any sense, and
the offsets are used to mark absolute, not relative locations.

Also, the data from GPT partition table and some other sources is
already using uint64_t data type, so using signed off_t can cause sign
issues.

Reviewed by:	imp
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D8710
2017-02-01 20:10:56 +00:00
..
common Reduce boot loader version string duplication 2016-12-18 13:57:23 +00:00
fdt sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
lib loader: disk/part api needs to use uint64_t offsets 2017-02-01 20:10:56 +00:00
Makefile Start to allow platforms other than U-Boot to use the FDT code in loader by 2014-11-01 17:12:44 +00:00
Makefile.inc