get_frame_size(9)
π get_frame_size(9) β Kernel API Manual β¨
okay bestie, welcome to get_frame_size(9) from the Kernel API Manual π«Ά this one is short, specific, and lowkey iconic. it's giving βtiny function, very particular jobβ energy π
πΈ NAME πΈ
get_frame_size β extract the stack adjustment from an "addik r1, r1, adjust" instruction π
β¨ SYNOPSIS β¨
long get_frame_size (unsigned long instr );
π§ ARGUMENTS π§
instrβ a Microblaze instruction π that's the thing you're handing over, no cap.
π₯ DESCRIPTION π₯
Return β Number of stack bytes the instruction reserves or reclaims π
likeβ¦ that's literally the whole description, and it ate. the function looks at the instruction and gives you back that stack-byte number π
π¦ SEE ALSO π¦
Kernel file ./arch/microblaze/kernel/unwind.c π plus these besties:
find_frame_creation(9)lookup_prev_stack_frame(9)unwind_trap(9)microblaze_unwind_inner(9)microblaze_unwind(9)
go read those if you want the full unwind-adjacent group chat π«Άβ¨
mwah π this page lives under ./arch/microblaze/kernel, dated October 2026, and it's still serving get_frame_size(9) realness ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms