declare.h
来自「一个最简单的操作系统,boot用NASM写的,使用最简单的汇编知识,大家下载后自」· C头文件 代码 · 共 41 行
H
41 行
/*
Data type declaration
2004 by YaoSiHai
for Shyna OS
*/
#ifndef _KERNEL_DATA_TYPE_DECLARE_
#define _KERNEL_DATA_TYPE_DECLARE_
typedef unsigned char BYTE;
typedef unsigned short int WORD;
typedef unsigned int DWORD;
typedef unsigned char byte;
typedef unsigned short int word;
typedef unsigned int dword;
typedef unsigned char u8;
typedef unsigned short int u16;
typedef unsigned int u32;
typedef unsigned int uint;
typedef unsigned int UINT;
typedef unsigned char __u8;
typedef unsigned short int __u16;
typedef unsigned int __u32;
typedef unsigned char uint8_t ;
typedef unsigned short int uint16_t ;
typedef unsigned int uint32_t ;
typedef unsigned char BOOL;
#define NULL 0
#define TRUE 1
#define FALSE 0
#define ADDRESS_ERR 0xffffffff
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?