• D
    powerpc: udbg-based backend for hvc_console · d5e54913
    David Gibson 提交于
    This adds a new backend for the hvc console based on the low-level
    udbg callbacks.  This effectively implements a working runtime console
    in terms of the simple udbg primitives.  This is kind of a hack -
    since udbg isn't something you really want to be using routinely - but
    it's really useful during bringup.
    
    This can be used to quickly implement a userspace-usable console while
    you're working on a proper driver for whatever console I/O device the
    hardware has.  Or, it can be used to avoid writing a full blown
    tty/console driver entirely for quick-and-dirty I/O hardware that will
    later be replaced by something else.
    Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    d5e54913
hvc_udbg.c 2.0 KB