cregit-Linux how code gets into the kernel

Release 4.11 arch/arm/mach-iop32x/include/mach/uncompress.h

/*
 * arch/arm/mach-iop32x/include/mach/uncompress.h
 */

#include <asm/types.h>
#include <asm/mach-types.h>
#include <linux/serial_reg.h>
#include <mach/hardware.h>


volatile u8 *uart_base;


#define TX_DONE		(UART_LSR_TEMT | UART_LSR_THRE)


static inline void putc(char c) { while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) barrier(); uart_base[UART_TX] = c; }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds2163.64%125.00%
Dave Jiang515.15%125.00%
Russell King412.12%125.00%
Lennert Buytenhek39.09%125.00%
Total33100.00%4100.00%


static inline void flush(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds450.00%150.00%
Russell King450.00%150.00%
Total8100.00%2100.00%


static __inline__ void __arch_decomp_setup(unsigned long arch_id) { if (machine_is_iq80321()) uart_base = (volatile u8 *)IQ80321_UART; else if (machine_is_iq31244() || machine_is_em7210()) uart_base = (volatile u8 *)IQ31244_UART; else uart_base = (volatile u8 *)0xfe800000; }

Contributors

PersonTokensPropCommitsCommitProp
Dave Jiang4483.02%133.33%
Lennert Buytenhek611.32%133.33%
Arnaud Patard35.66%133.33%
Total53100.00%3100.00%

/* * nothing to do */ #define arch_decomp_setup() __arch_decomp_setup(arch_id)

Overall Contributors

PersonTokensPropCommitsCommitProp
Dave Jiang6250.82%111.11%
Linus Torvalds3024.59%111.11%
Lennert Buytenhek129.84%222.22%
Russell King129.84%333.33%
Arnaud Patard32.46%111.11%
Eli Carter32.46%111.11%
Total122100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.