]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC boot loader path and RBX constant deduplication
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 9 Feb 2016 22:32:24 +0000 (22:32 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 9 Feb 2016 22:32:24 +0000 (22:32 +0000)
commit74e970c270fa0c502e178ee7e5a702f7aa69dc5b
tree7afcfe90b96978757e63fae08a8ce479d0affe67
parentf86e6fb52b516212842cd25172cd596805b8a97e
MFC boot loader path and RBX constant deduplication

r294765 (imp)

Move all the separate copies of the same strings into paths.h. There's
nothing machine specific about these.

r294765 (imp)

RBX_ defines are in rbx.h, move it there.

r294847 (imp)

Remove static from these two. They slipped through the cracks.

r294925 (imp)

Fix mistake when transitioning to the new defines with ZFS loader. I
hate adding yet another define, but it is the lessor of the evil
choices available. Kill another evil by removing PATH_BOOT3 and
replacing it with PATH_LOADER or PATH_LOADER_ZFS as appropriate.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@295453 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/arm/at91/boot2/boot2.c
sys/boot/arm/ixp425/boot2/boot2.c
sys/boot/common/paths.h [new file with mode: 0644]
sys/boot/common/rbx.h [moved from sys/boot/i386/common/rbx.h with 100% similarity]
sys/boot/efi/boot1/boot1.c
sys/boot/i386/boot2/boot2.c
sys/boot/i386/gptboot/gptboot.c
sys/boot/i386/zfsboot/zfsboot.c
sys/boot/pc98/boot2/boot2.c
sys/boot/powerpc/boot1.chrp/boot1.c
sys/boot/sparc64/boot1/boot1.c