From mint-bounce@lists.fishpool.fi  Thu Aug 11 13:52:12 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
X-Authentication-Warning: antyk.obta.uw.edu.pl: draco owned process doing -bs
Date: Thu, 11 Aug 2005 13:51:31 +0200 (CEST)
From: "Konrad M. Kokoszkiewicz" <draco@obta.uw.edu.pl>
To: mikro <mikro@hysteria.sk>
Cc: Andreas Schwab <schwab@suse.de>, Mint list <mint@fishpool.com>
Subject: Re: [MiNT] what's wrong with this code?
In-Reply-To: <20050811113415.GA4768@hysteria.sk>
Message-ID: <20050811134502.P91109@antyk.obta.uw.edu.pl>
References: <20050810084953.GA29857@hysteria.sk> <42F9C8C7.6040602@klockars.net>
 <20050810100104.GB29857@hysteria.sk> <jepssm2e2l.fsf@sykes.suse.de>
 <20050811064139.GA16995@hysteria.sk> <je3bpgzqmy.fsf@sykes.suse.de>
 <20050811110354.GA8923@hysteria.sk> <jeu0hwyarn.fsf@sykes.suse.de>
 <20050811113415.GA4768@hysteria.sk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: draco@obta.uw.edu.pl
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00
X-Spam-Level: 

> believe me, I don't do anything more than the source code I posted here. So
> if you don't see any error in that code it has to be MiNT MP's bug, I don't see
> other explanation.

I looked at the code you had posted. It seems you're switching to and from
supervisor mode outside the system control. Sorry, but this is not even
supposed to work correctly. You always have to use Super() or Supexec() to
accomplish that.

And by the way, replacing an exception vector you have to flush CPU
pipelines afterwards.

-- 
Konrad M.Kokoszkiewicz
mail: draco@atari.org
http://draco.atari.org

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** Taka to juz natura pospolstwa, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.

