851dc95566
Move cp_grant_id_t to a more central header file, and uses it more extensively. Fix casts that cast the grand id field of some messages to the wrong type.
Kees van Reeuwijk2010-03-04 16:15:26 +00:00
adf0b6fb26
No more E{SRC,DST}DIED errno's, replaced by EDEADSRCDST.
Ben Gras2010-03-03 15:47:16 +00:00
72fc754948
new feature for top - display chain of blocked processes for every blocked process.
Ben Gras2010-03-03 15:45:43 +00:00
e6cb76a2e2
no more kprintf - kernel uses libsys printf now, only kputc is special to the kernel.
Ben Gras2010-03-03 15:45:01 +00:00
18924ea563
New P_BLOCKEDON for kernel - a macro that encodes the "who is this process waiting for" logic, which is duplicated a few times in the kernel. (For a new feature for top.)
Ben Gras2010-03-03 15:32:26 +00:00
cbd276e4ce
Convert library asm files to GAS syntax
Arun Thomas2010-03-03 14:27:30 +00:00
bf7397b64e
More correctly use cp_grant_id_t. More correctly use vir_bytes. More correctly use endpoint_t.
Kees van Reeuwijk2010-03-02 23:12:13 +00:00
f3c98fdca2
Fixed a number of cases where a bits in an integer were tested incorrectly, resulting in real (and nasty) bugs.
Kees van Reeuwijk2010-03-02 12:55:39 +00:00
7c4cd0e6b0
- new pread(), fnmatch() calls - split sprintf() and snprintf() to solve a linking problem when compiling an application
Ben Gras2010-02-25 17:08:08 +00:00
5af2471a9a
Throw out obsolete Atari, Macintosh and Sun code to un-break packages; credits to Sernin van de Krol's zip-2.31 patch for showing this problem
Erik van der Kouwe2010-02-16 19:19:42 +00:00
b706112487
Incorporate bsdmake into buildsystem and reorganize libs
Arun Thomas2010-02-16 14:41:33 +00:00
6686e9ae9f
The function fabsf should return a float, not a double.
Kees van Reeuwijk2010-02-15 14:25:33 +00:00
f08f2bd88c
new free_contig() and changes to make drivers use it; so now we have malloc/free, alloc_contig/free_contig and mmap/munmap nicely paired up.
Ben Gras2010-02-10 13:56:26 +00:00
49284caf2a
Fixes broken orinoco compilation in r6119
Tomas Hruby2010-02-09 16:43:34 +00:00
d845891a50
And of course, as much as I've tried to be careful I forgot to add this file in r6116 :(
Tomas Hruby2010-02-09 15:36:29 +00:00
064cb7583a
Lots of small code cleanup: make symbols local, remove unused symbols, fixed a typo, removed a now unused header file. Use #include <..> for header files that represent libraries.
Kees van Reeuwijk2010-02-09 15:23:38 +00:00
391fd926ff
TASK_PRIVILEGE and level0() removed
Tomas Hruby2010-02-09 15:23:31 +00:00
8a03d497b8
System task initialization moved to main()
Tomas Hruby2010-02-09 15:12:20 +00:00
bdd4f5857f
Fixes for truncate system calls: - VFS: check for negative sizes in all truncate calls - VFS: update file size after truncating with fcntl(F_FREESP) - VFS: move pos/len checks for F_FREESP with l_len!=0 from FS to VFS - MFS: do not zero data block for small files when fully truncating - MFS: do not write out freed indirect blocks after freeing space - MFS: make truncate work correctly with differing zone/block sizes - tests: add new test50 for truncate call family
David van Moolenbroek2010-02-09 08:12:37 +00:00
c7f1b547cb
Statistical profiling fixes: - PM: get rid of umap warning - sprofalyze.pl: update with recently added servers and drivers - sprofalyze.pl: properly truncate process names for sample matching
David van Moolenbroek2010-02-03 12:27:52 +00:00
cca24d06d8
This patch removes the global variables who_p and who_e from the kernel (sys task). The main reason is that these would have to become cpu local variables on SMP. Once the system task is not a task but a genuine part of the kernel there is even less reason to have these extra variables as proc_ptr will already contain all neccessary information. In addition converting who_e to the process pointer and back again all the time will be avoided.
Tomas Hruby2010-02-03 09:04:48 +00:00
64ab79e5e5
make run-bench executable too.
Ben Gras2010-02-02 15:35:51 +00:00
2fe20e5aaf
Fix a complaint about a value return from a void function. Propagate error codes a bit more. Some code cleanup.
Kees van Reeuwijk2010-01-29 14:14:22 +00:00
660364e68d
include iperf, newer openssh
Ben Gras2010-01-28 14:14:23 +00:00
477b616fe8
Fixed a number of complaints about missing return statements. Some cases were fixed by declaring the function void, others were fixed by adding a return <value> statement, thereby avoiding potentially incorrect behavior (usually in error handling). Some enum correctness in boot.c.
Kees van Reeuwijk2010-01-28 13:17:07 +00:00