From 74ea640f40285220dfa93492a143a35426b867d1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 14 Feb 2015 17:36:03 +0100 Subject: Add binary tree implementation. NOT TESTED, FULL OF BUGS. --- src/lib/libkogata/debug.c | 2 ++ src/lib/libkogata/malloc.c | 1 + src/lib/libkogata/start.c | 1 + src/lib/libkogata/syscall.c | 2 ++ 4 files changed, 6 insertions(+) (limited to 'src/lib') diff --git a/src/lib/libkogata/debug.c b/src/lib/libkogata/debug.c index 27c9e28..9688877 100644 --- a/src/lib/libkogata/debug.c +++ b/src/lib/libkogata/debug.c @@ -11,3 +11,5 @@ void panic_assert(const char* assert, const char* file, int line) { // TODO while(true); } + +/* vim: set ts=4 sw=4 tw=0 noet :*/ diff --git a/src/lib/libkogata/malloc.c b/src/lib/libkogata/malloc.c index c776cdf..272dd7d 100644 --- a/src/lib/libkogata/malloc.c +++ b/src/lib/libkogata/malloc.c @@ -9,3 +9,4 @@ void free(void* ptr) { // TODO } +/* vim: set ts=4 sw=4 tw=0 noet :*/ diff --git a/src/lib/libkogata/start.c b/src/lib/libkogata/start.c index 9ba7edf..984a3cd 100644 --- a/src/lib/libkogata/start.c +++ b/src/lib/libkogata/start.c @@ -10,3 +10,4 @@ void __libkogata_start() { exit(ret); } +/* vim: set ts=4 sw=4 tw=0 noet :*/ diff --git a/src/lib/libkogata/syscall.c b/src/lib/libkogata/syscall.c index 342426b..b9cefa7 100644 --- a/src/lib/libkogata/syscall.c +++ b/src/lib/libkogata/syscall.c @@ -14,3 +14,5 @@ void yield() { void exit(int code) { asm volatile("int $0x40"::"a"(SC_EXIT),"b"(code)); } + +/* vim: set ts=4 sw=4 tw=0 noet :*/ -- cgit v1.2.3