freebsd-skq/sys/boot/i386
tsoome e6945f7ee6 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
..
boot0 Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
boot0sio META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
boot2 dd is currently a bootstrap tool. It really doesn't have any business 2016-12-02 14:44:38 +00:00
btx btxldr: process all PT_LOAD segments, not just the first two 2016-12-28 14:25:04 +00:00
cdboot cdboot: add explict suffix to ambiguous or instruction 2016-12-28 23:02:01 +00:00
common boot2 will deadlock if extended keys are used on text input 2016-12-30 18:21:52 +00:00
gptboot LIBSTAND goes last, so put it last here too. 2016-10-26 05:26:59 +00:00
gptzfsboot zfsbootcfg: a simple tool to set next boot (one time) options for zfsboot 2016-10-29 14:09:32 +00:00
kgzldr META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
libfirewire dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
libi386 loader: disk/part api needs to use uint64_t offsets 2017-02-01 20:10:56 +00:00
loader loader: use strip -o instead of cp and strip in place 2016-12-28 04:55:43 +00:00
mbr Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
pmbr Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
pxeldr dd is currently a bootstrap tool. It really doesn't have any business 2016-12-02 14:44:38 +00:00
zfsboot dd is currently a bootstrap tool. It really doesn't have any business 2016-12-02 14:44:38 +00:00
zfsloader DIRDEPS_BUILD: Update dependencies. 2016-03-21 18:02:26 +00:00
boot.ldscript Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
Makefile Restore kgzldr on i386 only 2016-02-08 16:59:52 +00:00
Makefile.inc Back out the move to the loader script from -N. This should fix the 2016-10-26 05:26:58 +00:00