sgi.h

来自「这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自」· C头文件 代码 · 共 43 行

H
43
字号
/* * sgi.h: Definitions specific to SGI machines. * * Copyright (C) 1996 David S. Miller (dm@sgi.com) */#ifndef __ASM_SGI_SGI_H#define __ASM_SGI_SGI_H/* UP=UniProcessor MP=MultiProcessor(capable) */enum sgi_mach {	ip4,     /* R2k UP */	ip5,     /* R2k MP */	ip6,     /* R3k UP */	ip7,     /* R3k MP */	ip9,     /* R3k UP */	ip12,    /* R3kA UP, Indigo */	ip15,    /* R3kA MP */	ip17,    /* R4K UP */	ip19,    /* R4K MP */	ip20,    /* R4K UP, Indigo */	ip21,    /* TFP MP */	ip22,    /* R4x00 UP, Indigo2 */	ip25,    /* R10k MP */	ip26,    /* TFP UP, Indigo2 */	ip28,    /* R10k UP, Indigo2 */	ip30,	ip32,};extern enum sgi_mach sgimach;extern void sgi_sysinit(void);/* Many I/O space registers are byte sized and are contained within * one byte per word, specifically the MSB, this macro helps out. */#ifdef __MIPSEL__#define SGI_MSB(regaddr)   (regaddr)#else#define SGI_MSB(regaddr)   ((regaddr) | 0x3)#endif#endif /* __ASM_SGI_SGI_H */

⌨️ 快捷键说明

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