old-www/pub/Linux/docs/ldp-archived/mail_archives/ldp-discuss/msg01881.html

105 lines
3.6 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- MHonArc v2.5.0b2 -->
<!--X-Subject: How to access system memory? -->
<!--X-From-R13: yqc&#45;qvfphff&#45;erdhrfgNyvfgf.qrovna.bet -->
<!--X-Date: Tue, 4 Apr 2000 03:22:56 &#45;0400 (EDT) -->
<!--X-Message-Id: OF4AD9C711.E5F96785&#45;ON482568B7.0026E800@legend.com.cn -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>How to access system memory?</title>
<link rev="made" href="mailto:ldp-discuss-request@lists.debian.org">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg01880.html">Date Prev</a>][<a href="msg01882.html">Date Next</a>][<a href="msg01911.html">Thread Prev</a>][<a href="msg01886.html">Thread Next</a>][<a href="maillist.html#01881">Date Index</a>][<a href="threads.html#01881">Thread Index</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>How to access system memory?</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: <A HREF="mailto:ldp-discuss@lists.linuxdoc.org">ldp-discuss@lists.linuxdoc.org</A></li>
<li><em>Subject</em>: How to access system memory?</li>
<li><em>From</em>: <A HREF="mailto:ldp-discuss-request@lists.debian.org">ldp-discuss-request@lists.debian.org</A></li>
<li><em>Date</em>: Tue, 4 Apr 2000 15:12:13 +0800</li>
<li><em>Resent-cc</em>: recipient list not shown: ;</li>
<li><em>Resent-date</em>: 4 Apr 2000 07:22:23 -0000</li>
<li><em>Resent-from</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
<li><em>Resent-message-id</em>: &lt;0YBrrC.A.yTC.vgZ64@murphy&gt;</li>
<li><em>Resent-sender</em>: <A HREF="mailto:ldp-discuss-request@lists.debian.org">ldp-discuss-request@lists.debian.org</A></li>
<li><em>Sender</em>: <A HREF="mailto:zhanghwb@legend.com.cn">zhanghwb@legend.com.cn</A></li>
</ul>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<hr>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<pre>
Dear all:
I want to write a program to read some bytes from memory
0xF000:0800(0XF0800) to 0xF000:0d00(0xf0d00) under LINUX, I know that I
should write a device drvier to read memory data, but some function as
memcpy_tofs and memcpy_fromfs are not define under asm/segment. and when I
direct read the address ,when i use &quot;insmod mydrv&quot;, an error said
&quot;segmentatin fault&quot;,and &quot;unable to handle kernel paging request at virtual
address 000f0800&quot;.
how can I do
thanks very much!!!
Good Luck!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<EFBFBD>ź<EFBFBD>ΰ Hongwei Zhang
Office Tel.:(0755)2712288-8832
pager :191(2)-8113143
Email :zhanghwb@legend.com.cn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<7E><><EFBFBD> <20> <11>zf<7A><66><EFBFBD>%v<>݊<EFBFBD>.<2E><><EFBFBD>z<EFBFBD><7A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>l<EFBFBD>כ<EFBFBD><D79B><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30>Z<EFBFBD><5A><EFBFBD>y<EFBFBD>h<68><7F><EFBFBD><EFBFBD><EFBFBD>r<EFBFBD><72>{<7B>Ӯ<EFBFBD><D3AE><EFBFBD><EFBFBD>¢{Zr<5A>b<EFBFBD>ٚ<EFBFBD>׫<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD>y<EFBFBD><79><EFBFBD><EFBFBD>+
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01880.html">I want to write a Linux+Solaris-HOWTO</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01882.html">LINUX EXPO NORTH AMERICA</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01911.html">Re: I want to write a Linux+Solaris-HOWTO</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01886.html">What is the etiquitte?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01881"><strong>Date</strong></a></li>
<li><a href="threads.html#01881"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>