Linux-kernel mailing list archive 2000-32,: Re: PCI Memory Mapping

# Re: PCI Memory Mapping

Charles Samuels (charles@altair.dhs.org)
Mon, 7 Aug 2000 13:06:56 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Raymond Miller: "Re: linux-kernel-digest V1 #1274"
- Previous message: Xuan Baldauf: "Re: (reiserfs) Re: NFSv4 ACLs (was: ...ACL's and reiser...)"

James Simmons writes:
> Take a look fb_mmap in drivers/video/fbmem.c in a for example of using
> mmap for various platforms.

No luck using that either.

I think I'm going to be driven insane from this if I don't get it soon! :)

What's odd is that accessing the earlier data in the map is more than
possible, but when I access an offset near the end (say 15mb, out of 16),
I get (user-level) segfaults.

Using mtrr_add() causes quite a few lockups.

Now, don't yell at me and call me an idiot, I'm just a newbie :)

Should I not be allocating the RAM on this device somehow?

Am I supposed to just plain use it, should it be allocated (and how? :)

Thanks

-Charles

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Raymond Miller: "Re: linux-kernel-digest V1 #1274"
- Previous message: Xuan Baldauf: "Re: (reiserfs) Re: NFSv4 ACLs (was: ...ACL's and reiser...)"