xsfsunits.h
来自「一个操作系统,用C语言实现开发的,我在一个浙江大学的操作系统实验网站找到.大家学」· C头文件 代码 · 共 26 行
H
26 行
// XSFS Units Management
#ifndef __XSFSUNITS_H
#define __XSFSUNITS_H
#include "xsfsbase.h"
// Allocating modes
#define XSAM_CONTINUE 0x00000001
#define XSAM_STRICT 0x00010000 // used with XSAM_CONTINUE to force countinous allocation
// it will fail, if requirements not satisfied
#define XSAM_CLEAN 0x00000100 // filled with zero
#ifdef __cplusplus
extern "C" {
#endif
int xsfsAllocUnits(HXSFS, _u32 base, int count, _u32 result[], int mode);
void xsfsFreeUnits(HXSFS, _u32 units[], int count, int mode);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?