freebsd-dev/stand
Emrion 0ca9f1d4a3 Fix pmbr issues > 2TB
These issues have low impact because they require precise circumstances
to trigger one of them. The disk must be > 2 TiB in size and either:
- The primary GPT header is dammaged.
- The freebsd-boot partiton is located farther than the first 2 TiB of
  the disc and one of its sectors takes place at a lba value that makes
  the higher 32 bits of this very value change.
Errors and corrections folow:
- decl and incl don't affect CF, so replace with subl/addl $1
- repe uses %cx, so move size to it with movw
- moving a 64-bit value with %cx of 2 (should be 4) so addresses
  > 2TB will work.

PR:			233180
Reviewed by:		imp@ (applied patch using description in bug)
Differential Revision:	https://reviews.freebsd.org/D31100
2021-07-13 15:40:44 -06:00
..
arm Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
arm64
common loader: Don't reserve space for symbols twice. 2021-07-12 15:30:27 -06:00
defaults loader: update autoboot description and move to loader.conf.5 2021-07-12 15:13:03 -06:00
efi loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
fdt loader: Fix dtb loading 2021-07-05 15:53:08 +02:00
ficl loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
ficl32
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader: support.4th resets the read buffer incorrectly 2021-07-11 08:47:29 -06:00
i386 Fix pmbr issues > 2TB 2021-07-13 15:40:44 -06:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-04-12 16:13:33 +02:00
liblua EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
liblua32
libofw Fix 64-bit build of libofw. 2020-09-08 23:22:11 +00:00
libsa libsa: Add tslog support for arm64 2021-06-23 22:21:23 -07:00
libsa32
lua loader: do not output empty menu title 2021-04-21 14:50:23 +03:00
man loader: update autoboot description and move to loader.conf.5 2021-07-12 15:13:03 -06:00
mips Disable PIE for MIPS BERI boot loader 2021-02-25 06:41:35 +01:00
powerpc Disable PIE for powerpc bootloaders. 2021-02-25 00:26:11 +01:00
uboot loader: fix uboot build with gfx_fb 2021-01-03 20:45:37 +02:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot userboot: provide stub gfx functions 2021-01-30 21:20:27 +02:00
defs.mk [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
fdt.mk
ficl.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
loader.mk stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
lua.mk
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-27 13:02:51 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
uboot.mk
veriexec.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00