mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
11 lines
195 B
C
11 lines
195 B
C
#include <syscalls/syscalls.h>
|
|
#include <interrupt/isr.h>
|
|
#include <memory/malloc.h>
|
|
|
|
int sys_free(intFrame_t* iframe) {
|
|
void* ptr = (void*)iframe->ebx;
|
|
mallocFree(ptr);
|
|
return 0;
|
|
}
|
|
|