ports.h

来自「Minix3.11的源码。[MINIX 3是一个为高可靠性应用而设计的自由且简洁」· C头文件 代码 · 共 18 行

H
18
字号
/* Addresses and magic numbers for miscellaneous ports. */#ifndef _PORTS_H#define _PORTS_H#if (CHIP == INTEL)/* Miscellaneous ports. */#define PCR		0x65	/* Planar Control Register */#define PORT_B          0x61	/* I/O port for 8255 port B (kbd, beeper...) */#define TIMER0          0x40	/* I/O port for timer channel 0 */#define TIMER2          0x42	/* I/O port for timer channel 2 */#define TIMER_MODE      0x43	/* I/O port for timer mode control */#endif /* (CHIP == INTEL) */#endif /* _PORTS_H */

⌨️ 快捷键说明

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