Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
vor 14 Jahren
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
vor 15 Jahren
Sam Hocevar
561a13ee5e
Move some configuration stuff from build-kernel into configure.ac.
vor 15 Jahren
Sam Hocevar
3584efdf4b
Fix the source code to reduce testsuite errors.
vor 15 Jahren
Pascal Terjan
b897d28979
* Unbreak make dist (multiboot.S is dead), but many files in kernel/ are missing there
vor 15 Jahren
Sam Hocevar
f5ba6b4a04
Clean up files generated by build-kernel in make clean.
vor 15 Jahren
Jean-Yves Lamoureux
7c311ae374
* Fix libcaca.a linkage (was off by one argument), fill memory with 0xCACA, because caca is so delicious.
vor 15 Jahren
Jean-Yves Lamoureux
2112ef360a
* Added 64bits RDTSC support, as well as CPU frequency guess (more like a 8254a test, actually)
vor 15 Jahren
Jean-Yves Lamoureux
b814e2fcaf
* Fix indentation and add licensing and copyright headers to kernel
vor 15 Jahren
Jean-Yves Lamoureux
53e27633b9
* Fill CPU id correctly, you dumb fuck.
vor 15 Jahren
Jean-Yves Lamoureux
5a9b7d78ee
* Total kernel rewrite
vor 15 Jahren
Sam Hocevar
1362d8e24f
Update my e-mail address everywhere.
vor 15 Jahren
Sam Hocevar
064ef8e801
Implement memmove() in the kernel.
vor 15 Jahren
Sam Hocevar
d33ee5fc5b
Add atexit() and EOF to the kernel.
vor 15 Jahren
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
vor 16 Jahren
Sam Hocevar
99d7e53aee
* Remove htons() and htonl() from kernel mode: we use our custom hton16()
and hton32() implementations everywhere instead, except in cacaserver
which requires <arpa/inet.h> stuff anyway.
vor 16 Jahren
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
vor 16 Jahren
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
vor 16 Jahren
Sam Hocevar
e895e01ee6
* Disable file operations in kernel mode.
* Implement strchr() in kernel.c.
* Check for snprintf() at configure time.
vor 17 Jahren
Sam Hocevar
f0290052fd
* Add Linux 2.6's bootsect.S to fix the sample kernel build.
vor 17 Jahren
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
vor 18 Jahren
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
vor 18 Jahren
Sam Hocevar
bc11640fdf
* Implemented strcmp() and strdup() and added an fflush() stub to the
kernel code.
vor 18 Jahren
Sam Hocevar
368eaeb708
* Added an fprintf stub to the kernel.
vor 18 Jahren
Sam Hocevar
fa2ca5f46e
* Fixed memcmp() prototype and implementation.
vor 18 Jahren
Sam Hocevar
9fca19ecc3
* Added errno support to the kernel.
vor 18 Jahren
Sam Hocevar
c58db87df1
* A few coding style fixes.
vor 18 Jahren
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
vor 18 Jahren
Sam Hocevar
aca46d3f39
* Added -I${top_srcdir} to the compilation flags to fix builds configured
from an alternate directory (they failed to find common.h).
vor 18 Jahren
Sam Hocevar
4e55d282d2
* Removed a useless cast in the kernel code.
vor 18 Jahren
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
vor 18 Jahren
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
vor 18 Jahren
Sam Hocevar
77f995023d
* Slightly changed header comments.
vor 18 Jahren
Sam Hocevar
9b548949f6
* Handle malloc(0), realloc(NULL,...) and realloc(...,0) in kernel mode.
vor 18 Jahren
Sam Hocevar
bc3e0f7fe6
* Use the asm versions of sin and cos when available.
vor 18 Jahren
Jean-Yves Lamoureux
d056504184
* Removed false comment
vor 18 Jahren
Jean-Yves Lamoureux
a963825cdb
* Fixed UPPER() for strcasecmp
vor 18 Jahren
Sam Hocevar
37278e2682
* Rewrote strncasecmp. Totally untested, of course.
vor 18 Jahren
Jean-Yves Lamoureux
d62b86bbae
* wrote strcasecmp for fun
vor 18 Jahren
Sam Hocevar
d73e4337bf
* Implemented a few math functions in our kernel: cos(), sin(), sqrt().
vor 18 Jahren
Sam Hocevar
c063b0a54d
* Added assembly code for inb() and outb().
* Print a small message at kernel boot time just to check that the kernel
was properly loaded.
vor 18 Jahren
Sam Hocevar
246c3beff3
* Added a conditional to only build the kernel if --enable-vga was set.
vor 18 Jahren
Sam Hocevar
15ac34a918
* Added glue code to compile libcaca without a libc and build applications
as multiboot kernels.
vor 18 Jahren