kvm tools, setup: Create private directory
[linux-2.6/next.git] / arch / arm / mach-shark / include / mach / uncompress.h
blob22ccab4c3c5e8610cf65a46f455bb9fe7921a224
1 /*
2 * arch/arm/mach-shark/include/mach/uncompress.h
3 * by Alexander Schulz
5 * derived from:
6 * arch/arm/mach-footbridge/include/mach/uncompress.h
7 * Copyright (C) 1996,1997,1998 Russell King
8 */
10 #define SERIAL_BASE ((volatile unsigned char *)0x400003f8)
12 static inline void putc(int c)
14 volatile int t;
16 SERIAL_BASE[0] = c;
17 t=0x10000;
18 while (t--);
21 static inline void flush(void)
25 #ifdef DEBUG
26 static void putn(unsigned long z)
28 int i;
29 char x;
31 putc('0');
32 putc('x');
33 for (i=0;i<8;i++) {
34 x='0'+((z>>((7-i)*4))&0xf);
35 if (x>'9') x=x-'0'+'A'-10;
36 putc(x);
40 static void putr()
42 putc('\n');
43 putc('\r');
45 #endif
48 * nothing to do
50 #define arch_decomp_setup()
51 #define arch_decomp_wdog()