Path: blob/master/arch/unicore32/include/mach/uncompress.h
10819 views
/*1* linux/arch/unicore32/include/mach/uncompress.h2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/1112#ifndef __MACH_PUV3_UNCOMPRESS_H__13#define __MACH_PUV3_UNCOMPRESS_H__1415#include "hardware.h"16#include "ocd.h"1718extern char input_data[];19extern char input_data_end[];2021static void arch_decomp_puts(const char *ptr)22{23char c;2425while ((c = *ptr++) != '\0') {26if (c == '\n')27putc('\r');28putc(c);29}30}31#define ARCH_HAVE_DECOMP_PUTS3233#endif /* __MACH_PUV3_UNCOMPRESS_H__ */343536