Commit graph

2609 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
2bfaa81f76 Use same inode for hardlinks in mkinitrd.
This saves memory as the contents of the inode doesn't need to be duplicated
needlessly in the final image.
2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
3c821cb4a1 Make sys_memstat arguments optional. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
f8793bc53e Port chvideomode to <sys/display.h> interface. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
6daa7ee8fe Port conway to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
872954b364 Port snake to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
b99fd83d9a Port pong to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
53a254384e Port asteroids to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
d00bc41c74 Add dispd client library and server stub. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
0095983c80 Add dispmsg_issue(2). 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
b380dd49c1 Add useful functions to <sortix/kernel/video.h> API. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
9a608e5bb2 Fix exit code in chvideomode. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
b0c01f2c6a Make Memory::Lookup return false on unmapped pages. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
a685a9d68f Fix kernel thread frame pointer base case. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
5ad26d68a3 Add OFF_MIN and OFF_MAX. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
5ebf7a3c88 Set O_CLOEXEC in opendir(3). 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
2c2fd29585 Make "C" the default locale. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
53005fc01f Fix shell buffer overflow on long argument lists. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
c8b795aab3 Correctly request SIZE_MAX in chvideomode. 2013-09-24 17:09:47 +02:00
Juhani Haverinen
7c85b4a057 Add support for right shift in US keyboard layout 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
dc4ef04e7c Add assembly file symbol sizes. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
9224f8f43d Fix wrong malloc include guard. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
3abad890ec Fix non-standard struct flock declaration. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen
8d2c585479 Fix getdelim and getline having the wrong external linkage. 2013-09-24 17:09:35 +02:00
Jonas 'Sortie' Termansen
8a7a0db8c7 Add missing rdx register to x86_64 register dump function. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen
89118947ed Fix Sortix::Scheduler::ExitThread not being noreturn. 2013-09-24 16:52:29 +02:00
Steve Dougherty
af2d8cb9de Fix typo in syscall registration sanity test. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen
1ca946af2f Fix ls exit code. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen
d12c420ca1 Add W* wait constants to stdlib.h. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen
cd1df6d088 Correct error detection in echo(1). 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen
efe70b3b3e Avoid physical frame stack overflow. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen
54e68a0c51 Fix '\0' support in strchr(3) and strchrnul(3). 2013-09-24 16:52:10 +02:00
Jonas 'Sortie' Termansen
3a35139e6c Fix fopen(filename, "w") not creating files. 2013-07-11 18:07:03 +02:00
Jonas 'Sortie' Termansen
df67725221 Fix fgets(3) handling EOF incorrectly. 2013-07-11 18:07:03 +02:00
Jonas 'Sortie' Termansen
6aa4eb3405 Refactor fwrite(3) to remove buffer overflow bug. 2013-07-11 18:07:03 +02:00
Jonas 'Sortie' Termansen
d950421358 Implement pread(2) and pwrite(2). 2013-07-11 18:07:03 +02:00
Jonas 'Sortie' Termansen
2231e129b0 Fix deadlock in kthread_cond_wait. 2013-07-11 18:07:03 +02:00
Jonas 'Sortie' Termansen
dd0379c608 Fix calltrace implementation on x86 and x86-64. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen
aea6aefea9 Fix interlock implementation on x86_64 and x86. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen
986d331d39 Fix x86_64 declaration of uint64_t. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen
49a66893b2 Fix kernel compile warnings. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen
ed6d4f82bb Fix games compile warnings. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen
7fc1f0011a Fix libc compile warnings. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen
4cb4478529 Fix mxmpp warnings. 2013-07-08 15:47:27 +02:00
Jonas 'Sortie' Termansen
39a8433b23 Fix mkinitrd compile warnings. 2013-07-08 15:47:27 +02:00
Jonas 'Sortie' Termansen
8318c51819 Allow syscall parameters and return values larger than native words.
Note: This is an incompatible ABI change.
2013-07-08 15:47:27 +02:00
Jonas 'Sortie' Termansen
d890488304 Void system calls must now have a return value. 2013-07-07 17:03:01 +02:00
Jonas 'Sortie' Termansen
96e4c00c5f Detect and panic when running buggy qemu releases. 2013-06-21 23:20:14 +02:00
Jonas 'Sortie' Termansen
308b3169ca Fix missing single quote character (') in US keyboard layout. 2013-02-27 12:34:45 +01:00
Jonas 'Sortie' Termansen
607128334f Fix floating point corruption on thread exit. 2013-01-27 14:45:25 +01:00
Jonas 'Sortie' Termansen
6a44dcae04 Don't use movs in memcpy as it causes performance loss. 2012-12-15 22:40:56 +01:00