⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sr.h

📁 linux0.99源代码用于研究linux操作系统
💻 H
字号:
/* *      sr.h by David Giller *      CD-ROM disk driver header file *       *      adapted from: *	sd.h Copyright (C) 1992 Drew Eckhardt  *	SCSI disk driver header file by *		Drew Eckhardt  * *	<drew@colorado.edu> * *       Modified by Eric Youngdale eric@tantalus.nrl.navy.mil to *       add scatter-gather, multiple outstanding request, and other *       enhancements. */#ifndef _SR_H#define _SR_H#include "scsi.h"typedef struct	{	unsigned 	capacity;		/* size in blocks 			*/	unsigned 	sector_size;		/* size in bytes 			*/	Scsi_Device  	*device;			unsigned char	sector_bit_size;	/* sector size = 2^sector_bit_size	*/	unsigned char	sector_bit_shift;	/* sectors/FS block = 2^sector_bit_shift*/	unsigned 	ten:1;			/* support ten byte commands		*/	unsigned 	remap:1;		/* support remapping			*/	unsigned 	use:1;			/* is this device still supportable	*/	} Scsi_CD;	extern Scsi_CD * scsi_CDs;#endif

⌨️ 快捷键说明

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