#include <stdio.h>
#include <os_config.h>
#include <config/config_cparam.h>
#include <config/config_param.h>
#include <sys/arch.h>
#include <sys/process.h>
#include <sys/mem.h>
#include <sys/init.h>
#include <sys/shm.h>
#include <sys/kmsg.h>
#include <sys/kpthread.h>
#include <sys/ksched.h>
#include <sys/decls.h>
#include <sys/bufmalloc.h>
#include <errno.h>
Functions | |
void | alloc_pidq_mem (queuep queue, unsigned int qtype, unsigned int qno) |
Variables | |
pid_t | pid_queue_mem [PID_QUEUE_MSIZE] |
|
Allocate memory to the process ID queue's.
qtype is the queue type. Can be READY_Q or SEMA_Q
|
|
Memory allocated for storing Process IDs. This memory is used for Ready Queue and Semaphore Queue. The memory is split as follows:
|