git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
arch
/
arm
/
boot
/
compressed
/
misc.c
diff --git
a/arch/arm/boot/compressed/misc.c
b/arch/arm/boot/compressed/misc.c
index
ebcac6c
..
23434b5
100644
(file)
--- a/
arch/arm/boot/compressed/misc.c
+++ b/
arch/arm/boot/compressed/misc.c
@@
-23,17
+23,17
@@
unsigned int __machine_arch_type;
#include <asm/arch/uncompress.h>
#ifdef STANDALONE_DEBUG
#include <asm/arch/uncompress.h>
#ifdef STANDALONE_DEBUG
-#define puts printf
+#define puts
tr
printf
#endif
#ifdef CONFIG_DEBUG_ICEDCC
#endif
#ifdef CONFIG_DEBUG_ICEDCC
-#define puts
icedcc_puts
+#define puts
tr icedcc_putstr
#define putc icedcc_putc
extern void idedcc_putc(int ch);
static void
#define putc icedcc_putc
extern void idedcc_putc(int ch);
static void
-icedcc_puts(const char *ptr)
+icedcc_puts
tr
(const char *ptr)
{
for (; *ptr != '\0'; ptr++) {
icedcc_putc(*ptr);
{
for (; *ptr != '\0'; ptr++) {
icedcc_putc(*ptr);
@@
-191,7
+191,7
@@
static void error(char *m);
static void gzip_mark(void **);
static void gzip_release(void **);
static void gzip_mark(void **);
static void gzip_release(void **);
-static void puts(const char *);
+static void puts
tr
(const char *);
extern int end;
static ulg free_mem_ptr;
extern int end;
static ulg free_mem_ptr;
@@
-280,14
+280,14
@@
void flush_window(void)
bytes_out += (ulg)outcnt;
output_ptr += (ulg)outcnt;
outcnt = 0;
bytes_out += (ulg)outcnt;
output_ptr += (ulg)outcnt;
outcnt = 0;
- puts(".");
+ puts
tr
(".");
}
static void error(char *x)
{
}
static void error(char *x)
{
- puts("\n\n");
- puts(x);
- puts("\n\n -- System halted");
+ puts
tr
("\n\n");
+ puts
tr
(x);
+ puts
tr
("\n\n -- System halted");
while(1); /* Halt */
}
while(1); /* Halt */
}
@@
-306,9
+306,9
@@
decompress_kernel(ulg output_start, ulg free_mem_ptr_p, ulg free_mem_ptr_end_p,
arch_decomp_setup();
makecrc();
arch_decomp_setup();
makecrc();
- puts("Uncompressing Linux...");
+ puts
tr
("Uncompressing Linux...");
gunzip();
gunzip();
- puts(" done, booting the kernel.\n");
+ puts
tr
(" done, booting the kernel.\n");
return output_ptr;
}
#else
return output_ptr;
}
#else
@@
-320,9
+320,9
@@
int main()
output_data = output_buffer;
makecrc();
output_data = output_buffer;
makecrc();
- puts("Uncompressing Linux...");
+ puts
tr
("Uncompressing Linux...");
gunzip();
gunzip();
- puts("done.\n");
+ puts
tr
("done.\n");
return 0;
}
#endif
return 0;
}
#endif