cregit-Linux how code gets into the kernel

Release 4.11 arch/arm/mach-spear/include/mach/uncompress.h

/*
 * arch/arm/plat-spear/include/plat/uncompress.h
 *
 * Serial port stubs for kernel decompress status messages
 *
 * Copyright (C) 2009 ST Microelectronics
 * Viresh Kumar <vireshk@kernel.org>
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2. This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#include <linux/io.h>
#include <linux/amba/serial.h>
#include <mach/spear.h>

#ifndef __PLAT_UNCOMPRESS_H

#define __PLAT_UNCOMPRESS_H
/*
 * This does not append a newline
 */

static inline void putc(int c) { void __iomem *base = (void __iomem *)SPEAR_DBG_UART_BASE; while (readl_relaxed(base + UART01x_FR) & UART01x_FR_TXFF) barrier(); writel_relaxed(c, base + UART01x_DR); }

Contributors

PersonTokensPropCommitsCommitProp
Viresh Kumar45100.00%2100.00%
Total45100.00%2100.00%


static inline void flush(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Viresh Kumar8100.00%1100.00%
Total8100.00%1100.00%

/* * nothing to do */ #define arch_decomp_setup() #endif /* __PLAT_UNCOMPRESS_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Viresh Kumar7798.72%375.00%
Arnd Bergmann11.28%125.00%
Total78100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.