From mint-bounce@lists.fishpool.fi Wed Dec 9 11:03:35 2009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ouHA29KhXqEJypPHK7W4JtuAK+oy/nUbY/wtxuaQrrE=; b=t6dm0aarZXkkMme36RfMZGg+a6EJYB254PtCyVqbeO2qHbnFIoO4T7vCZlZ1rUcVfn ljglaX5xM5edmw9Eo7X5WWg2rpOyO9xCMepuIe2vM4BHIPfPvOs0238RRnM/OyilY1qw kb6baAceLgTODal1Av1To5YmpkShmxxmhBE2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=mdkzRmAnSyGJTfyUd9EQqlZOFL+ytkSlWWwjysCSvsiMRTv+xN16tc69A3F/8k3eNf d9NHVrkbRskaJVs7u95d4iYuvM9rt5cwjPhpfGRtskbzjDbOr+f3weYrdoL2dFd4WKK9 nVrwpymp0woJot8Rs8u68LUo7x8RTeCRFK3FA= Message-ID: <4B1FC96F.1010306@freesbee.fr> Date: Wed, 09 Dec 2009 16:59:43 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] XaAES sources for FreeMiNT 1.16.3 References: <11a6f2b10911270646s6ceab50i915d71aeb27f6be9@mail.gmail.com> <11a6f2b10912081349x51b88c71p278c085ff9b77f2e@mail.gmail.com> <11a6f2b10912082333g5ede94a6t862ff00a111c970a@mail.gmail.com> <7116AF0ECE9F4F099B489E49FEE856FC@mercatus.local> <4B1FBAB0.4080607@freesbee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Johan Klockars wrote: > IMO, it should never be possible for a user program/library to write > directly to video memory. If it is technically possible, like on ST, why not allowing this ? If this is hidden under a clean API, there is nothing wrong. > Drivers for graphics accelerators will need to access hardware > registers Some hardware registers are accessible in user mode. We have discovered this recently with EtherNAT. > and, unless I'm mistaken, the NatFeat instructions necessary > for accelerated graphics under ARAnyM do not work in user mode. ARAnyM can be modified to be more efficient. However I agree, most drivers have to access supervisor mode to do their work. > You also need to consider that the VDI would sometimes be really > unhappy if called from multiple contexts at once. So, you'd need > kernel based locking for at least some things. Sure, the VDI has to use some mutex or similar. So the VDI has to call the kernel, as every user program. -- Vincent Rivière