pdc_stable_get_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pdc_stable_get_size(9) β€” the Kernel API Manual page, bestie edition πŸŽ€

okay so this is a section 9 kernel API page, and it's about pdc_stable_get_size β€” literally the little function that tells you how big the processor's Stable Storage is, in bytes. tiny page, huge main character energy. let's get into it ✨


🌸 NAME 🌸

pdc_stable_get_size β€” get Stable Storage size, in bytes. that's it, that's the whole job πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int pdc_stable_get_size (unsigned long *size );

yep, one argument, one return, no drama 🫢


πŸ’œ ARGUMENTS πŸ’œ

  • size β€” a pointer, and that's where the size gets stored. so you hand it an address, it fills that address in with a number. classic handing-someone-your-notes-app situation πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

so this PDC call returns the number of bytes in the processor's Stable Storage β€” and ngl, the exact wording matters here: it's the number of contiguous bytes implemented in Stable Storage starting from staddr=0. so it's counting from zero, no skipping around, no gaps being counted, periodt ✨

and the size value is an unsigned 64-bit integer which is a multiple of four. both of those things, fr fr β€” 64-bit, unsigned, mult of four. write that down 😌


🌈 SEE ALSO 🌈

this is the part where the page just. keeps. going. every single sibling is listed, so here they all are, zero skips πŸ‘‘

sixty-ish pages of friends and every one of them is invited πŸ’€πŸŽ€


friendly heads up bestie: this is a section 9 kernel API page, so it's about kernel/firmware internals β€” not a command you type in a shell πŸ™ˆ

and that's the whole page! it lives in ./arch/parisc/kernel and the version/date on it is October 2026 β€” so like, future-dated and thriving πŸ’œβœ¨ bye bestie, go read your stable storage (respectfully) 🌸

πŸ“¦ where this page comes from