From owner-freebsd-hackers Sat Dec 23 12:06:17 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA28177 for hackers-outgoing; Sat, 23 Dec 1995 12:06:17 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA28171 for ; Sat, 23 Dec 1995 12:06:14 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA10304 for hackers@freebsd.org; Sat, 23 Dec 1995 21:04:43 +0100 From: Luigi Rizzo Message-Id: <199512232004.VAA10304@labinfo.iet.unipi.it> Subject: How to write in physical memory ? To: hackers@freebsd.org Date: Sat, 23 Dec 1995 21:04:42 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk Hi, what is the simplest way for a user process to access a portion of the physical memory on a system ? More specifically, I would like to peek/poke into the video memory of my S3 card. XF86_S3 says 'Local bus LAW is 0xF3000000' , I assume this is the physical address of the frame buffer (my ultimate goal would be to have the meteor driver dump directly into video memory through the PCI bus). Thanks Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================