sharing memory between task/task or task/kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
stanko51
Member
Member
Posts: 32
Joined: Fri Mar 27, 2009 6:58 pm

sharing memory between task/task or task/kernel

Post 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!
Last edited by stanko51 on Thu Feb 17, 2011 9:16 pm, edited 1 time in total.
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

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

Post 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.
Post Reply