cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/mti-malta/malta-memory.c

/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * PROM library functions for acquiring/using memory descriptors given to
 * us from the YAMON.
 *
 * Copyright (C) 1999,2000,2012  MIPS Technologies, Inc.
 * All rights reserved.
 * Authors: Carsten Langgaard <carstenl@mips.com>
 *          Steven J. Hill <sjhill@mips.com>
 */
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/string.h>

#include <asm/bootinfo.h>
#include <asm/cdmm.h>
#include <asm/maar.h>
#include <asm/sections.h>
#include <asm/fw/fw.h>

/* determined physical memory size, not overridden by command line args  */

unsigned long physical_memsize = 0L;


static void free_init_pages_eva_malta(void *begin, void *end) { free_init_pages("unused kernel", __pa_symbol((unsigned long *)begin), __pa_symbol((unsigned long *)end)); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Burton3897.44%150.00%
Linus Torvalds12.56%150.00%
Total39100.00%2100.00%


void __init fw_meminit(void) { bool eva = IS_ENABLED(CONFIG_EVA); free_init_pages_eva = eva ? free_init_pages_eva_malta : NULL; }

Contributors

PersonTokensPropCommitsCommitProp
Paul Burton1875.00%133.33%
Linus Torvalds520.83%133.33%
Masahiro Yamada14.17%133.33%
Total24100.00%3100.00%


void __init prom_free_prom_memory(void) { unsigned long addr; int i; for (i = 0; i < boot_mem_map.nr_map; i++) { if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) continue; addr = boot_mem_map.map[i].addr; free_init_pages("YAMON memory", addr, addr + boot_mem_map.map[i].size); } }

Contributors

PersonTokensPropCommitsCommitProp
Atsushi Nemoto6688.00%240.00%
Linus Torvalds79.33%120.00%
Steven J. Hill11.33%120.00%
Andrew Morton11.33%120.00%
Total75100.00%5100.00%


phys_addr_t mips_cdmm_phys_base(void) { /* This address is "typically unused" */ return 0x1fc10000; }

Contributors

PersonTokensPropCommitsCommitProp
James Hogan11100.00%1100.00%
Total11100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Atsushi Nemoto6636.46%214.29%
Paul Burton5932.60%214.29%
Linus Torvalds2413.26%17.14%
James Hogan147.73%17.14%
Ralf Bächle137.18%428.57%
Steven J. Hill31.66%214.29%
Masahiro Yamada10.55%17.14%
Andrew Morton10.55%17.14%
Total181100.00%14100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.