[prev in list] [next in list] [prev in thread] [next in thread] 

List:       eros-cvs
Subject:    [eros-cvs] cvs commit: eros/src/base/tests/func/trivkpr test.imgmap.i486
From:       Charlie Landau <clandau () eros ! cs ! jhu ! edu>
Date:       2001-03-07 4:06:03
[Download RAW message or body]

clandau     01/03/06 23:06:03

  Added:       src/base/tests/func/trivkpr test.imgmap.i486
  Log:
  Revised image map.

Revision  Changes    Path
1.1                  eros/src/base/tests/func/trivkpr/test.imgmap.i486

Index: test.imgmap.i486
===================================================================
/* -*- C -*- */
/*
# Copyright (C) 1998, 1999, 2001, 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.
 */

/*
# faulter domain test case.  This test case has two domains: a faulter and
# a faultee.  The faultee in this case is the trivkpr domain.  The
# faulter simply does an illegal
# instruction, allowing output to be examined through the kernel debugger.
 */

arch i486;

faulter = new domain;
faulter.seg = program segment "faulter";
faulter.pc = symbol "faulter" _start;
faulter.seg = faulter.seg with page at 0xf000;

faulter pc= faulter.pc;
faulter space = faulter.seg;
faulter priority = sched(8); /* normal */

trivkpr = new domain;
trivkpr.seg = program segment "trivkpr";
trivkpr.pc = symbol "trivkpr" _start;
trivkpr.seg = trivkpr.seg with page at 0xf000;

trivkpr pc= trivkpr.pc;
trivkpr space = trivkpr.seg;
trivkpr priority = sched(8); /* normal */

trivkpr key reg 1 = misc ConsoleCreator;

faulter key reg 1 = misc ConsoleCreator;
faulter key reg 2 = misc Sleep;
faulter domain keeper = start trivkpr 0;

run faulter;
run trivkpr;



_______________________________________________
eros-cvs mailing list
eros-cvs@mail.eros-os.org
http://www.eros-os.org/mailman/listinfo/eros-cvs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic