fman_muram_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 fman_muram_init πŸ’…

okay so bestie, we're diving into the Kernel API Manual for fman_muram_init(9) β€” yes, a section-9 function, she's that girl. Let's get into it ✨


πŸŽ€ NAME πŸŽ€

fman_muram_init β€” and honestly? The original page just... leaves the description blank. Nothing. Nada. A whole NAME section with no name-explanation. Iconic of her, lowkey. So no cap, there's no one-liner here β€” the function name is literally all you get, and the rest of the page does the talking. 🫢


⭐ SYNOPSIS ⭐

struct muram_info * fman_muram_init (phys_addr_t base , size_t size );

that's the whole vibe check, bestie β€” she returns a struct muram_info * and takes a phys_addr_t base plus a size_t size. Copy it exactly, no improvising πŸ”₯


πŸ’– ARGUMENTS πŸ’–

  • base β€” Pointer to base of memory mapped FM-MURAM. Like, the starting address of the FM-MURAM you've got mapped in. Your launchpad πŸš€
  • size β€” Size of the FM-MURAM partition. How much MURAM we're carving out, fr fr.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what she actually does: creates a partition in the MURAM. That's the whole job, and she does it slayfully πŸ’…

The routine returns a pointer to the MURAM partition, and here's the part you cannot skip β€” this pointer must be passed as to all other FM-MURAM function calls. Every single one. She's the main character and everybody else needs her pointer to even function. Periodt. πŸ‘‘

And a super important heads-up, ngl: no actual initialization or configuration of FM_MURAM hardware is done by this routine. Like, she sets up the partition bookkeeping and nothing else β€” the hardware itself? Not touched. Don't be out here expecting her to configure things, she's not that kind of function πŸ™ˆ


✨ RETURN ✨

  • Pointer to the FM-MURAM object πŸŽ€ β€” the good ending
  • or NULL for Failure πŸ’€ β€” the bad ending, check your return value bestie

🌈 SEE ALSO 🌈


lowkey reminder bestie: she makes the partition, she hands you the pointer, you pass that pointer everywhere, and the hardware configuration is not her problem πŸ”₯

and that's the page, bestie! 🌸 mwah πŸ’‹

from ./drivers/net/ethernet/freesca... β€” October 2026, fman_muram_init(9). she's giving kernel API manual realness, and we're obsessed πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from