uncompress.h
来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· C头文件 代码 · 共 43 行
H
43 行
/* * linux/include/asm-arm/arch-nexuspci/uncompress.h * from linux/include/asm-arm/arch-ebsa110/uncompress.h * * Copyright (C) 1996,1997,1998 Russell King * Copyright (C) 1998, 1999 Phil Blundell */#include <asm/io.h>#define UARTBASE 0x00400000/* * This does not append a newline */static void puts(const char *s){ while (*s) { char c = *(s++); while (!(__raw_readb(UARTBASE + 0x14) & 0x20)); __raw_writeb(c, UARTBASE); if (c == 10) { while (!(__raw_readb(UARTBASE + 0x14) & 0x20)); __raw_writeb(13, UARTBASE); } }}/* * nothing to do */#define arch_decomp_setup()/* * Stroke the watchdog so we don't get reset during decompression. */#define arch_decomp_wdog() \ do { \ __raw_writel(1, 0xa00000); \ __raw_writel(0, 0xa00000); \ } while (0)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?