cregit-Linux how code gets into the kernel

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

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

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


volatile u32 *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_iq80331() || machine_is_iq80332()) uart_base = (volatile u32 *)IOP33X_UART0_PHYS; else uart_base = (volatile u32 *)0xfe800000; }

Contributors

PersonTokensPropCommitsCommitProp
Dave Jiang3386.84%250.00%
Lennert Buytenhek513.16%250.00%
Total38100.00%4100.00%

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

Overall Contributors

PersonTokensPropCommitsCommitProp
Dave Jiang5147.66%222.22%
Linus Torvalds3028.04%111.11%
Russell King1211.21%333.33%
Lennert Buytenhek1110.28%222.22%
Eli Carter32.80%111.11%
Total107100.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.