/* * linux/arch/unicore32/kernel/early_printk.c * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * 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 <linux/console.h> #include <linux/init.h> #include <linux/string.h> #include <mach/ocd.h> /* On-Chip-Debugger functions */
static void early_ocd_write(struct console *con, const char *s, unsigned n) { while (*s && n-- > 0) { if (*s == '\n') ocd_putc((int)'\r'); ocd_putc((int)*s); s++; } }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Guan Xuetao | 58 | 100.00% | 1 | 100.00% |
Total | 58 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Guan Xuetao | 50 | 87.72% | 1 | 33.33% |
Heinrich Schuchardt | 5 | 8.77% | 1 | 33.33% |
Thomas Gleixner | 2 | 3.51% | 1 | 33.33% |
Total | 57 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Guan Xuetao | 157 | 95.73% | 1 | 33.33% |
Heinrich Schuchardt | 5 | 3.05% | 1 | 33.33% |
Thomas Gleixner | 2 | 1.22% | 1 | 33.33% |
Total | 164 | 100.00% | 3 | 100.00% |