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

📄 declare.h

📁 一个最简单的操作系统,boot用NASM写的,使用最简单的汇编知识,大家下载后自己看吧
💻 H
字号:
/*
	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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -