home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!cbnewsj!dwex
- From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
- Newsgroups: comp.unix.sysv386
- Subject: Re: What is /dev/pmem?
- Message-ID: <1992Sep6.205454.18297@cbnewsj.cb.att.com>
- Date: 6 Sep 92 20:54:54 GMT
- References: <1992Aug31.152303.20833@cbnewsj.cb.att.com> <1992Sep2.193151.16817@cti-software.nl> <Bu6745.C58@ais.org>
- Organization: AT&T
- Lines: 57
-
- In article <Bu6745.C58@ais.org> lewis@ais.org (David T. Lewis) writes:
- > In article <1992Sep2.193151.16817@cti-software.nl> pim@cti-software.nl
- > (Pim Zandbergen) writes:
- > >dwex@cbnewsj.cb.att.com (david.e.wexelblat) writes:
- > >
- > >
- > >>On my SVR4 box (Microport), in addition to the standard /dev/mem and
- > >>/dev/kmem, there is a /dev/pmem. All three have different minor mumbers
- > >>(same major number, so /dev/pmem is obviously related to the other two).
- > >>The manual page for /dev/mem and /dev/kmem has no mention of /dev/pmem.
- > >>Can anyone enlighten me on what this is?
- > >
- > >I've asked the same question a couple of months ago, because
- > >there's also a /dev/pmem in Interactive's SVR3.2.
- > >
- > >I had zero response then, I wonder if there will be any now.
- > >--
- > >Pim Zandbergen domain : pim@cti-software.nl
- > >CTI Software BV uucp : uunet!mcsun!sun4nl!ctisbv!pim
- > >Laan Copes van Cattenburch 70 phone : +31 70 3542302
- > >2585 GD The Hague, The Netherlands fax : +31 70 3512837
- >
- > Please forgive me taking a wild guess at it, but "physical memory" comes
- > to mind. Possibly this is to provide access to hardware memory addresses,
- > as distinct from addresses which get translated through the memory mapping
- > hardware. If you can read your video card memory from address 0xA0000 or
- > 0xB0000 of /dev/pmem, the hypothesis would be supported. Obviously,
- > writing to this device would be a bit on the risky side.
- >
-
-
- I quote, from the SVR4 mem(7) manual page:
-
- The file /dev/mem is a special file that is an image of
- the core memory of the computer. It may be used, for example,
- to examine, and even to patch the system
-
- Byte addresses in /dev/mem are interpreted as memory addresses.
- References to non-existent locations cause errors to be
- returned
-
- Examining and patching device registers is likely to lead to
- unexpected results when read-only or write-only bits are
- present.
-
- The file /dev/kmem is the same as /dev/mem except that kernel
- virtual memory rather than physical memory is accessed.
-
-
- No mention of /dev/pmem. Since /dev/mem is physical memory, by this
- definition, I repeat "What is /dev/pmem?"
-
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- David Wexelblat | dwex@mtgzfs3.att.com | Somebody get me a
- AT&T Bell Laboratories | ...!att!mtgzfs3!dwex | cheeseburger!
- 200 Laurel Ave - 4B-421 | |
- Middletown, NJ 07748 | (908) 957-5871 | --Steve Miller Band
-