cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/kernel/early_printk.c

Directory: arch/mips/kernel
/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2002, 2003, 06, 07 Ralf Baechle (ralf@linux-mips.org)
 * Copyright (C) 2007 MIPS Technologies, Inc.
 *   written by Ralf Baechle (ralf@linux-mips.org)
 */
#include <linux/kernel.h>
#include <linux/console.h>
#include <linux/printk.h>
#include <linux/init.h>

#include <asm/setup.h>

extern void prom_putchar(char);


static void early_console_write(struct console *con, const char *s, unsigned n) { while (n-- && *s) { if (*s == '\n') prom_putchar('\r'); prom_putchar(*s); s++; } }

Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle50100.00%1100.00%
Total50100.00%1100.00%

static struct console early_console_prom = { .name = "early", .write = early_console_write, .flags = CON_PRINTBUFFER | CON_BOOT, .index = -1 };
void __init setup_early_printk(void) { if (early_console) return; early_console = &early_console_prom; register_console(&early_console_prom); }

Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle1354.17%133.33%
Franck Bui-Huu625.00%133.33%
Thomas Gleixner520.83%133.33%
Total24100.00%3100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle10683.46%125.00%
Thomas Gleixner129.45%125.00%
Franck Bui-Huu64.72%125.00%
Dmitri Vorobiev32.36%125.00%
Aaro Koskinen0.00%00.00%
Total127100.00%4100.00%
Directory: arch/mips/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.