Karg
v0.2.0
The kernel of CargOS
kalloc.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
types.h
>
4
5
void
*
kmalloc
(
usize
size);
6
void
*
kcalloc
(
usize
size,
usize
n);
7
void
kfree
(
void
*ptr);
kfree
void kfree(void *ptr)
Definition:
kalloc.c:58
kmalloc
void * kmalloc(usize size)
Definition:
kalloc.c:16
kcalloc
void * kcalloc(usize size, usize n)
Definition:
kalloc.c:49
types.h
usize
__UINTPTR_TYPE__ usize
Definition:
types.h:28
include
mm
kalloc.h
Generated by
1.9.1