cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/dec/reset.c

Directory: arch/mips/dec
// SPDX-License-Identifier: GPL-2.0
/*
 * Reset a DECstation machine.
 *
 * Copyright (C) 199x  the Anonymous
 * Copyright (C) 2001, 2002, 2003  Maciej W. Rozycki
 */
#include <linux/interrupt.h>
#include <linux/linkage.h>

#include <asm/addrspace.h>


typedef void __noreturn (* noret_func_t)(void);


static inline void __noreturn back_to_prom(void) { noret_func_t func = (void *)CKSEG1ADDR(0x1fc00000); func(); }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Morton2288.00%125.00%
Robert P. J. Day14.00%125.00%
Linus Torvalds (pre-git)14.00%125.00%
Maciej W. Rozycki14.00%125.00%
Total25100.00%4100.00%


void __noreturn dec_machine_restart(char *command) { back_to_prom(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1292.31%150.00%
Robert P. J. Day17.69%150.00%
Total13100.00%2100.00%


void __noreturn dec_machine_halt(void) { back_to_prom(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1090.91%150.00%
Robert P. J. Day19.09%150.00%
Total11100.00%2100.00%


void __noreturn dec_machine_power_off(void) { /* DECstations don't have a software power switch */ back_to_prom(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1191.67%150.00%
Robert P. J. Day18.33%150.00%
Total12100.00%2100.00%


irqreturn_t dec_intr_halt(int irq, void *dev_id) { dec_machine_halt(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds1493.33%150.00%
Andrew Morton16.67%150.00%
Total15100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Andrew Morton3939.80%114.29%
Linus Torvalds (pre-git)3434.69%114.29%
Linus Torvalds1414.29%114.29%
Robert P. J. Day55.10%114.29%
Ralf Bächle44.08%114.29%
Maciej W. Rozycki11.02%114.29%
Greg Kroah-Hartman11.02%114.29%
Total98100.00%7100.00%
Directory: arch/mips/dec
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.