mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Svein Erling Seldal" <Svein.Seldal@edcom.no>
To: <linux-kernel@vger.kernel.org>
Subject: readw() access
Date: Wed, 1 Aug 2001 22:33:44 +0200	[thread overview]
Message-ID: <NEBBLKFNEDOFBCDCJMLKCEAKCEAA.Svein.Seldal@edcom.no> (raw)


Hello,

I'm trying to port a driver from 2.2.x to 2.4.x where I previously has used
readw() to read the contents of the memory-adresses 0x408-0x40c (Where the
BIOS gives you the adr. for the par-ports.) But on 2.4.x readw(0x408) Oops:

"Unable to handle kernel NULL pointer dereference at virtual address
00000408"

How do you read a memory-address like this?


Svein Erling Seldal


             reply	other threads:[~2001-08-01 20:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01 20:33 Svein Erling Seldal [this message]
2001-08-01 20:44 ` Brian Gerst

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=NEBBLKFNEDOFBCDCJMLKCEAKCEAA.Svein.Seldal@edcom.no \
    --to=svein.seldal@edcom.no \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®