convert_to_physical(9)
π convert_to_physical(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for convert_to_physical, and honestly? it does exactly what it says on the tin: it takes error_data and gives you back a physical address. no cap, that's the whole vibe. π
β¨ SYNOPSIS β¨
unsigned long convert_to_physical (struct mc_priv *priv , union
ecc_error_info pinf , int controller , int *error_data );
like, look at her. four arguments, one unsigned long coming back at you. main character energy fr fr π
πΈ ARGUMENTS πΈ
privβ the private instance data for the DDR memory controller. it's giving "her personal diary, but for hardware" π¦pinfβ the ECC error info structure. yes, the whole struct, handed over like a lil gift πcontrollerβ the controller number of the MC5. just. the number. that's her π«Άerror_dataβ the DDRMC5 ADEC address decoder register data. say that five times fast, i dare you π
β RETURN β
returns the physical address of the DDR memory. that's it. that's the whole return value. iconic, honestly π
π¦ SEE ALSO π¦
- Kernel file
./drivers/edac/versalnet_edac.c union ecc_error_info(9)struct ecc_status(9)struct mc_priv(9)handle_error(9)
go read those next, i'll wait π
and that's the whole page, bestie! π this one lives under ./drivers/edac, dated October 2026 β so like, future vibes only. mwah, go forth and convert some addresses πβ¨π
π¦ 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