• Oliver O'Halloran's avatar
    powerpc/lib: Implement PMEM API · 32ce3862
    Oliver O'Halloran authored
    Implement the architecture specific cache maintence functions that make
    up the "PMEM API". Currently the writeback and invalidate functions
    are the same since the function of the DCBST (data cache block store)
    instruction is typically interpreted as "writeback to the point of
    coherency" rather than to memory. As a result implementing the API
    requires a full cache flush rather than just a cache write back. This
    will probably change in the not-too-distant future.
    Signed-off-by: default avatarOliver O'Halloran <oohall@gmail.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    32ce3862
pmem.c 1001 Bytes