linux-stable-rt/arch/sparc/prom
David S. Miller 595a251c07 sparc: Write to prom console using indirect buffer.
sparc64 systems have a restriction in that passing in buffer
addressses above 4GB to prom calls is not reliable.

We end up violating this when we do prom console writes, because we
use an on-stack buffer to translate '\n' into '\r\n'.

So instead, do this translation into an intermediate buffer, which is
in the kernel image and thus below 4GB, then pass that to the PROM
console write calls.

On the 32-bit side we don't have to deal with any of these issues, so
the new prom_console_write_buf() uses the existing prom_nbputchar()
implementation.  However we can now mark those routines static.

Since the 64-bit side completely uses new code we can delete the
putchar bits as they are now completely unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-30 20:15:58 -08:00
..
Makefile sparc: Kill prom devops_{32,64}.c 2010-11-16 12:23:20 -08:00
bootstr_32.c
bootstr_64.c
cif.S
console_32.c sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
console_64.c sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
devmap.c
init_32.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
init_64.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
memory.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
misc_32.c
misc_64.c sparc64: Delete prom_setcallback(). 2010-11-16 12:50:19 -08:00
mp.c
p1275.c
palloc.c
printf.c sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
ranges.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
segment.c
tree_32.c sparc: Remove prom_pathtoinode() 2010-11-16 12:11:15 -08:00
tree_64.c sparc: Remove prom_pathtoinode() 2010-11-16 12:11:15 -08:00