oslab-swrc / Azalea

Multikernel OS for manycore systems
http://manycoreos.synology.me/azalea/
Other
10 stars 7 forks source link

Add IPC functions based on shared memory #138

Closed yeonjjeong closed 4 years ago

yeonjjeong commented 4 years ago

135

shmget(), shmat(), shmdt(), shmctl() in kernel/shm

sample app is located at application/shm shared memory is allocated by buddy algorithm. shared memory area is as following. (cf, include/knl/arch.h)

define IPC_START_OFFSET (APP_START_OFFSET + APP_SIZE)

define IPC_SIZE ((unsigned long) (512<<20)) // 512MB

seungjunn commented 4 years ago

Resolved #135