📄 types.h
字号:
/*
* types.h
* Copyright (c) Inst. of Machine Intelligence at Nankai University
*/
#ifndef _TYPES_H
#define _TYPES_H
typedef unsigned int uint32;
typedef unsigned int pte_t;
typedef unsigned int pde_t;
typedef unsigned int phyaddr_t;
typedef unsigned int viraddr_t;
// Round down to the nearest multiple of n
#define ROUNDDOWN(a, n) (a - a % (n))
// Round up to the nearest multiple of n
#define ROUNDUP(a, n) (ROUNDDOWN((uint32) (a) + n - 1, n))
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -