• Borislav Petkov's avatar
    amd64_edac: Sanitize f10_get_base_addr_offset · c8e518d5
    Borislav Petkov authored
    This function maps the system address to the normalized DCT address.
    Document what the code does for more clarity and wrap insane bitmasks in
    a more understandable macro which generates them. Also, reduce number of
    arguments passed to the function. Finally, rename this function to what
    it actually does.
    
    No functional change.
    Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
    c8e518d5
amd64_edac.c 70.3 KB