plat_fdt_relocated(9)
π« plat_fdt_relocated(9) π«
ok so bestie, welcome to the plat_fdt_relocated page from the Kernel API Manual (that's the manual name, iykyk) β it's short, it's sweet, and it's literally the whole vibe. Let's get into it π
πΈ NAME πΈ
plat_fdt_relocated β update the platform's information about the relocated dtb
β¨ SYNOPSIS β¨
void plat_fdt_relocated (void *new_location );
That's it. That's the whole signature. No extra params, no surprises, she's lowkey iconic for it π¦
π«Ά ARGUMENTS π«Ά
new_locationβ -- undescribed --
yeah bestie, that's genuinely all the manpage gives us π the argument exists, she's there, she's a void *, and the docs said "not today." no cap, that's what's written, so that's what I'm telling you. π
π₯ DESCRIPTION π₯
So. This function hands you a platform-independent API to set the platform's info about a relocated DTB β but only if that DTB actually needs to be moved, because of kernel relocation happening at boot.
Read that again, bestie: it's the "hey, the device tree blob moved, update your notes" function. The table of contents of the kernel's boot-time furniture changed, and this is how the platform finds out π
platform-independent is the main character energy here β same call, whatever platform you're on. slay.
π SEE ALSO π
- Kernel file
./arch/mips/include/asm/bootinfo.hβ go read it, it's giving context π§ plat_get_fdt(9)β the sibling function, obsessed with her honestly π
β little reminder: this is a kernel API page, so the details above are exactly what's documented β no invented tips, no "oh it probably alsoβ¦" guesses. if it's not on this page, it's not on this page. periodt. π
and that's the page!! π brought to you by the fine folks at ./arch/mips/include/asm, dated October 2026 β so like, fresh off the press, literally. mwah ππ«Ά
π¦ 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