History log of /freebsd/stand/kboot/libkboot/crt1.c (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f0f44cdb 17-Apr-2025 Warner Losh <imp@FreeBSD.org>

kboot: Save the upper limit of the call stack.

The location of argc argument is a fine limit for the extent of the
stack traceback. We could save the location of return address for the
call to _star

kboot: Save the upper limit of the call stack.

The location of argc argument is a fine limit for the extent of the
stack traceback. We could save the location of return address for the
call to _start_c, but we'd have to move that into MD assembler. While
not hard, it wouldn't improve the traces we can get. And the math to
find it is architecture dependent (though the same for both arm64 and
amd64).

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

show more ...


Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0
# 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 ...