550W Document
550W, a high-end OS
common.h 文件参考
#include <common/types.h>
common.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define REG_DAT   0x00
 
#define REG_IER   0x01
 
#define REG_IIR   0x02
 
#define REG_FCR   0x02
 
#define REG_LCR   0x03
 
#define REG_MCR   0x04
 
#define REG_LSR   0x05
 
#define REG_MSR   0x06
 
#define REG_CR   0x08
 
#define REG_MR   0x09
 
#define COLOR_RED   "\e[31m"
 
#define COLOR_GREEN   "\e[32m"
 
#define COLOR_YELLOW   "\e[33m"
 
#define COLOR_BLUE   "\e[34m"
 
#define COLOR_MAGENTA   "\e[35m"
 
#define COLOR_CYAN   "\e[36m"
 
#define COLOR_RESET   "\e[0m"
 

宏定义说明

◆ COLOR_BLUE

#define COLOR_BLUE   "\e[34m"

◆ COLOR_CYAN

#define COLOR_CYAN   "\e[36m"

◆ COLOR_GREEN

#define COLOR_GREEN   "\e[32m"

◆ COLOR_MAGENTA

#define COLOR_MAGENTA   "\e[35m"

◆ COLOR_RED

#define COLOR_RED   "\e[31m"

◆ COLOR_RESET

#define COLOR_RESET   "\e[0m"

◆ COLOR_YELLOW

#define COLOR_YELLOW   "\e[33m"

◆ REG_CR

#define REG_CR   0x08

◆ REG_DAT

#define REG_DAT   0x00

◆ REG_FCR

#define REG_FCR   0x02

◆ REG_IER

#define REG_IER   0x01

◆ REG_IIR

#define REG_IIR   0x02

◆ REG_LCR

#define REG_LCR   0x03

◆ REG_LSR

#define REG_LSR   0x05

◆ REG_MCR

#define REG_MCR   0x04

◆ REG_MR

#define REG_MR   0x09

◆ REG_MSR

#define REG_MSR   0x06