cregit-Linux how code gets into the kernel

Release 4.7 arch/cris/kernel/process.c

Directory: arch/cris/kernel
/*
 *  linux/arch/cris/kernel/process.c
 *
 *  Copyright (C) 1995  Linus Torvalds
 *  Copyright (C) 2000-2002  Axis Communications AB
 *
 *  Authors:   Bjorn Wesen (bjornw@axis.com)
 *
 */

/*
 * This file handles the architecture-dependent parts of process handling..
 */

#include <linux/atomic.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
#include <asm/irq.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/init_task.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/user.h>
#include <linux/elfcore.h>
#include <linux/mqueue.h>
#include <linux/reboot.h>
#include <linux/rcupdate.h>

//#define DEBUG

extern void default_idle(void);


void (*pm_power_off)(void);

EXPORT_SYMBOL(pm_power_off);


void arch_cpu_idle(void) { default_idle(); }

Contributors

PersonTokensPropCommitsCommitProp
mikael starvikmikael starvik440.00%125.00%
linus torvaldslinus torvalds440.00%125.00%
andrew mortonandrew morton110.00%125.00%
thomas gleixnerthomas gleixner110.00%125.00%
Total10100.00%4100.00%

void hard_reset_now (void);
void machine_restart(char *cmd) { hard_reset_now(); }

Contributors

PersonTokensPropCommitsCommitProp
linus torvaldslinus torvalds975.00%150.00%
eric w. biedermaneric w. biederman325.00%150.00%
Total12100.00%2100.00%

/* * Similar to machine_power_off, but don't shut off power. Add code * here to freeze the system for e.g. post-mortem debug purpose when * possible. This halt has nothing to do with the idle halt. */
void machine_halt(void) { }

Contributors

PersonTokensPropCommitsCommitProp
linus torvaldslinus torvalds6100.00%1100.00%
Total6100.00%1100.00%

/* If or when software power-off is implemented, add code here. */
void machine_power_off(void) { }

Contributors

PersonTokensPropCommitsCommitProp
linus torvaldslinus torvalds6100.00%1100.00%
Total6100.00%1100.00%

/* * When a process does an "exec", machine state like FPU and debug * registers need to be reset. This is a hook function for that. * Currently we don't have any such state to reset, so this is empty. */
void flush_thread(void) { }

Contributors

PersonTokensPropCommitsCommitProp
linus torvaldslinus torvalds6100.00%1100.00%
Total6100.00%1100.00%

/* Fill in the fpu structure for a core dump. */
int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
linus torvaldslinus torvalds17100.00%1100.00%
Total17100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
linus torvaldslinus torvalds7455.64%323.08%
jesper nilssonjesper nilsson2216.54%215.38%
mikael starvikmikael starvik1612.03%17.69%
eric w. biedermaneric w. biederman64.51%17.69%
andrew mortonandrew morton43.01%17.69%
arnaldo carvalho de meloarnaldo carvalho de melo32.26%17.69%
chris wrightchris wright32.26%17.69%
frederic weisbeckerfrederic weisbecker32.26%17.69%
arun sharmaarun sharma10.75%17.69%
thomas gleixnerthomas gleixner10.75%17.69%
Total133100.00%13100.00%
Directory: arch/cris/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}