Commit Graph

2586 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen 011e6eca95 Added the string for the SIMD Floating-Point exception. 2011-10-26 02:25:27 +02:00
Jonas 'Sortie' Termansen a087f4b91c Added a sortedlist template class to libmaxsi/sortedlist.h. 2011-10-25 18:21:06 +02:00
Jonas 'Sortie' Termansen 4e8c2dfc33 Better mm comments. 2011-10-22 15:17:58 +02:00
Jonas 'Sortie' Termansen b0df5186e6 Fixed two very nasty bugs in the x86 memory management code.
1) The PML2 was not initialized to zeroes, thus leaving some bits behind that
caused the fork code to go crazy, forking the unforkable, and mapping addresses
that never, ever, should have been mapped, leaving behind a trail of page faults
and general protection faults on some computers, while other computers worked
because the uninitalized memory just wasn't uninitialized enough. Yep, this was
a schrödinbug!

2) Fixed a time bomb. The kernel heap was accidentally put such that whenever a
few megabytes were allocated, it would begin overwriting the physical page stack
causing unthinkable events to unfold and would probably be even more obscure to
debug than 1).

Oh, and some string errors fixed and removed RunApplication from kernel.cpp,
funny thing that even linked in the first place. Guess, the optimizer actually
did work for once. :)
2011-10-20 03:52:08 +02:00
Jonas 'Sortie' Termansen 52b8913bb6 The produced deb file now contains the proper installed-size field. 2011-10-16 17:58:19 +02:00
Jonas 'Sortie' Termansen daa6f09529 Don't add sysroot/ to the source tarball. 2011-10-13 19:27:05 +02:00
Jonas 'Sortie' Termansen 5082e6523c Updated git version to 0.5dev. 2011-10-10 20:14:37 +02:00
Jonas 'Sortie' Termansen 1b7dc2d817 Fixes to memory management that helps me sleep at night. 2011-10-10 17:22:03 +02:00
Jonas 'Sortie' Termansen c16bdd2604 Added a friendly warning that X64 cannot boot fully when booting X64. 2011-10-10 01:16:36 +02:00
Jonas 'Sortie' Termansen 4579384312 Ported the GDT and TSS to x64. 2011-10-10 01:16:36 +02:00
Jonas 'Sortie' Termansen a1cf7e9dbc Removed unneeded and unused old memory management assembly. 2011-10-10 01:14:14 +02:00
Jonas 'Sortie' Termansen 66192d1e86 Rewrote memory management again and added support for x64 and forking. 2011-10-10 01:02:57 +02:00
Jonas 'Sortie' Termansen 23c144fe3f Don't count files in sysroot/ when counting lines. 2011-10-06 10:17:36 +02:00
Jonas 'Sortie' Termansen ad17df4ff9 Fixed bug in mxmpp make target install. 2011-10-03 19:11:40 +02:00
Jonas 'Sortie' Termansen f1848b9932 Added comments to x64/boot.s. 2011-09-21 21:08:43 +02:00
Jonas 'Sortie' Termansen ab2b14fc16 Moved start.s into the subdirs for x86 and x64. 2011-09-15 22:39:19 +02:00
Jonas 'Sortie' Termansen 739b296a95 libmaxsi now has a function called upon process creation. 2011-09-14 18:11:52 +02:00
Jonas 'Sortie' Termansen d3a7b18f69 libc now has exit() and abort() functions. 2011-09-13 16:49:08 +02:00
Jonas 'Sortie' Termansen 4bc2841ef0 Restored the partial support for x64. 2011-09-08 21:09:14 +02:00
Jonas 'Sortie' Termansen 371dec71c9 Better error handling in /Makefile. 2011-09-08 21:05:43 +02:00
Jonas 'Sortie' Termansen cc61176e5b Restored support for JSSortix using very ugly hacks. :( 2011-09-08 11:10:41 +02:00
Jonas 'Sortie' Termansen 3859e1f566 Refactored interrupt system and got rid of old not-mine code. 2011-09-07 18:45:07 +02:00
Jonas 'Sortie' Termansen 4e05eb33d8 Ignore the ramdisk in sortix/. 2011-09-07 17:50:11 +02:00
Jonas 'Sortie' Termansen 1a2446fca6 Added a friendly message on panic, and SIGSEGV no longer panics. 2011-09-07 17:48:01 +02:00
Jonas 'Sortie' Termansen 8a085f6fa0 Added the game snake. 2011-09-07 12:20:28 +02:00
Jonas 'Sortie' Termansen 86351d9274 The initrd is now supported for local install and deb files. 2011-09-07 12:19:17 +02:00
Jonas 'Sortie' Termansen c157e65352 Removed lots of deprecated suff! 2011-09-06 19:51:47 +02:00
Jonas 'Sortie' Termansen ebedeeae89 Pong now shows the score on its UI. 2011-09-06 16:16:44 +02:00
Jonas 'Sortie' Termansen d494dc2d53 Made an integer-to-string API for user-space to use. 2011-09-06 16:16:25 +02:00
Jonas 'Sortie' Termansen 00f5c627b7 mxmpp somehow got the readme of mksound, an unrelated program. 2011-09-06 15:59:43 +02:00
Jonas 'Sortie' Termansen 7037b2f002 Userspace program's makefiles now properly delete from initrd/. 2011-09-06 15:55:56 +02:00
Jonas 'Sortie' Termansen 0b373050f2 Added conway's game of life. 2011-08-29 00:09:37 +02:00
Jonas 'Sortie' Termansen b39a5700cc Removed pong/ to games/ as it will soon store multiple games. 2011-08-29 00:09:10 +02:00
Jonas 'Sortie' Termansen 6ae297d088 Ugly hacks to restore support for Sortix on real hardware. 2011-08-28 16:59:07 +02:00
Jonas 'Sortie' Termansen f26e6e803a The Sortix programs are now compiled into initrd/. 2011-08-28 12:42:06 +02:00
Jonas 'Sortie' Termansen 2c18d43359 Added the programs ls and help. 2011-08-28 12:38:01 +02:00
Jonas 'Sortie' Termansen 34e9ca277d Added a shell, a few programs, and added support for SIGINT. 2011-08-28 12:38:01 +02:00
Jonas 'Sortie' Termansen 2f9d08a800 Added a process execute API. 2011-08-28 12:38:01 +02:00
Jonas 'Sortie' Termansen 011addf46c The initrd now uses the mkinitrd format and the kernel now loads it. 2011-08-28 12:38:01 +02:00
Jonas 'Sortie' Termansen d9c0c8d0cd Added a driver to parse the Sortix init ramdisk. 2011-08-27 20:08:33 +02:00
Jonas 'Sortie' Termansen fa7834b5d6 Added a mkinitrd program that creates initrds for Sortix. 2011-08-27 16:57:03 +02:00
Jonas 'Sortie' Termansen 5c86cb4abd Processes now remember the memory segments it has loaded. 2011-08-27 16:46:00 +02:00
Jonas 'Sortie' Termansen b9484c24f2 Added the GNU licenses used for Sortix. 2011-08-27 14:47:43 +02:00
Jonas 'Sortie' Termansen 04f5fd03f8 Added the new pong program for Sortix! 2011-08-23 21:02:15 +02:00
Jonas 'Sortie' Termansen 1fd4e6b63e Minor change in keyboard.cpp. 2011-08-23 21:02:15 +02:00
Jonas 'Sortie' Termansen 8d86dc6f6a Changing the sound frequency no longer prints to the terminal. 2011-08-23 21:02:15 +02:00
Jonas 'Sortie' Termansen cd78c42c78 VGA Cursor code is now in vga.cpp. 2011-08-23 21:02:15 +02:00
Jonas 'Sortie' Termansen 7510708ea1 Gave user-space access to VGA color constants. 2011-08-23 21:02:15 +02:00
Jonas 'Sortie' Termansen 013c5b5e71 Processes in the initrd are now made from ELF files. 2011-08-23 21:02:00 +02:00
Jonas 'Sortie' Termansen 4898343e2f The ELF loader now uses program headers and not section headers. 2011-08-23 18:16:44 +02:00