syslimits.h

来自「一个用在mips体系结构中的操作系统」· C头文件 代码 · 共 47 行

H
47
字号
/* * Copyright (C) 1996-1998 by the Board of Trustees *    of Leland Stanford Junior University. *  * This file is part of the SimOS distribution.  * See LICENSE file for terms of the license.  * *//* * syslimits.h -- maximum configurable sizes * * These are system maximums, the individual interfaces define their own * where appropriate (such as the max number of disks per hd interface) */#ifndef SYSLIMITS_H#define SYSLIMITS_H/* maximum number of cpus */#define SIM_MAXCPUS       32/* JeffG: Fix of LARGE_SIMULATION hack */#if (SIM_MAXCPUS > 32)# define LARGE_SIMULATION#else# undef  LARGE_SIMULATION#endif/* maximum number of PCI slots on a node */#define SIM_MAXSLOTS      4/* maximum number of host cpus */#define SIM_MAXHOSTCPUS   64/* maximum number of local memory regions on any cpu. * A local memory region is an area in which a group of cpus share * a different memory bank than the global memory bank. */#define SIM_MAXLOCALREGIONS 4/* maximum number of local regions on the system */#define SIM_SYSMAXLOCALREGIONS 8 #endif /* SYSLIMITS_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?