• Colin Cross's avatar
    staging: android: ram_console: split out persistent ram · c672528a
    Colin Cross authored
    Split ram_console into two halves.
    
    persistent_ram is a set of apis that handle a block of memory
    that does not get erased across a reboot.  It provides functions
    to fill it as a single buffer or a ring buffer, and to extract
    the old data after a reboot.  It handles ecc on the data to
    correct bit errors introduced during reboot.
    
    ram_console is now a small wrapper around persistent_ram that
    feeds console data into the ringbuffer, and exports the old
    data to /proc/last_kmsg after a reboot.
    
    [jstultz: Moved persistent_ram.h to staging dir]
    CC: Greg KH <gregkh@linuxfoundation.org>
    CC: Android Kernel Team <kernel-team@android.com>
    Signed-off-by: default avatarColin Cross <ccross@android.com>
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    c672528a
Makefile 530 Bytes