diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-03-02 18:16:15 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-03-02 18:16:15 +0100 |
commit | ceb687b02964197133fd2236cdbc74bf3948d034 (patch) | |
tree | b34b7aeec70990978c2562aa2d7b00202a223926 /src/kernel/core/freemem.c | |
parent | b68881abc4c50bbc8ee9e81b4e18b0ea011b83b7 (diff) | |
download | kogata-ceb687b02964197133fd2236cdbc74bf3948d034.tar.gz kogata-ceb687b02964197133fd2236cdbc74bf3948d034.zip |
No lazy allocation of kernel memory. Placeholder for pmem freeing routine.
Diffstat (limited to 'src/kernel/core/freemem.c')
-rw-r--r-- | src/kernel/core/freemem.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel/core/freemem.c b/src/kernel/core/freemem.c new file mode 100644 index 0000000..153ec7a --- /dev/null +++ b/src/kernel/core/freemem.c @@ -0,0 +1,10 @@ +#include <freemem.h> +#include <thread.h> +#include <debug.h> + +void free_some_memory() { + dbg_printf("Currently out of memory ; free_some_memory not implemented. Waiting.\n"); + usleep(1000000); // Hope someone will do something... +} + +/* vim: set ts=4 sw=4 tw=0 noet :*/ |