• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* include/asm-arm/arch-goldfish/uncompress.h
2 **
3 ** Copyright (C) 2007 Google, Inc.
4 **
5 ** This software is licensed under the terms of the GNU General Public
6 ** License version 2, as published by the Free Software Foundation, and
7 ** may be copied, distributed, and modified under those terms.
8 **
9 ** This program is distributed in the hope that it will be useful,
10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ** GNU General Public License for more details.
13 **
14 */
15 
16 #ifndef __ASM_ARCH_UNCOMPRESS_H
17 #define __ASM_ARCH_UNCOMPRESS_H
18 
19 #define GOLDFISH_TTY_PUT_CHAR (*(volatile unsigned int *)0xff002000)
20 
21 /*
22  * This does not append a newline
23  */
putc(int c)24 static void putc(int c)
25 {
26 	GOLDFISH_TTY_PUT_CHAR = c;
27 }
28 
flush(void)29 static inline void flush(void)
30 {
31 }
32 
33 /*
34  * nothing to do
35  */
36 #define arch_decomp_setup()
37 
38 #define arch_decomp_wdog()
39 
40 #endif
41