Page MenuHomeFreeBSD

kboot: Save the upper limit of the call stack.
ClosedPublic

Authored by imp on Wed, Apr 16, 7:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 29, 5:51 AM
Unknown Object (File)
Sun, Apr 20, 11:15 AM
Unknown Object (File)
Sat, Apr 19, 9:43 PM
Unknown Object (File)
Sat, Apr 19, 9:14 PM
Unknown Object (File)
Sat, Apr 19, 12:49 PM
Unknown Object (File)
Sat, Apr 19, 12:40 PM
Unknown Object (File)
Fri, Apr 18, 2:25 AM
Unknown Object (File)
Thu, Apr 17, 11:35 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable