Rev |
Age |
Author |
Path |
Log message |
Diff |
3344 |
5838 d 6 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Change ipc_share_{in|out}_start() to use the async framework. |
|
3334 |
5842 d 10 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Let ipc_data_{read|write}_start() use the async framework. |
|
2820 |
5973 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
fix copy-paste typo |
|
2678 |
6071 d 8 h |
jermar |
/trunk/uspace/ |
The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies. |
|
2677 |
6071 d 8 h |
jermar |
/trunk/ |
Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename IPC_M_AS_AREA_RECV to
IPC_M_SHARE_IN. Provide user-friendly wrappers for these methods so that even
dummies can get it right. Some applications using simpler protocols still use
these methods directly. |
|
2676 |
6071 d 15 h |
jermar |
/trunk/ |
Simplify the IPC_M_DATA_WRITE protocol. Do not pass the source address space
virtual address to the recipient. This feature was not used anyway. Now
IPC_M_DATA_WRITE and IPC_M_DATA_READ are feature-aligned. |
|
2663 |
6079 d 3 h |
jermar |
/trunk/uspace/ |
Reimplement VFS_READ using IPC_M_DATA_READ. |
|
2662 |
6079 d 4 h |
jermar |
/trunk/ |
Add support for IPC_M_DATA_READ calls. |
|
2660 |
6079 d 5 h |
jermar |
/trunk/ |
Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver(). |
|
2637 |
6098 d 5 h |
cejka |
/trunk/ |
Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5. |
|
2636 |
6100 d 4 h |
jermar |
/trunk/ |
Update comments wrt the previous commit.
Minor formatting fixes. |
|
2635 |
6100 d 5 h |
cejka |
/trunk/ |
Function ipc_connect_me_to sends 3 user defined arguments now.
One argument added also to ipc_forward_fast.
Fixed devmap and improved its test. |
|
2622 |
6108 d 11 h |
jermar |
/trunk/ |
Add mode argument to IPC forward.
This argument can be used to modify the way forward behaves. |
|
2620 |
6110 d 16 h |
jermar |
/trunk/ |
Be more deterministic when a user accidently uses fast version of IPC
call/answer instead of the full one and passes fewer arguments than required by
the recipient of the call/response.
and the recipient interprets arguments that
were actually not passed by the sender. |
|
2619 |
6112 d 4 h |
jermar |
/trunk/ |
Modify ipc_answer_*() to make use of all six syscall arguments. The recommended
means of answering calls is via the ipc_answer_m() macros (where m denotes the
number of return arguments) that automatically decide between the fast register
version or the slow universal version of ipc_answer(). |
|
2618 |
6112 d 16 h |
jermar |
/trunk/ |
Modify asynchronous IPC to make use of all six syscall arguments. The preferred
means of asynchronous communication is now via the set of ipc_call_async_m()
macros, where m is the number of payload arguments passed to the kernel. These
macros will automatically decide between the fast and the universal slow version
of ipc_call_async. |
|
2615 |
6113 d 13 h |
jermar |
/trunk/ |
Modify synchronous IPC to make use of all six syscall arguments. The preferred
means of synchronous communication is now via the set of ipc_call_sync_m_n()
macros, where m is the number of payload arguments passed to the kernel and n is
the number of return values. These macros will automatically decide between the
fast and the universal slow version of ipc_call_sync. |
|
2568 |
6160 d 18 h |
jermar |
/trunk/uspace/ |
Rename fibril_schedule_next_adv() to fibril_switch(). Rename
fibril_schedule_next() to fibril_yield(). Some fibril structures could be
uninitialized, set them to zero in fibril_setup(). For some fibrils, the stack
member can be NULL (e.g. every thread's first/main fibril); don't do free on
these stacks when cleaning up after a dead fibril. |
|
2531 |
6175 d 5 h |
jermar |
/trunk/uspace/ |
VFS work.
Implement VFS_REGISTER part of the protocol in the FAT file system.
IPC work.
Rename ipc_data_send_accept() to ipc_data_receive() and ipc_data_send_answer()
to ipc_data_deliver(). Introduce ipc_data_send(). |
|
2530 |
6175 d 20 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Pseudo thread -> fibril change in several comments. |
|
2522 |
6178 d 18 h |
jermar |
/trunk/uspace/lib/libc/ |
Add wrappers facilitating easy use of IPC_M_DATA_SEND calls and answers. |
|
2490 |
6251 d 8 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Improve comments in async.c |
|
2482 |
6258 d 0 h |
jermar |
/trunk/ |
Goodbye pseudo threads, welcome fibrils.
The renaming might still be incomplete. |
|
2479 |
6262 d 12 h |
jermar |
/trunk/ |
New, better-structured, directory layout for uspace. |
|
2471 |
6268 d 6 h |
jermar |
/trunk/ |
Greatly improve comments in the IPC layer.
Now I think I finally start to understand our IPC internals :-) |
|
2359 |
6298 d 15 h |
jermar |
/trunk/ |
Improve comments for the IPC subsystem.
Fix formatting and indentation. |
|
2071 |
6419 d 5 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1923 |
6512 d 4 h |
jermar |
/trunk/ |
Replace the old IRQ dispatcher and IPC notifier with new implementation.
Note that all architectures except for sparc64 are now broken
and don't even compile. |
|
1866 |
6554 d 5 h |
jermar |
/trunk/uspace/ |
Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards. |
|
1787 |
6609 d 7 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1751 |
6631 d 15 h |
palkovsky |
/uspace/trunk/ |
Sligtly more efficient ipc. |
|
1709 |
6634 d 13 h |
jermar |
/uspace/trunk/ |
Fix some broken doxygen comments. |
|
1653 |
6643 d 6 h |
cejka |
/uspace/trunk/ |
Doxygen comments. |
|
1610 |
6644 d 10 h |
palkovsky |
/uspace/trunk/ |
Revised ipc. Now it is preferrable to use only functions from async.h, they
take care of correct buffering, waiting for answers etc. |
|
1518 |
6648 d 9 h |
palkovsky |
/uspace/trunk/ |
Changed recommended way of asynchronous communication. |
|
1503 |
6648 d 13 h |
jermar |
/uspace/trunk/libc/ |
Sync with last kernel commit (the ability to specify whether a sleep is interruptible or not). |
|
1489 |
6649 d 3 h |
palkovsky |
/uspace/trunk/ |
Added integration of console & fb.
Added ipc_call_async_3 call. |
|
1463 |
6650 d 10 h |
palkovsky |
/uspace/trunk/libc/ |
Added asynchronous waiting on ipc_async_send, when kernel limits
are reached. It works better in test_time. |
|
1443 |
6652 d 12 h |
palkovsky |
/uspace/trunk/libc/generic/ |
Allow NULL callback on async call. |
|
1392 |
6660 d 6 h |
palkovsky |
/uspace/trunk/ |
Merged libadt into libc.
Made lot of psthread and thread stuff thread-safe.
Added new driver framework for easy C connection programming.
Changed FB code to use new API. |
|