remap_page_range with addresses above 4GB
From: John Fusco (fusco_john_at_yahoo.com)
Date: 09/22/04
- Next message: Lepi: "Closing down program"
- Previous message: Pieter: "[usb module] Interpreting data from Snoopy"
- Next in thread: Pete Zaitcev (OTID1): "Re: remap_page_range with addresses above 4GB"
- Reply: Pete Zaitcev (OTID1): "Re: remap_page_range with addresses above 4GB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 22 Sep 2004 03:30:28 GMT
I have a device that requires lots of contiguous RAM (100's of MB). I
generally use the boot argument 'mem=XXX' to hide memory from the kernel
so I can use it for my driver.
This works fine as long as XXX is less than 4GB. It turns out that
remap_page_range takes an 'unsigned long' as its argument for a physical
address, which on IA32 is 32-bits. So I can't use it when I have to
reserve memory above 4GB.
Does anyone have any ideas how to do this?
Thanks,
John
- Next message: Lepi: "Closing down program"
- Previous message: Pieter: "[usb module] Interpreting data from Snoopy"
- Next in thread: Pete Zaitcev (OTID1): "Re: remap_page_range with addresses above 4GB"
- Reply: Pete Zaitcev (OTID1): "Re: remap_page_range with addresses above 4GB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|