cregit-Linux how code gets into the kernel

Release 4.14 arch/um/include/shared/mem.h

/* 
 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
 * Licensed under the GPL
 */

#ifndef __MEM_H__

#define __MEM_H__

extern int phys_mapping(unsigned long phys, unsigned long long *offset_out);

extern unsigned long uml_physmem;

static inline unsigned long to_phys(void *virt) { return(((unsigned long) virt) - uml_physmem); }

Contributors

PersonTokensPropCommitsCommitProp
Paolo 'Blaisorblade' Giarrusso1976.00%150.00%
Jeff Dike624.00%150.00%
Total25100.00%2100.00%


static inline void *to_virt(unsigned long phys) { return((void *) uml_physmem + phys); }

Contributors

PersonTokensPropCommitsCommitProp
Paolo 'Blaisorblade' Giarrusso23100.00%1100.00%
Total23100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Paolo 'Blaisorblade' Giarrusso4963.64%240.00%
Jeff Dike2836.36%360.00%
Total77100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.