plat_fdt_relocated(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« 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