|
|
@174156fd
|
6 years |
jakub |
Disambiguate doxygroup generic*
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09ab0a9a
|
6 years |
jiri |
Fix vertical spacing with new Ccheck revision.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3306d04
|
6 years |
jiri.zarevucky |
Convert atomic_t to atomic_size_t (4): Use atomic_store instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@036e97c
|
6 years |
jiri.zarevucky |
Convert atomic_t to atomic_size_t (3): Use atomic_load instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acf6b55
|
6 years |
jiri.zarevucky |
Make it possible for uspace to determine why SYS_IPC_WAIT returned.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96c30c8
|
6 years |
jiri.zarevucky |
Turn ipc_poke() into a regular wakeup on the waitq.
With prior …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3fb9b
|
7 years |
jiri |
Fix block comment formatting (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11b285d
|
7 years |
jiri.zarevucky |
Use standard signature for malloc() in kernel.
The remaining …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eed4139
|
7 years |
jakub |
Fix some comments mentioning 'call IDs'
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eadaeae8
|
7 years |
jakub |
Make capability handles type-safe
Define distinct pointer types for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a36f442
|
7 years |
jakub |
Account the active call to callerbox if it exists
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fce9b19
|
7 years |
jakub |
Print number of answerbox' active calls
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f40237f
|
7 years |
jakub |
Fix diagnostic message
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34316d4
|
7 years |
jakub |
Hang up phones connected during ipc_cleanup()
If an answer to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b4196d
|
7 years |
jakub |
Allow only connecting phones to connect
If a phone is not in the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca61894
|
7 years |
jakub |
Streamline code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e618885
|
7 years |
jakub |
Remove dead code
The phone_cap_wait_cb was never called as all phone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@70327bb
|
7 years |
jakub |
Track number of answers expected by answerbox
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cdc4334
|
7 years |
jakub |
Rename ipc_phone_0 to ipc_box_0 for consistency
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@314f4b59
|
7 years |
jakub |
Remove dead code
Hungup phones with zero active calls are …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df1cbb3
|
7 years |
jakub |
Give reference to phone for each active call
This effectively removes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35b458
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b20da0
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, in certain file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7fd2a0
|
7 years |
zarevucky.jiri |
Use errno_t in all uspace and kernel code.
Change type of every …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cde999a
|
7 years |
zarevucky.jiri |
Fix comments to stop referring to error codes as negative.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@897fd8f1
|
7 years |
zarevucky.jiri |
Use <errno.h> instead of special ESYNCH_xx error codes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f11dc6
|
7 years |
zarevucky.jiri |
Numerous minor error code tweaks in kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7565a4b
|
7 years |
zarevucky.jiri |
Return error code from ipc_phone_hangup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82d515e9
|
7 years |
jakub |
Fix terminology
Objects of slab_cache_t type are caches, not slabs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96258fc
|
7 years |
jakub |
Free up all call capabilities when task exits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d51a0d6
|
7 years |
jakub |
Associate a kobject_t with a call_t
Let all the reference counting be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1f68b0
|
7 years |
jakub |
Use recursive mutex to protect task_t::cap_info
This makes it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cf8522
|
7 years |
jakub |
Unpublish and free phone and IRQ capabilities in ipc_cleanup()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d470ec8
|
7 years |
jakub |
Maintain phone kobject reference for call_t::caller_phone
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48bcf49
|
7 years |
jakub |
Introduce reference-counted kobjects
Capabilities are thus reduced to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6abfd250
|
7 years |
jakub |
Rename caps_apply_to_all to caps_apply_to_type
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e87562
|
7 years |
jakub |
Make all accesses to capabilites exclusive
This commit makes sure …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e5f5ce0
|
7 years |
jakub |
Create a slab cache for allocating phone_t structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63d8f43
|
7 years |
jakub |
Allocate the kobjects referenced by capabilities dynamically
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3422fb6
|
7 years |
jakub |
Do not register IRQs inside of answerboxes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9306cd7
|
7 years |
jakub |
Make IRQ subscribe/unsubscribe thread safe again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e68765e
|
7 years |
jakub |
Store capability's handle inside of it
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f74275
|
7 years |
jakub |
Fix terminology around capabilities, capability handles and kernel objects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e7ac23d0
|
7 years |
jakub |
Hide kobject implementation details
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9d15d9
|
7 years |
jakub |
Turn IRQ structures into kernel objects
ipc_irq_subscribe() now …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05ffb41
|
7 years |
jakub |
Turn IPC phones into kobjects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63e27ef
|
7 years |
jiri |
ASSERT → assert
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44a7ee5
|
8 years |
jiri |
memxxx functions should be provided in the kernel via the same header …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97b8ca9
|
8 years |
jakub |
Fix race between ipc_answerbox_slam_phones() and ipc_cleanup()
We …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b00599
|
8 years |
jakub |
Use correct answerbox to answer IPC_M_PHONE_HUNGUP in kbox thread
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43e2cbc
|
8 years |
jakub |
Implement interruptible wait for messages sent by the kernel
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc117a5
|
8 years |
jakub |
Partially revert jakub@…
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d351e6
|
8 years |
jakub |
Revert changeset jakub@…
We …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@feeac0d
|
11 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@466e95f7
|
12 years |
jakub |
Add SYSIPC_OP macro to avoid repeating the same boilerplate code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@716185d
|
12 years |
jakub |
Call request_process() callback for incoming calls during IPC cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@675fcbd
|
12 years |
jakub |
Call the answer_process() callback for answers picked up in IPC cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f9c8f6
|
12 years |
jakub |
Code deduplication.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9fe33b
|
12 years |
jakub |
Use the caller local variable instead of the full dereference.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@03a8a8e
|
12 years |
jakub |
Link each phone to its containing task.
This makes it possible to set …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c97b086
|
12 years |
jakub |
Mark the call active also in ipc_backsend_err().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@796692c
|
12 years |
jakub |
Set request method also for manually sent IPC_M_PHONE_HUNGUP messages.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1d5ef8
|
12 years |
jakub |
Document two issues in ipc_answerbox_slam_phones() when cleaning up a kbox.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd671c3
|
12 years |
jakub |
Reference count call_t structures.
Add ipc_call_hold() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c33f39f
|
12 years |
jakub |
Do not establish callback connections after the answerbox enters cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d3ed34
|
12 years |
jakub |
Make sure that both dispatched and non-dispatched calls are properly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9841e69
|
12 years |
jakub |
Call answer_preprocess() also when ipc_forward() returns error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cd7fd0
|
12 years |
jakub |
Remove accidentally committed debugging code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c9903a
|
12 years |
jakub |
Do not walk call→sender of a forgotten call in ipc_print_task().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a77550
|
12 years |
jakub |
Always remember the original caller phone in a call.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53af6e8c
|
12 years |
jakub |
No need to hold the sender task when the call is going to be answered. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20282ef3
|
12 years |
jakub |
When answer_preprocess() wins the race for a call, let it also dequeue …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1e6269
|
12 years |
jakub |
Add two new sysipc_ops_t members:
- request_forget()
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffc1b1d
|
12 years |
jakub |
Prevent likely double free of call→buffer.
The buffer is supposed to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d891cba
|
12 years |
jakub |
Phones in IPC cleanup need to be accessed under the protection of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9bd2e3
|
12 years |
jakub |
Handle phones that got slammed during IPC cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@525e91b
|
12 years |
jakub |
Make the assert condition shorter.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f6858d0
|
12 years |
jakub |
Forget any IPC_M_PHONE_HUNGUP messages sent from IPC cleanup so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7975433
|
12 years |
jakub |
Cleanup of forgotten calls on answer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2405bb5
|
12 years |
jakub |
Forget active calls when a task exits.
- Synchronization between …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cb75de
|
12 years |
jakub |
Remove an answered call from the task's active list when the call is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86939b1
|
12 years |
jakub |
Maintain task's active calls in the active call list.
- The call is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cfaa35a
|
12 years |
jakub |
Rename call_t's link to ab_link as this link is exclusively used for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd529c4
|
12 years |
jakub |
In the absence of synchronous IPC calls, call_t's callerbox is just …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c34f587
|
12 years |
jakub |
Remove synchronous IPC primitives.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f97f1e51
|
12 years |
martin |
unify slab cache naming scheme (according to the type name)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab34cc9
|
13 years |
jakub |
Make IPC_M_CONNECT_TO_ME more consistent with IPC_M_CONNECT_TO_ME.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2ab36f1
|
13 years |
jakub |
Track client data by client task ID instead of client task hash.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
13 years |
martin |
do not provide general access to kernel headers from uspace, only …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55b77d9
|
13 years |
jiri |
Separate list_t typedef from link_t (kernel part).
* list_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79ae36dd
|
14 years |
martin |
new async framework with integrated exchange tracking
* strict …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6aef742
|
14 years |
jakub |
Incoming vs. outgoing answers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5378f99
|
14 years |
martin |
improve 'ipc' command printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c9b742
|
14 years |
jakub |
Change the client task hash only when making the call or when …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdb9982c
|
14 years |
jakub |
Sign each outgoing call by the task hash.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e186eb5
|
14 years |
jakub |
For connected phones, print also the task ID of the target task.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@228e490
|
14 years |
martin |
initial modifications for supporting declarative IPC interfaces
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
14 years |
martin |
more unification of basic types
- use sysarg_t and native_t (unsigned …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97d17fe
|
14 years |
jakub |
Associate the limit of active calls with a phone rather than the task.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e752b2
|
14 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|