1
linux/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
..
bootstr_32.c
bootstr_64.c
cif.S sparc64: Get rid of indirect p1275 PROM call buffer. 2010-08-23 23:10:57 -07:00
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 sparc: remove redundant return statements 2010-02-10 11:47:57 -08:00
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
Makefile sparc: Kill prom devops_{32,64}.c 2010-11-16 12:23:20 -08:00
memory.c of/sparc: convert various prom_* functions to use phandle 2010-10-09 02:33:34 -06:00
misc_32.c sparc: move EXPORT_SYMBOL to the symbols definition 2009-01-08 16:58:05 -08:00
misc_64.c sparc64: Delete prom_setcallback(). 2010-11-16 12:50:19 -08:00
mp.c
p1275.c Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
palloc.c sparc: remove redundant return statements 2010-02-10 11:47:57 -08:00
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 sparc: remove redundant return statements 2010-02-10 11:47:57 -08:00
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