cregit-Linux how code gets into the kernel

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

/*
 * arch/arm/mach-ixp4xx/include/mach/uncompress.h 
 *
 * Copyright (C) 2002 Intel Corporation.
 * Copyright (C) 2003-2004 MontaVista Software, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 */

#ifndef _ARCH_UNCOMPRESS_H_

#define _ARCH_UNCOMPRESS_H_

#include "ixp4xx-regs.h"
#include <asm/mach-types.h>
#include <linux/serial_reg.h>


#define TX_DONE (UART_LSR_TEMT|UART_LSR_THRE)


volatile u32* uart_base;


static inline void putc(int c) { /* Check THRE and TEMT bits before we transmit the character. */ while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) barrier(); *uart_base = c; }

Contributors

PersonTokensPropCommitsCommitProp
Deepak Saxena2784.38%150.00%
Russell King515.62%150.00%
Total32100.00%2100.00%


static void flush(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Deepak Saxena457.14%150.00%
Russell King342.86%150.00%
Total7100.00%2100.00%


static __inline__ void __arch_decomp_setup(unsigned long arch_id) { /* * Some boards are using UART2 as console */ if (machine_is_adi_coyote() || machine_is_gtwx5715() || machine_is_gateway7001() || machine_is_wg302v2() || machine_is_devixp() || machine_is_miccpt() || machine_is_mic256()) uart_base = (volatile u32*) IXP4XX_UART2_BASE_PHYS; else uart_base = (volatile u32*) IXP4XX_UART1_BASE_PHYS; }

Contributors

PersonTokensPropCommitsCommitProp
Deepak Saxena3361.11%116.67%
Richard Cochran916.67%116.67%
Imre Kaloz712.96%233.33%
George T. Joseph35.56%116.67%
Russell King23.70%116.67%
Total54100.00%6100.00%

/* * arch_id is a variable in decompress_kernel() */ #define arch_decomp_setup() __arch_decomp_setup(arch_id) #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Deepak Saxena9575.40%111.11%
Russell King118.73%333.33%
Richard Cochran97.14%111.11%
Imre Kaloz75.56%222.22%
George T. Joseph32.38%111.11%
Krzysztof Hałasa10.79%111.11%
Total126100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.