STRUCT MC_PRIV(9)
πΈ NAME πΈ
okay so bestie, this is the struct mc_priv(9) page from the Kernel API Manual, and it's literally the DDR memory controller's private instance data π like, that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
the full struct is right here, untouched and iconic β do not come for the code, because the code ate:
struct mc_priv {
char message[256];
struct ecc_status stat;
u32 error_id;
u32 error_level;
u32 dwidth;
u32 part_len;
u32 regs[REG_MAX];
u32 adec[ADEC_MAX];
struct mem_ctl_info *mci[NUM_CONTROLLERS];
struct rpmsg_endpoint *ept;
struct cdx_mcdi *mcdi;
};
π Members π
messageβ the buffer for framing the event specific info; it's giving tiny stage for event tea πstatβ ECC status information, aka all the ECC tea βerror_idβ the error id, periodt πerror_levelβ the error level, no cap πdwidthβ width of the data bus, and ECC bits are literally not invited π«Άpart_lenβ the support of the message received β yep, that's the whole description, bestie, no extra lore π«Άregsβ the registers sent on the rpmsg, slay β¨adecβ address decode registers, iconic πmciβ memory controller interface, themcimoment πeptβ rpmsg endpoint, obviously πmcdiβ the mcdi handle, fr fr π¦
π₯ SEE ALSO π₯
- Kernel file
./drivers/edac/versalnet_edac.cβunion ecc_error_info(9),struct ecc_status(9),convert_to_physical(9),handle_error(9)π
mwah π this page is from ./drivers/edac, dated October 2026, and it's for struct mc_priv(9) β periodt, bye bestie! π«Άβ¨
π¦ 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