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

📄 dat.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
字号:
typedef struct Hub Hub;typedef struct Port Port;struct Hub{	byte		pwrmode;	byte		compound;	byte		pwrms;		/* time to wait in ms after powering port */	byte		maxcurrent;	byte		nport;	Port		*port;	int		isroot;		/* set if this hub is a root hub */	int		portfd;		/* fd of /dev/usb%d/port if root hub */	int		ctlrno;		/* number of controller this hub is on */	Device*	dev0;		/* device 0 of controller */	Device*	d;			/* device of hub (same as dev0 for root hub) */};struct Port{	byte		removable;	byte		pwrctl;	Device	*d;			/* attached device (if non-nil) */	Hub		*hub;		/* non-nil if hub attached */};#pragma	varargck	type  "H"	Hub*extern int verbose;

⌨️ 快捷键说明

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