Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site twitch.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!twitch!grt From: grt@twitch.UUCP ( G.R.Tomasevich) Newsgroups: net.unix-wizards Subject: Re: Accessing physical memory and phys() Message-ID: <261@twitch.UUCP> Date: Wed, 18-Dec-85 14:41:05 EST Article-I.D.: twitch.261 Posted: Wed Dec 18 14:41:05 1985 Date-Received: Fri, 20-Dec-85 01:19:48 EST References: <270@moncskermit.oz> <177@daab.UUCP> <5808@fortune.UUCP> Organization: AT&T Bell Labs, Holmdel Lines: 11 > Phys() is nonstandard. ... > Mats Wichmann One can always access device registers, physical memory, or whatever with /dev/mem, a la Rob Warnock. Read the memory mapping registers and do the same calculations that the processor does. I assume all flavors of UNIX have some memory access system call. Be sure to plock(2) the process, so some process user structure does not swap into your DMA buffer (crash, tinkle). -- George Tomasevich, ihnp4!twitch!grt AT&T Bell Laboratories, Holmdel, NJ