Mmap is working fine for me. But the problem is mapped address is not to the one I have (i.e hardcoded address).
The first param to mmap tells where I want the mapping addr to be. But it is neglecting and mapping to some low address.
To adjust to this I need to change all the hardcoded address which consumes my huge time.
Without changing my hardcoded address if I get any alternative soln I will be very happy.
Mmap is working fine for me.
Mmap is working fine for me. But the problem is mapped address is not to the one I have (i.e hardcoded address).
The first param to mmap tells where I want the mapping addr to be. But it is neglecting and mapping to some low address.
To adjust to this I need to change all the hardcoded address which consumes my huge time.
Without changing my hardcoded address if I get any alternative soln I will be very happy.