cregit-Linux how code gets into the kernel

Release 4.14 arch/sh/mm/nommu.c

Directory: arch/sh/mm
/*
 * arch/sh/mm/nommu.c
 *
 * Various helper routines and stubs for MMUless SH.
 *
 * Copyright (C) 2002 - 2009 Paul Mundt
 *
 * Released under the terms of the GNU GPL v2.0.
 */
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/page.h>
#include <linux/uaccess.h>

/*
 * Nothing too terribly exciting here ..
 */

void copy_page(void *to, void *from) { memcpy(to, from, PAGE_SIZE); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt22100.00%1100.00%
Total22100.00%1100.00%


__kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n) { memcpy(to, from, n); return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt29100.00%1100.00%
Total29100.00%1100.00%


__kernel_size_t __clear_user(void *to, __kernel_size_t n) { memset(to, 0, n); return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt24100.00%1100.00%
Total24100.00%1100.00%


void local_flush_tlb_all(void) { BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt10100.00%2100.00%
Total10100.00%2100.00%


void local_flush_tlb_mm(struct mm_struct *mm) { BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt13100.00%2100.00%
Total13100.00%2100.00%


void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) { BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt21100.00%2100.00%
Total21100.00%2100.00%


void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) { BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt17100.00%2100.00%
Total17100.00%2100.00%


void local_flush_tlb_one(unsigned long asid, unsigned long page) { BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt16100.00%2100.00%
Total16100.00%2100.00%


void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) { BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt16100.00%2100.00%
Total16100.00%2100.00%


void __flush_tlb_global(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt6100.00%1100.00%
Total6100.00%1100.00%


void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte) { }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt16100.00%2100.00%
Total16100.00%2100.00%


void __init kmap_coherent_init(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt7100.00%1100.00%
Total7100.00%1100.00%


void *kmap_coherent(struct page *page, unsigned long addr) { BUG(); return NULL; }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt21100.00%1100.00%
Total21100.00%1100.00%


void kunmap_coherent(void *kvaddr) { BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt12100.00%2100.00%
Total12100.00%2100.00%


void __init page_table_range_init(unsigned long start, unsigned long end, pgd_t *pgd_base) { }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt17100.00%1100.00%
Total17100.00%1100.00%


void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) { }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt15100.00%1100.00%
Total15100.00%1100.00%


void pgtable_cache_init(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt6100.00%1100.00%
Total6100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt29399.66%1191.67%
Linus Torvalds10.34%18.33%
Total294100.00%12100.00%
Directory: arch/sh/mm
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.