vbos/kernel/proc/proc.c
Michael Shaw 1b8fe6b24d kernel: add basic proc outline
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
2026-07-15 14:50:46 -04:00

12 lines
315 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#include <kernel/proc.h>
#include <kernel/slab.h>
mem_cache_t *proc_slab;
mem_cache_t *thread_slab;
void proc_init()
{
proc_slab = slab_create("proc_slab", sizeof(struct proc), 1 * MB, 8);
thread_slab = slab_create("thread_slab", sizeof(struct thread), 1 * MB, 8);
}