D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
modules
/
4.4.0-1128-aws
/
build
/
arch
/
arm
/
mach-iop13xx
/
include
/
mach
/
Filename :
uncompress.h
back
Copy
#include <asm/types.h> #include <linux/serial_reg.h> #include <mach/hardware.h> #define UART_BASE ((volatile u32 *)IOP13XX_UART1_PHYS) #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; } static inline void flush(void) { } /* * nothing to do */ #define arch_decomp_setup()