bugs.h

来自「this SRC packet is the headfiles that MI」· C头文件 代码 · 共 39 行

H
39
字号
/* *  Copyright (C) 1995 Waldorf Electronics *  Copyright (C) 1997, 1999 Ralf Baechle */#include <asm/bootinfo.h>/* * This is included by init/main.c to check for architecture-dependent bugs. * * Needs: *	void check_bugs(void); */static inline void check_wait(void){	printk("Checking for 'wait' instruction... ");	switch(mips_cputype) {	case CPU_R4200: 	case CPU_R4300: 	case CPU_R4600: 	case CPU_R4700: 	case CPU_R5000: 	case CPU_NEVADA:		wait_available = 1;		printk(" available.\n");		break;	default:		printk(" unavailable.\n");		break;	}}static void __initcheck_bugs(void){	check_wait();}

⌨️ 快捷键说明

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