leds.c

来自「Linux内核源代码 为压缩文件 是<<Linux内核>&gt」· C语言 代码 · 共 17 行

C
17
字号
#include <asm/contregs.h>#include <asm/sun3mmu.h>#include <asm/io.h>#include <asm/movs.h>#define FC_CONTROL 3    /* This should go somewhere else... */void sun3_leds(unsigned char byte){	unsigned char dfc;		GET_DFC(dfc);        SET_DFC(FC_CONTROL);       	SET_CONTROL_BYTE(AC_LEDS,byte);	SET_DFC(dfc);}

⌨️ 快捷键说明

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