Skip to contentSkip to conversation

usage of memory reserved at boot time

DISCUSSION Frederic Dumoulin 1 participant 1 message Jan 8, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I need to reserve 64MB of contiguous memory for DMA usage with a PCIe board, I'm using RHEL 5.4 and 2.6.18-164.el5.

I reserved this memory with the option memmap=64M$64M at boot-time.
I'd like to be sure that the reservation was succesful before remapping it in my module with ioremap, Can I use something like check_mem_region ?

Thanks for your help.

Regards,

Frédéric