parttab.h

来自「南京航空航天大学开发的一个类Unix和Linux的操作系统,好不好看看就知道了,」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef _BLKDEVPARTTAB_H#define _BLKDEVPARTTAB_Hstruct parttab_t {	u8_t bootflag;		/* 0x80 - active */	u8_t head;		/* starting head */	u8_t sect;		/* starting sector */	u8_t cyl;		/* starting cylinder */	u8_t type;		/* What partition type */	u8_t ehead;		/* end head */	u8_t esect;		/* end sector */	u8_t ecyl;		/* end cylinder */	u32_t startsect;	/* starting sector counting from 0 */	u32_t nsect;		/* nr of sectors in partition */	void dump();};#define PARTPERHD 64extern int hdnum;extern parttab_t parttab[];extern void readparttab();#endif

⌨️ 快捷键说明

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