From: Frederic Marmond <fmarmond@eprocess.fr>
To: linux-assembly@vger.kernel.org
Subject: how can I have access to the memory as in flat mode?
Date: Sun, 23 Jun 2002 17:13:51 +0200 [thread overview]
Message-ID: <3D15E5AF.5010706@eprocess.fr> (raw)
Hi,
few days ago, i posted mails to try to know better about linear memory
in linux.
perhapse you've already answer me, but I could'nt see mails from the list...
So, I managed to make my prog work by using /dev/mem
it's very ugly, but it worked.
Is there any other way to access somewhere?
In fact the exact problem is:
on a embeded system, the mac-adress of eth0 and eth1 are stored in a
flash memory, mapped somewhere.
The 'standard' driver (natsemi) doesn't know this, and try to access to
the 'normal' pci network card.
So, i have to read the mac adress by hand, and modify the value returned
by the 'standard' driver.
I know the adress, but I've got seg-faults when trying to access it from
the driver (readb, (unsigned char*)0xf8000, ...)
any help?
Fred
next reply other threads:[~2002-06-23 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-23 15:13 Frederic Marmond [this message]
2002-06-25 23:17 ` how can I have access to the memory as in flat mode? h-peter recktenwald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D15E5AF.5010706@eprocess.fr \
--to=fmarmond@eprocess.fr \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.