xv6-simplified 0.1
简化版xv6
Loading...
Searching...
No Matches
Macros
param.h File Reference

定义了一些系统参数的常量 More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NPROC   64
 
#define NCPU   8
 
#define NOFILE   16
 
#define ROOTDEV   1
 
#define MAXARG   32
 
#define MAXPATH   128
 
#define MAXOPBLOCKS   10
 
#define NBUF   (MAXOPBLOCKS * 3)
 
#define NFILE   100
 
#define NDEV   10
 
#define LOGSIZE   (MAXOPBLOCKS*3)
 
#define FSSIZE   2000
 

Detailed Description

定义了一些系统参数的常量

Date
23.05.26
Author
lyp, xin
Version
0.2 @status Stable

Macro Definition Documentation

◆ FSSIZE

#define FSSIZE   2000

◆ LOGSIZE

#define LOGSIZE   (MAXOPBLOCKS*3)

◆ MAXARG

#define MAXARG   32

◆ MAXOPBLOCKS

#define MAXOPBLOCKS   10

◆ MAXPATH

#define MAXPATH   128

◆ NBUF

#define NBUF   (MAXOPBLOCKS * 3)

◆ NCPU

#define NCPU   8

◆ NDEV

#define NDEV   10

◆ NFILE

#define NFILE   100

◆ NOFILE

#define NOFILE   16

◆ NPROC

#define NPROC   64

◆ ROOTDEV

#define ROOTDEV   1