History log of /src/stand/kboot/libkboot/Makefile (Results 1 – 25 of 33)
Revision Date Author Comments
# f3c0d74e 17-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Implement data_from_kernel to read kernel variables

Since the linux kernel doesn't expose enough of the EFI details to
userland via /sys/firmware/efi, write a routine to extract data from the

kboot: Implement data_from_kernel to read kernel variables

Since the linux kernel doesn't expose enough of the EFI details to
userland via /sys/firmware/efi, write a routine to extract data from the
kernel directly by parsing /proc/kproc and /proc/kallsyms.

Sponsored by: Netflix
Reviewed by: kevans, jhibbits
Differential Revision: https://reviews.freebsd.org/D49868

show more ...


# 92ad79ec 17-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Move common EFI stuff from aarch64 to libkboot

Move efi_read_from_pa, efi_set_systbl and efi_bi_loadsmap into efi.c
Move prototype for populate_avail_from_efi as well, though that arrived
pre

kboot: Move common EFI stuff from aarch64 to libkboot

Move efi_read_from_pa, efi_set_systbl and efi_bi_loadsmap into efi.c
Move prototype for populate_avail_from_efi as well, though that arrived
previously.

Move efi memory map variables into efi.c.

Add efi_read_from_sysfs, but if 0 it out. We'll want to use it if we can
get the proposed /sys/firmware/efi/memmap data published in the same
format and the code works, it's just that the current
/sys/firmware/efi/runtime-memmap isn't complete enough to use.

Sponsored by: Netflix
Reviewed by: kevans, jhibbits
Differential Revision: https://reviews.freebsd.org/D49863

show more ...


# 136d2dc0 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Start to move efi common routines to libkboot

Start to move the common efi routines into libkboot by moving the efi
memory map walking and implementing a printing routine around it.

Sponsore

kboot: Start to move efi common routines to libkboot

Start to move the common efi routines into libkboot by moving the efi
memory map walking and implementing a printing routine around it.

Sponsored by: Netflix

show more ...


# b2bd8c9a 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Move str* util routines to libkboot

These are needed for the next round of EFI support for amd64 (partially
shared with aarch64, but only partially because the Linux host interfaces
are diffe

kboot: Move str* util routines to libkboot

These are needed for the next round of EFI support for amd64 (partially
shared with aarch64, but only partially because the Linux host interfaces
are different to get the same info).

Sponsored by: Netflix

show more ...


# 757dc8ab 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Move seg code into libkboot

This code is really generic segment processing and should live here. It
also interfaces primarily with Linux APIs, so it's also appropriate for
this if we have a v

kboot: Move seg code into libkboot

This code is really generic segment processing and should live here. It
also interfaces primarily with Linux APIs, so it's also appropriate for
this if we have a version of that runs as a FreeBSD binary using FreeBSD
system calls and APIs, though that's in the future somehow...

Sponsored by: Netflix

show more ...


# 5b304735 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Use SRCS+= instead of continuation lines

Use SRCS+= to allow for better ifdefs

Sponsored by: Netflix


# 36ef238c 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move termios to libkboot

Sponsored by: Netflix


# 2e3f4988 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move system calls to libkboot

Sponsored by: Netflix


# 09933581 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move syscall stubs to libkboot

Sponsored by: Netflix


# 4aabaa18 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Cleanup libkern reference

For aarch64 and amd64, we don't pull in anything from libkern, so we
don't need it in our path. However, powerpc needs ucmpdi2 from libkern,
so bring it into libkbo

kboot: Cleanup libkern reference

For aarch64 and amd64, we don't pull in anything from libkern, so we
don't need it in our path. However, powerpc needs ucmpdi2 from libkern,
so bring it into libkboot's build and omit it from loader.kboot.

Sponsored by: Netflix

show more ...


# a03411e8 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move _start out of kboot and into libkboot

Move the startup code from kboot/kboot to kboot/libkboot and add the
necessary infrastructure for it to build. move start_arch.h, a private
header f

kboot: Move _start out of kboot and into libkboot

Move the startup code from kboot/kboot to kboot/libkboot and add the
necessary infrastructure for it to build. move start_arch.h, a private
header for libkboot, over as well.

Sponsored by: Netflix

show more ...


# f3c0d74e 17-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Implement data_from_kernel to read kernel variables

Since the linux kernel doesn't expose enough of the EFI details to
userland via /sys/firmware/efi, write a routine to extract data from the

kboot: Implement data_from_kernel to read kernel variables

Since the linux kernel doesn't expose enough of the EFI details to
userland via /sys/firmware/efi, write a routine to extract data from the
kernel directly by parsing /proc/kproc and /proc/kallsyms.

Sponsored by: Netflix
Reviewed by: kevans, jhibbits
Differential Revision: https://reviews.freebsd.org/D49868

show more ...


# 92ad79ec 17-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Move common EFI stuff from aarch64 to libkboot

Move efi_read_from_pa, efi_set_systbl and efi_bi_loadsmap into efi.c
Move prototype for populate_avail_from_efi as well, though that arrived
pre

kboot: Move common EFI stuff from aarch64 to libkboot

Move efi_read_from_pa, efi_set_systbl and efi_bi_loadsmap into efi.c
Move prototype for populate_avail_from_efi as well, though that arrived
previously.

Move efi memory map variables into efi.c.

Add efi_read_from_sysfs, but if 0 it out. We'll want to use it if we can
get the proposed /sys/firmware/efi/memmap data published in the same
format and the code works, it's just that the current
/sys/firmware/efi/runtime-memmap isn't complete enough to use.

Sponsored by: Netflix
Reviewed by: kevans, jhibbits
Differential Revision: https://reviews.freebsd.org/D49863

show more ...


# 136d2dc0 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Start to move efi common routines to libkboot

Start to move the common efi routines into libkboot by moving the efi
memory map walking and implementing a printing routine around it.

Sponsore

kboot: Start to move efi common routines to libkboot

Start to move the common efi routines into libkboot by moving the efi
memory map walking and implementing a printing routine around it.

Sponsored by: Netflix

show more ...


# b2bd8c9a 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Move str* util routines to libkboot

These are needed for the next round of EFI support for amd64 (partially
shared with aarch64, but only partially because the Linux host interfaces
are diffe

kboot: Move str* util routines to libkboot

These are needed for the next round of EFI support for amd64 (partially
shared with aarch64, but only partially because the Linux host interfaces
are different to get the same info).

Sponsored by: Netflix

show more ...


# 757dc8ab 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Move seg code into libkboot

This code is really generic segment processing and should live here. It
also interfaces primarily with Linux APIs, so it's also appropriate for
this if we have a v

kboot: Move seg code into libkboot

This code is really generic segment processing and should live here. It
also interfaces primarily with Linux APIs, so it's also appropriate for
this if we have a version of that runs as a FreeBSD binary using FreeBSD
system calls and APIs, though that's in the future somehow...

Sponsored by: Netflix

show more ...


# 5b304735 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Use SRCS+= instead of continuation lines

Use SRCS+= to allow for better ifdefs

Sponsored by: Netflix


# 36ef238c 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move termios to libkboot

Sponsored by: Netflix


# 2e3f4988 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move system calls to libkboot

Sponsored by: Netflix


# 09933581 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move syscall stubs to libkboot

Sponsored by: Netflix


# 4aabaa18 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Cleanup libkern reference

For aarch64 and amd64, we don't pull in anything from libkern, so we
don't need it in our path. However, powerpc needs ucmpdi2 from libkern,
so bring it into libkbo

kboot: Cleanup libkern reference

For aarch64 and amd64, we don't pull in anything from libkern, so we
don't need it in our path. However, powerpc needs ucmpdi2 from libkern,
so bring it into libkboot's build and omit it from loader.kboot.

Sponsored by: Netflix

show more ...


# a03411e8 28-Jan-2024 Warner Losh <imp@FreeBSD.org>

kboot: Move _start out of kboot and into libkboot

Move the startup code from kboot/kboot to kboot/libkboot and add the
necessary infrastructure for it to build. move start_arch.h, a private
header f

kboot: Move _start out of kboot and into libkboot

Move the startup code from kboot/kboot to kboot/libkboot and add the
necessary infrastructure for it to build. move start_arch.h, a private
header for libkboot, over as well.

Sponsored by: Netflix

show more ...


# f3c0d74e 17-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Implement data_from_kernel to read kernel variables

Since the linux kernel doesn't expose enough of the EFI details to
userland via /sys/firmware/efi, write a routine to extract data from the

kboot: Implement data_from_kernel to read kernel variables

Since the linux kernel doesn't expose enough of the EFI details to
userland via /sys/firmware/efi, write a routine to extract data from the
kernel directly by parsing /proc/kproc and /proc/kallsyms.

Sponsored by: Netflix
Reviewed by: kevans, jhibbits
Differential Revision: https://reviews.freebsd.org/D49868

show more ...


# 92ad79ec 17-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Move common EFI stuff from aarch64 to libkboot

Move efi_read_from_pa, efi_set_systbl and efi_bi_loadsmap into efi.c
Move prototype for populate_avail_from_efi as well, though that arrived
pre

kboot: Move common EFI stuff from aarch64 to libkboot

Move efi_read_from_pa, efi_set_systbl and efi_bi_loadsmap into efi.c
Move prototype for populate_avail_from_efi as well, though that arrived
previously.

Move efi memory map variables into efi.c.

Add efi_read_from_sysfs, but if 0 it out. We'll want to use it if we can
get the proposed /sys/firmware/efi/memmap data published in the same
format and the code works, it's just that the current
/sys/firmware/efi/runtime-memmap isn't complete enough to use.

Sponsored by: Netflix
Reviewed by: kevans, jhibbits
Differential Revision: https://reviews.freebsd.org/D49863

show more ...


# 136d2dc0 09-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Start to move efi common routines to libkboot

Start to move the common efi routines into libkboot by moving the efi
memory map walking and implementing a printing routine around it.

Sponsore

kboot: Start to move efi common routines to libkboot

Start to move the common efi routines into libkboot by moving the efi
memory map walking and implementing a printing routine around it.

Sponsored by: Netflix

show more ...


12