⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.old-imgmap.i486

📁 C++ 编写的EROS RTOS
💻 I486
字号:
## Copyright (C) 1998, 1999, Jonathan S. Shapiro.## This file is part of the EROS Operating System.## 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,# 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.### logtest domain test case.  This test case simply touches a boatload# of pages.  It is designed to be run when the kernel object cache has# been artificially constrained to limit the number of pages.## The test is in two parts.  For page ageing, the logtest simply# touches enough pages that a constrained kernel is forced to age.# For node testing, we must add another domain -- the log test program# is small enough that if ANY of it's nodes get aged out it will not# make progress.  We therefore include a tick program so it has a# competitor.#arch i486domain logtestprogram segment logtest = logtestlogtest.seg add page 0x20000	# for stacklogtest.dom pc = logtest.pclogtest.dom sp = 0x21000logtest.dom space = logtest.seglogtest.dom priority = sched(8)   # normallogtest.dom key reg 9 = misc(Console)logtest.dom key reg 10 = misc(sleep)print domain logtest.domprint segment logtest.segdomain tickprogram segment tick = ticktick.seg add page 0x20000	# for stacktick.dom pc = tick.pctick.dom sp = 0x21000tick.dom space = tick.segtick.dom priority = sched(8)   # normaltick.dom key reg 9 = misc(Console)tick.dom key reg 10 = misc(sleep)tick.dom key reg 11 = misc(TimeOfDay)print domain tick.domprint segment tick.segdomain migratorprogram segment migrator = migratormigrator.seg add page 0x20000migrator.dom pc = migrator.pcmigrator.dom sp = 0x21000migrator.dom space = migrator.segmigrator.dom priority = sched(8)   # normalmigrator.dom key reg 8 = misc(Checkpoint)migrator.dom key reg 9 = misc(Console)migrator.dom key reg 10 = misc(sleep)migrator.dom key reg 11 = misc(TimeOfDay)print domain migrator.domprint segment migrator.segrun logtest.domrun tick.domrun migrator.dom

⌨️ 快捷键说明

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