📄 mcb.h
字号:
/* *---------------------------------------------------------------------- * T-Kernel / Standard Extension * * Copyright (C) 2006 by Ken Sakamura. All rights reserved. * T-Kernel / Standard Extension is distributed * under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* * mcb.h (file) * * File management * Map control block */#ifndef _FM_MCB_H_#define _FM_MCB_H_/* * When the logical block size that can be mapped is restricted, * define MappableBlockSize. * Mapping can be performed only when the logical block size is a multiple of MappableBlockSize. */#if VIRTUAL_ADDRESS# define MappableBlockSize 4096#endif/* * Define CanNotMapRecord when the record map can not be performed at all. */#if CANNOT_MAP_RECORD# define CanNotMapRecord#endif/* * Map control block */typedef struct MCB { QUEUE fdq; /* For connection of the map control block from FD */ QUEUE rcbq; /* For connection of the map control block from RCB */ ID mid; /* Map ID */ W mode; /* Map mode */} MCB;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -