Commit graph

702 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
4d37197472 Sort objects in kernel makefile. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
f1bbbe5153 Add strsignal(3). 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
ffab25b0f4 Fix strerror redirecting to wrong function. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
e08c13b344 Add strxfrm(3). 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
0c54bcd6e9 Add memccpy(3). 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
e80f765fbf Add strndup(3). 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
fd088903dd Add stpncpy(3). 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
7e05129023 Seek to 0 before writing to /dev/vga. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
4f60d028ef Update coding style of ATA driver. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
c9b3002e43 Add openat(2).
This is a rather hacky implementation.
2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
32f87f461d Remember path when opening files. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
db57bb6336 Port remaining x86 nasm assembly to GNU as. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
2cb81aae33 Remove unused initrd directory. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
be4858f82c Rename libmaxsi to sortix libc. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
6b663d04d2 Fix libc copyright notices. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
24c89ec673 Use libgcc. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
83ecf895d7 Reformat libmaxsi init.cpp. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
6f08593801 Reformat libmaxsi format.cpp. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
63b1c50cd2 Split libmaxsi integer.cpp into multiple files. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
9306c8f645 Split libmaxsi signal.cpp into multiple files. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
8290f8979c Split libmaxsi time.cpp into multiple files. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
0e7518915e Split libmaxsi random.o into multiple files. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
4556036e08 Split libmaxsi memory.cpp into multiple files. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
297b7259af Move calloc(3) to its own file. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
31df7c0c93 Fix formatting and remove namespaces in libmaxsi heap.cpp.
What a mess.
2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
d81cdc09e9 Move operator new to its own file. 2012-12-14 14:13:36 +01:00
Jonas 'Sortie' Termansen
60214a9dfb Put getdelim(3) and getline(3) in their own files. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
97deb8bb8a Split libmaxsi error.o. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
fb91fbbc5c Split libmaxsi process.o into multiple files. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
838992c3d8 Don't build libmaxsi.a.
This should just about remove most of the old and deprecated (and now
obsolete) Maxsi:: API. Of course, large parts of libc still suffer from
its poor design, but I'll get around to fix that eventually.
2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
bd8967069e Replace libmaxsi headers with libc headers. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
c0fabc2e8d Move remainder of Maxsi::String into kernel tree. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
f3988b92f3 Made ReadParamString not depend on Maxsi::String::Substring. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
b732c46bf5 Remove unused declarations from <libmaxsi/string.h>. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
1b26d1bacf Make sprintf family freestanding.
And use them in the kernel.
2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
fd256bbb51 Remove ReadParamString implementation from asteroids. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
c55a2882dc Replace Maxsi::String::ToInt with atoi. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
6ce762aac4 Replace Maxsi::String::Seek with strchr. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
2206412e14 Replace Maxsi::String::Reject with strcspn. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
02a711befb Replace Maxsi::String::Accept with strspn. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
e5cf6c18f7 Replace Maxsi::String::Compare with strcmp. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
70da61f5d1 Replace Maxsi::String::Copy with strcpy. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
5e4dadbba0 Replace Maxsi::String::Length with strlen. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
5e7bf8527c Move <libmaxsi/sortedlist.h> into kernel tree. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
df7d8ca335 Move crc32 checksum code into kernel. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
fd03635d4f Remove <libmaxsi/integer.h>. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
1435937dd4 Remove <libmaxsi/sortix-sound.h>. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
6529af1f57 Remove <libmaxsi/sortix-vga.h>. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
2c286d6830 Replace <libmaxsi/format.h> with <stdio.h>. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
e9c8b0b669 Replace <libmaxsi/process.h> with <unistd.h>. 2012-12-14 14:13:34 +01:00