Go to file
Tomas Hruby a774cc832f do_ipc() rearrangements
this patch does not add or change any functionality of do_ipc(), it
only makes things a little cleaner (hopefully).

Until now do_ipc() was responsible for handling all ipc calls. The
catch is that SENDA is fairly different which results in some ugly
code like this typecasting and variables naming which does not make
much sense for SENDA and makes the code hard to read.

result = mini_senda(caller_ptr, (asynmsg_t *)m_ptr, (size_t)src_dst_e);

As it is called directly from assembly, the new do_ipc() takes as
input values of 3 registers in reg_t variables (it used to be 4,
however, bit_map wasn't used so I removed it), does the checks common
to all ipc calls and call the appropriate handler either for
do_sync_ipc() (all except SENDA) or mini_senda() (for SENDA) while
typecasting the reg_t values correctly. As a result, handling SENDA
differences in do_sync_ipc() is no more needed. Also the code that
uses msg_size variable is improved a little bit.

arch_do_syscall() is simplified too.
2010-04-06 11:24:26 +00:00
benchmarks only check local benchmark dir if it exists 2010-02-04 18:15:10 +00:00
boot Fix printfs with too few or too many parms, remove unused vars, fix incorrect flag tests, other code cleanup. 2010-04-01 13:25:05 +00:00
commands Lots of const correctness. 2010-03-27 14:31:00 +00:00
docs Minor docs/UPDATING fix 2010-03-24 13:41:38 +00:00
drivers Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
etc Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
include Move kernel signal SIGKNDELAY to system signal SIGSNDELAY and fix broken ptrace. 2010-03-31 08:55:12 +00:00
kernel do_ipc() rearrangements 2010-04-06 11:24:26 +00:00
lib Fixed some incorrect uses of printf-like functions. 2010-04-01 14:30:36 +00:00
man New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
servers Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00
test New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
tools Prioritized NOTIFY messages for reliable asynchonrous delivery of system events. 2010-03-22 23:44:55 +00:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Convert kernel over to bsdmake 2010-04-01 22:22:33 +00:00