As depicted in the figure attached along with, if I pass the pBuf (which I received by calling the dev_malloc function) in the resmgr_msgread system call to copy the data passed in the write command to pBuf, I gets the Resource Manager Server Error. This means that the Resource Manager is not able to access the memory. [Scenario 1]
But if I copy the data passed from the write command to the local memory in the Resource Manager and then I do memcpy to the pBuf, it allows. [Scenario 2]
Does any have any idea why the Resource Manager is behaving like this?
Thanks in advance,