📄 kernelparameters.h
字号:
//// Visopsys// Copyright (C) 1998-2005 J. Andrew McLaughlin// // This program is free software; you can redistribute it and/or modify it// under the terms of the GNU General Public License as published by the Free// Software Foundation; either version 2 of the License, or (at your option)// any later version.// // This program is distributed in the hope that it will be useful, but// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License// for more details.// // You should have received a copy of the GNU General Public License along// with this program; if not, write to the Free Software Foundation, Inc.,// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.//// kernelParameters.h//#if !defined(_KERNELPARAMETERS_H)// Definitions// The start of the virtual memory space where the kernel will operate#define KERNEL_VIRTUAL_ADDRESS 0xC0000000// Reserved memory blocks at boot time#define VIDEO_MEMORY 0x000A0000#define VIDEO_MEMORY_SIZE 0x00020000#define KERNEL_LOAD_ADDRESS 0x00100000#define KERNEL_PAGING_DATA_SIZE 0x00004000// The privilege levels#define PRIVILEGE_SUPERVISOR 0 // 0000#define PRIVILEGE_USER 3 // 0011// added by Davide Airaghi#define PRIVILEGE_KERNEL 4 // 0100// The kernel's process Id#define KERNELPROCID 1// The kernel's settings file#define DEFAULT_KERNEL_CONFIG "/system/config/kernel.conf"// Default PATH#define DEFAULT_PATH "/programs"// Default start executable#define DEFAULT_KERNEL_STARTPROGRAM "/programs/login"// The kernel's symbol file#define KERNEL_SYMBOLS_FILE "/system/kernelSymbols.txt"// Disks#define MAXFLOPPIES 4#define MAXHARDDISKS 4// Other#define MAX_SERIAL_PORTS 4#define _KERNELPARAMETERS_H#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -