forked from PoliEcho-holding-org/kern
11 lines
189 B
C
11 lines
189 B
C
#include <syscalls/syscalls.h>
|
|
#include <memory/malloc.h>
|
|
#include <cpu/isr.h>
|
|
|
|
int sys_free(intFrame_t* iframe) {
|
|
void* ptr = (void*)iframe->ebx;
|
|
mallocFree(ptr);
|
|
return 0;
|
|
}
|
|
|