Forum Discussion
Altera_Forum
Honored Contributor
13 years agoPorting non-mmu code to MMU -- MMU memcpy SEGV
Thanks in Advance. With the non-mmu nios2 our design defined sdram regions that we utilized for buffers in our custom device driver. **** device driver sharedMem = kmalloc( SHARED_MEMSIZE...
Altera_Forum
Honored Contributor
13 years agoThanks! I figured there was a way.
Now - my mapping needs to be fixed because this buffer is used in a contiguous manner in the firmware. So, I'm assuming that this command WILL adhere to that because I have already allocated this area in my device driver? and I'll use: MAP_FIXED with the address.