1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/stand/efi
Warner Losh de04d704a9 Use the actual struct devdesc at the start of all *_devdesc structs
The current system is fragile and requires very careful layout of all
*_devdesc structures. It also makes it hard to change the base
devdesc. Take a page from CAM and put the 'header' in all the derived
classes and adjust the code to match.

For OFW, move the iHandle h_handle out of a slot conflicting with
d_opendata. Due to quirks in the alignment rules, this worked.
However changing the code to use d_opendata storage now that it's a
pointer is hard, so just have a separate field for it.

All other cleanups were to make the *_devdesc structures match where
they'd taken some liberties that were none-the-less compatible enough
to work.
2018-03-12 21:39:49 +00:00
..
boot1 Centralize several variables. 2018-02-02 06:32:26 +00:00
fdt Remove now-unused variable after r328809 2018-02-04 17:31:50 +00:00
include efi: Do not pad the efi devpath structure 2018-02-18 11:17:39 +00:00
libefi Use the actual struct devdesc at the start of all *_devdesc structs 2018-03-12 21:39:49 +00:00
loader Use the actual struct devdesc at the start of all *_devdesc structs 2018-03-12 21:39:49 +00:00
Makefile stand: Fix build after r330249 2018-03-01 21:46:01 +00:00
Makefile.inc