get_eccstate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 get_eccstate(9) 🌸

okay so welcome to the Kernel API Manual bestie, this is the page for get_eccstate(9) and honestly it's a short one but it ate πŸ’…


✨ NAME ✨

get_eccstate β€” Return the ECC status 🫢


✨ SYNOPSIS ✨

bool get_eccstate (void __iomem *base );

like yes that's the whole signature, she's lowkey minimal and iconic for it πŸ‘‘


✨ ARGUMENTS ✨

  • base β€” Pointer to the OCM base address πŸ“ literally just hands over where the OCM lives and we go from there

✨ DESCRIPTION ✨

Get the ECC enable/disable status πŸ”₯ that's it, that's the whole vibe β€” you're checking whether ECC is turned on or off, no cap.


✨ RETURN ✨

ECC status 0/1. πŸŽ€ so it's giving boolean, obviously, 0 = one thing and 1 = the other, that's the whole range, periodt.


✨ SEE ALSO ✨

if you're going down the rabbit hole (and you know you are πŸ‡) check these out:


ngl this one's short but she's still main character energy πŸ’– read the whole family of pages together, iykyk 🌈

mwah πŸ’‹ that's the page!! it ships out of ./drivers/edac and it's dated October 2026 β€” go be obsessed with ECC status bestie, ily, bye πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from