cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/um/asm/processor_64.h

Directory: arch/x86/um/asm
/*
 * Copyright 2003 PathScale, Inc.
 *
 * Licensed under the GPL
 */

#ifndef __UM_PROCESSOR_X86_64_H

#define __UM_PROCESSOR_X86_64_H


struct arch_thread {
        
unsigned long debugregs[8];
        
int debugregs_seq;
        
unsigned long fs;
        
struct faultinfo faultinfo;
};


#define INIT_ARCH_THREAD { .debugregs            = { [ 0 ... 7 ] = 0 }, \
                           .debugregs_seq       = 0, \
                           .fs                  = 0, \
                           .faultinfo           = { 0, 0, 0 } }


#define STACKSLOTS_PER_LINE 4


static inline void arch_flush_thread(struct arch_thread *thread) { }

Contributors

PersonTokensPropCommitsCommitProp
Paolo 'Blaisorblade' Giarrusso11100.00%1100.00%
Total11100.00%1100.00%


static inline void arch_copy_thread(struct arch_thread *from, struct arch_thread *to) { to->fs = from->fs; }

Contributors

PersonTokensPropCommitsCommitProp
Paolo 'Blaisorblade' Giarrusso1560.00%150.00%
Jeff Dike1040.00%150.00%
Total25100.00%2100.00%

#define current_text_addr() \ ({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; }) #define current_sp() ({ void *sp; __asm__("movq %%rsp, %0" : "=r" (sp) : ); sp; }) #define current_bp() ({ unsigned long bp; __asm__("movq %%rbp, %0" : "=r" (bp) : ); bp; }) #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Jeff Dike3639.13%350.00%
Paolo 'Blaisorblade' Giarrusso2628.26%116.67%
Bodo Stroesser1617.39%116.67%
Richard Weinberger1415.22%116.67%
Total92100.00%6100.00%
Directory: arch/x86/um/asm
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.