partition.h

来自「一个简单的操作系统minix的核心代码」· C头文件 代码 · 共 20 行

H
20
字号
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
				include/minix/partition.h	 	 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

04000	/*      minix/partition.h                               Author: Kees J. Bot
04001	 *                                                              7 Dec 1995
04002	 * Place of a partition on disk and the disk geometry,
04003	 * for use with the DIOCGETP and DIOCSETP ioctl's.
04004	 */
04005	#ifndef _MINIX__PARTITION_H
04006	#define _MINIX__PARTITION_H
04007	
04008	struct partition {
04009	  u32_t base;           /* byte offset to the partition start */
04010	  u32_t size;           /* number of bytes in the partition */
04011	  unsigned cylinders;   /* disk geometry */
04012	  unsigned heads;
04013	  unsigned sectors;
04014	};
04015	#endif /* _MINIX__PARTITION_H */

⌨️ 快捷键说明

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