From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 30 21:29:59 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64FF316A4D5 for ; Tue, 30 Oct 2007 21:29:59 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id 216ED13C4A8 for ; Tue, 30 Oct 2007 21:29:58 +0000 (UTC) (envelope-from maslanbsd@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1412526nzf for ; Tue, 30 Oct 2007 14:29:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=tIZB4+AIiUyB83tRQ7nzA0NoIyCmToTixTqWCyLUe1Y=; b=Hzuh2rqQU91vV1bcXlc72jqYwrCb1BQsNjuUvvlk5fKtOBhm/JFFJjCHl5jIfxWtigEPGM+GXwxj6qpYdXsnNNnov/HY92VFLPBBTzYJPvqINtRKiev9dMxM7C7LzP1w9BHVXoAGTCvZVP852b5oSOEiTa0Y/l76uoM0K9outPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h6hrQR7PkyEWDx8HMIL4L7FY7UfY/J2bCkobiDItpdBl/5oIvp3csraUPSwVBX8gJeONEkO3l/xWhVQWvX20BIwIIqHccfBAhBQVdKNWvbi7lSX+bHdrOGcyBLXjEArhkRk/7WoWD+OHjqkUmXZbpO2lcog4bKpH0tKZEen2zmg= Received: by 10.142.52.9 with SMTP id z9mr1900809wfz.1193778145476; Tue, 30 Oct 2007 14:02:25 -0700 (PDT) Received: by 10.143.33.14 with HTTP; Tue, 30 Oct 2007 14:02:25 -0700 (PDT) Message-ID: <319cceca0710301402j48355b54gc572f9c76a39d5a8@mail.gmail.com> Date: Tue, 30 Oct 2007 21:02:25 +0000 From: Maslan To: "=?ISO-8859-2?Q?Jaroszewski_=A3ukasz?=" In-Reply-To: <0862634D7E37134986CB15DF2E4542BA1C1EE5@sbssrv.SALAG.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0862634D7E37134986CB15DF2E4542BA1C1EE5@sbssrv.SALAG.local> Cc: freebsd-hackers@freebsd.org Subject: Re: ``Stopping RAM access'' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 21:29:59 -0000 > Can anyone give me a clue, how one can ``stop'' system from accessing RAM, and then allow it again? I think this has no aim, RAM tests should be done during booting, but u could try to disable interrupts while in kernel mode 'cli' which will prevent any further context switching, then try to do whatever you want, finally enable interrupts back 'sti'. That's my two cents. I don't whether it will work or not. -- System Programmer -- I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) -- http://libosdk.berlios.de