cregit-Linux how code gets into the kernel

Release 4.9 arch/arm/mach-footbridge/include/mach/uncompress.h

/*
 *  arch/arm/mach-footbridge/include/mach/uncompress.h
 *
 *  Copyright (C) 1996-1999 Russell King
 *
 * 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.
 */
#include <asm/mach-types.h>

/*
 * Note! This could cause problems on the NetWinder
 */

#define DC21285_BASE ((volatile unsigned int *)0x42000160)

#define SER0_BASE    ((volatile unsigned char *)0x7c0003f8)


static inline void putc(char c) { if (machine_is_netwinder()) { while ((SER0_BASE[5] & 0x60) != 0x60) barrier(); SER0_BASE[0] = c; } else { while (DC21285_BASE[6] & 8); DC21285_BASE[0] = c; } }

Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git5693.33%266.67%
russell kingrussell king46.67%133.33%
Total60100.00%3100.00%


static inline void flush(void) { }

Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git450.00%150.00%
russell kingrussell king450.00%150.00%
Total8100.00%2100.00%

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

Overall Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git7789.53%571.43%
russell kingrussell king910.47%228.57%
Total86100.00%7100.00%