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
Jonas 'Sortie' Termansen
b4374f66b7
Replace <libmaxsi/memory.h> with <string.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
5d082b3bbb
Replace Maxsi::Error:: with <errno.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
42754f1728
Replace ASSERT with assert of <assert.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
b685b7a9eb
Don't include Maxsi:: API in kernel.cpp.
...
Since kernel.cpp is intended to be an example of the current best coding
practices within the Sortix kernel, and the Maxsi:: API is deprecated and
is being removed, it should rather use the nice C standard library.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
0437d75147
Remove libmaxsi stddef.h and stdarg.h.
...
These are provided by the cross compiler.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
8b7eef9fe4
Removed <libmaxsi/thread.h> header.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
1f1bdc8c22
Remove unused <libmaxsi/io.h> header.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
86107a467c
Use <sys/syscall.h> instead of <libmaxsi/syscall.h>.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
a1ed9144bc
Sort libmaxsi objects into freestanding and hosted.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
afafea577a
Remove conditional libc macros in libmaxsi.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
b293fb3171
Remove kernel platform.h dependency on libmaxsi platform.h.
...
This reduces the dependence on libmaxsi with the aim that the Maxsi:: api
can be removed and replaced with the standard C library.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
3095503b9b
Correct usage of deprecated nat and byte data types.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
9cf092d32e
Use cross compiler in build system.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
81530bc58c
Really fix size_t declarations by asking compiler.
2012-09-12 12:39:30 +02:00
Jonas 'Sortie' Termansen
27b865e6c2
Remove pong dependencies on libmaxsi.
2012-09-12 12:20:21 +02:00
Jonas 'Sortie' Termansen
cceaaf0089
Fix declaration of size_t on x86.
2012-09-12 12:19:57 +02:00
Jonas 'Sortie' Termansen
53e945aa4f
Fix including private signal.h in kthread.h.
2012-09-12 12:18:51 +02:00
Jonas 'Sortie' Termansen
82035e87da
Add makefile targets for installing sysroot base headers.
2012-09-10 21:45:38 +02:00
Jonas 'Sortie' Termansen
9d5c3f1882
Begun development of Sortix 0.8.
2012-09-10 14:54:37 +02:00
Jonas 'Sortie' Termansen
a6ea4e8cab
Update version number to 0.7.
2012-09-10 14:32:33 +02:00
Jonas 'Sortie' Termansen
068e855d15
Fix trailing whitespace in asteroids.
...
Required by release procedure.
2012-09-10 12:29:30 +02:00
Jonas 'Sortie' Termansen
50a2342a37
Update README.
2012-09-10 12:28:29 +02:00
Jonas 'Sortie' Termansen
0b94239912
Fix missing WEXITSTATUS in init and kernel.
2012-09-09 23:08:03 +02:00
Jonas 'Sortie' Termansen
66487f2895
Make waitpid(2) fail on signal arrival.
2012-09-09 22:58:18 +02:00