Is it possible to map PCIe large BAR size (memory BAR >128MB) upon Windows7 x64 system?
85 views
Skip to first unread message
jean-hugu...@ces-swap.com
unread,
Feb 4, 2016, 8:54:39 AM2/4/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
I'm writing a Windows 7 device driver for a "communication PCIe device".
This PCIe device has a BAR containing a large memory space (bigger then 128MB).
The device driver uses the Windows kernel call MmMapLockedPagesSpecifyCache() to map the PCIe device BAR memory address into the user-application (virtual) memory space.
Up to a BAR size of 128MB the MmMapLockedPagesSpecifyCache() function works.
For bigger memory space the MmMapLockedPagesSpecifyCache() function throw a exception, avoiding using large size BAR.
So, Is it possible to map PCIe BAR size bigger than 128MB upon Windows7 x64 system? And if yes how to ?
Cordially.
jean-hugu...@ces-swap.com
unread,
Feb 10, 2016, 2:31:18 AM2/10/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I found what was going on. I recompiled everything on x64 mode then the mapping of 1GB BAR into the user virtual memory space works.