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

📄 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.### test of shared pages#arch i486domain domain1domain domain2program segment seg1 = domain1program segment seg2 = domain2## each gets its own stack#seg1.seg add page 0x20000seg2.seg add page 0x20000## seg1 gets the page that we will share#seg1.seg add page 0xa0000## seg2 gets a page just like it, only so # that makeimg will automagically adjust it's BLSS to be# the same as seg1.  this page will get replaced#seg2.seg add page 0xa0000 ## for incoming data, if any#seg2.seg add page 0x10000 ## domain1 is ipl#ipl domain1.domdomain1.dom pc = seg1.pcdomain1.dom sp = 0x21000domain1.dom space = seg1.segdomain1.dom priority = sched(8)   # normaldomain2.dom pc = seg2.pcdomain2.dom sp = 0x21000domain2.dom space = seg2.segdomain2.dom priority = sched(8)   # normaldomain1.dom key reg 8 = misc(Console)domain2.dom key reg 8 = misc(Console)domain1.dom key reg 9 = misc(Sleep)domain2.dom key reg 9 = misc(Sleep)domain1.dom key reg 7 = start domain2.dom 0 domain2.dom key reg 7 = seg1.segdomain2.dom key reg 6 = seg2.segdomain2.dom accepts keys 12 13 14 15domain2.dom accepts string at 0x10000 length 4096print domain domain1.domprint domain domain2.dom

⌨️ 快捷键说明

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