欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

system.h

Linux Kernel 2.6.9 for OMAP1710
H
字号:
/* * linux/include/asm-arm/arch-ixp2400/system.h * * Copyright (C) 2002 Intel Corp. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#include <asm/hardware.h>#include <asm/mach-types.h>static inline void arch_idle(void){	cpu_do_idle();}static inline void arch_reset(char mode){	cli();	if (machine_is_ixdp2401() || machine_is_ixdp2801()) {		*IXDP2X01_CPLD_FLASH_REG = ((0 >> IXDP2X01_FLASH_WINDOW_BITS) | IXDP2X01_CPLD_FLASH_INTERN);		*IXDP2X01_CPLD_RESET_REG = 0xffffffff;	}	/*	 * We do a reset all if we are PCI master. We could be a slave and we	 * don't want to do anything funky on the PCI bus.	 */	if (*IXP2000_STRAP_OPTIONS & CFG_PCI_BOOT_HOST) {		*(IXP2000_RESET0) |= (RSTALL);	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -