/* * Copyright (C) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzhangjin@gmail.com * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #include <linux/bootmem.h> #include <asm/bootinfo.h> #include <asm/traps.h> #include <asm/smp-ops.h> #include <asm/cacheflush.h> #include <loongson.h> /* Loongson CPU address windows config space base address */ unsigned long __maybe_unused _loongson_addrwincfg_base;
static void __init mips_nmi_setup(void) { void *base; extern char except_vec_nmi; base = (void *)(CAC_BASE + 0x380); memcpy(base, &except_vec_nmi, 0x80); flush_icache_range((unsigned long)base, (unsigned long)base + 0x80); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Huacai Chen | 56 | 100.00% | 1 | 100.00% |
Total | 56 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Wu Zhangjin | 39 | 52.70% | 4 | 50.00% |
Huacai Chen | 35 | 47.30% | 4 | 50.00% |
Total | 74 | 100.00% | 8 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Wu Zhangjin | 7 | 100.00% | 1 | 100.00% |
Total | 7 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Huacai Chen | 100 | 61.73% | 4 | 36.36% |
Wu Zhangjin | 58 | 35.80% | 5 | 45.45% |
Aaro Koskinen | 3 | 1.85% | 1 | 9.09% |
Ralf Bächle | 1 | 0.62% | 1 | 9.09% |
Total | 162 | 100.00% | 11 | 100.00% |