No announcements
Found 2686389 threads
-
0 Votes
MmMapIOSpace and RtlCopyMemory
Yes, you can use RtlCopyMemory on memory mapped using MmMapIOSpace. READ_REGISTER_BUFFER_XXX issues a memory barrier and uses the MOVSB instruction, while ...Answered | 4 Replies | 1052 Views | Created by Boomi.s - Thursday, October 30, 2014 7:06 AM | Last reply by Brian Catlin - Friday, October 31, 2014 7:10 PM -
3 Votes
mapping large pages with MmMapIOSpace
believe that if I take care of alignment (which I did) and request large amount of data (proportional to 2MB), then MmMapIOSpace would automatically switch to large pages ...Answered | 5 Replies | 5505 Views | Created by antonpegushin - Friday, July 22, 2011 12:40 PM | Last reply by Pavel Lebedinsky [MSFT] - Saturday, July 30, 2011 5:47 AM -
4 Votes
MmMapIoSpace crashing
to the PDO. Fire up the debugger and see what the difference in the call to MmMapIoSpace between doing it at the port driver or the controller driver. I've ...Answered | 19 Replies | 1481 Views | Created by rajujayanthy - Wednesday, June 18, 2014 12:37 PM | Last reply by rajujayanthy - Monday, June 23, 2014 8:15 AM -
0 Votes
RtlCopyMemory crash MFC application
of this line my application crashed. I make dll from this code. And I use this dll as customAction in setup. Please guid me. What should I do? Why RtlCopyMemory does not work in MFC ...Answered | 4 Replies | 4657 Views | Created by ankitshah - Saturday, April 23, 2011 6:25 AM | Last reply by ankitshah - Tuesday, April 26, 2011 10:00 AM -
0 Votes
What is the difference between MmMapIOSpace and OALPAtoVa?
Short answer - use OALPAtoVA in bootloader & OAL code and MmMapIOSpace otherwise (e.g. drivers). OALPAtoVA simply converts statically mapped addresses by ...Answered | 2 Replies | 2387 Views | Created by Derek_81 - Monday, October 29, 2012 8:33 AM | Last reply by Martin422 - Monday, October 29, 2012 10:57 AM -
0 Votes
RtlCopyMemory Issue with Strings
Hi, I appreciate your help. I already downloaded the project and observed how to use the marshal class. I was doing a mistake by mixing IntPtr with Integers, ...Unanswered | 4 Replies | 6370 Views | Created by JPartida - Monday, August 13, 2007 4:04 PM | Last reply by JPartida - Wednesday, August 15, 2007 1:40 PM -
2 Votes
RtlCopyMemory: DbgPrint() to destination variable is empty
I'm trying see the content of a UNICODE_STRING variable that receives a value filled by RtlCopyMemory() function and the content is emptyAnswered | 5 Replies | 485 Views | Created by FL4SHC0D3R - Tuesday, March 27, 2018 11:52 PM | Last reply by Don Burn [Windrvr] - Wednesday, March 28, 2018 4:27 PM -
0 Votes
status_access_violation while writing memory with rtlcopymemory
BaseAddress and ASLR should not be involved. In your test program, varint is a stack variable. It's not part of the executable image. How are you ...Unanswered | 5 Replies | 845 Views | Created by Frankooo - Friday, March 29, 2019 6:51 PM | Last reply by Frankooo - Tuesday, April 2, 2019 12:16 PM -
0 Votes
will MmmapIoSpace nulls the variable after freeing the memory
no, and if you look at the signature you answer your own question, the first parameter is In_ PVOID BaseAddress and you are ...Answered | 1 Replies | 642 Views | Created by Vidyasagar Seshadri - Monday, August 11, 2014 5:37 AM | Last reply by Doron Holan [MSFT] - Monday, August 11, 2014 5:39 AM -
0 Votes
How to specify virtual address alignment using MmMapIoSpace
needs the flash base address to be block aligned for the maths to work. The block sizes for our Flash device are 128kB and the virtual address returned by MmMapioSpace is ...Unanswered | 2 Replies | 1406 Views | Created by BDP42 - Monday, July 1, 2013 5:26 PM | Last reply by BDP42 - Tuesday, July 2, 2013 8:01 AM -
2 Votes
Read from memory mapped through MmMapIOSpace hangs the system
Yes the hardware works and i can read/write in linux. Did you mean whether i checked the return value of MmMapIoSpace? - FazlinAnswered | 17 Replies | 5604 Views | Created by Fazlin - Friday, September 9, 2011 9:32 AM | Last reply by Fazlin - Thursday, September 29, 2011 8:44 AM -
0 Votes
MmMapIoSpace() - calling more than once on the same Physical Address
that two threads try to access the same physical memory and the change made by one should not effect the other ... --- ...Answered | 5 Replies | 1080 Views | Created by Terry PG - Thursday, June 26, 2014 10:29 AM | Last reply by Terry PG - Thursday, June 26, 2014 1:04 PM -
0 Votes
How to get physical address to pass to MmMapIoSpace
using the IN and OUT instructions of the x86 processor. Very, very few modern PCI devices use I/O space, because the I/O instructions are very slow. --Answered | 9 Replies | 5619 Views | Created by MoSin - Wednesday, December 14, 2011 9:21 PM | Last reply by MoSin - Tuesday, December 20, 2011 11:41 AM -
0 Votes
WEC7 - error when trying to read IO structure at virtual address set by MmMapIOSpace
Mario, Michel Thanks for the replies but still no luck trying to sort this. The VA I get from MmMapIOSpace is tested before using and its value ...Answered | 5 Replies | 721 Views | Created by Terence P - Tuesday, October 28, 2014 10:55 AM | Last reply by Terence P - Tuesday, November 4, 2014 11:07 AM -
1 Votes
MmMapIoSpace called to map, but the caller hasn't locked down the MDL pages
YOu do not map portIo into memory space. You are taking a port address and trying to treat it as a physical address. Don Burn Windows Filesystem ...Answered | 1 Replies | 4192 Views | Created by Alex Farber - Thursday, July 28, 2011 9:48 AM | Last reply by Don Burn [Windrvr] - Thursday, July 28, 2011 10:43 AM -
0 Votes
When is it safe to read the memory returned by MmMapIoSpace from an ISR in other routine?
The mapped address space is available immediately upon return from MmMapIoSpace -Brian Azius Developer Training www.azius.com Windows device driver, ...Answered | 2 Replies | 1077 Views | Created by rajujayanthy - Saturday, August 9, 2014 7:09 AM | Last reply by Brian Catlin - Tuesday, August 12, 2014 11:27 PM -
5 Votes
How to send the Physical address of Config Space to the Upper driver so that it can MmMapIospace in Upperdriver
We need to send this UART config space Starting Physical address to the PDOs of the Port. So that in FDO of ports can MmMapIospace and access the UART ...Answered | 8 Replies | 1039 Views | Created by Vidyasagar Seshadri - Monday, June 9, 2014 2:12 PM | Last reply by Don Burn [Windrvr] - Monday, June 16, 2014 10:45 AM -
0 Votes
data sharing between ISR and IST
Theoretically yes, but since your ISR is in OAL, MmMapIoSpace is not available for OAL. Vice versa, the OALPAtoVA is not available for drivers. But if ...Proposed | 3 Replies | 3486 Views | Created by NayakV - Tuesday, July 12, 2011 4:36 AM | Last reply by K M O S - Tuesday, July 12, 2011 10:30 PM -
0 Votes
data sharing between ISR and IST
mode(though it can access the full 4GB vitual memory space). So, if both(ISR and IST) are running in kernel mode, why do we need to map physical memory separately in ISR ...Unanswered | 1 Replies | 4478 Views | Created by NayakV - Monday, July 11, 2011 5:36 AM | Last reply by Sean Liming - Monday, July 11, 2011 3:10 PM -
0 Votes
CAML where and and and OR and and and
reply and if you think is helpful, click "Unanswered | 4 Replies | 1477 Views | Created by renatois - Wednesday, June 26, 2013 9:34 AM | Last reply by renatois - Wednesday, June 26, 2013 10:44 AM - Items 1 to 20 of 2686389 Next ›
No announcements