Page 1 of 1

sharing memory between task/task or task/kernel

Posted: Thu Feb 17, 2011 8:31 pm
by stanko51
Hello,

I would like to implement shared memory between different tasks and between a task and the kernel. How can that be implemented with C language ?

Thanks!

Re: sharing memory between task/task or task/kernel

Posted: Thu Feb 17, 2011 9:04 pm
by NickJohnson
Do you have paging set up? If so, it's pretty simple: just map the shared region of memory in both tasks or the task and the kernel.