|
|
@f5837524
|
7 years |
jakub |
Use user-defined labels instead of phone hashes
This commit changes …
|
|
|
@174156fd
|
7 years |
jakub |
Disambiguate doxygroup generic*
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09ab0a9a
|
7 years |
jiri |
Fix vertical spacing with new Ccheck revision.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3306d04
|
7 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
|
7 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
|
|
|
@a1b9f63
|
7 years |
jakub |
Add alignment argument to km_map()
km_map() currently always applies …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2c8f55
|
7 years |
martin |
IPC_M_SHARE_IN: source has no business deciding destination address
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acf6b55
|
7 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
|
7 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
|
|
|
@931afbc
|
7 years |
jakub |
Don't republish call capability on forward failure
When forwarding of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ff23ff
|
7 years |
jiri |
More comment fixing (ccheck).
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
|
|
|
@7473807
|
7 years |
jakub |
Use atomic malloc allocations
We can safely use atomic allocations in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18b6a88
|
7 years |
jiri |
More ccheck fixes, sometimes with manual intervention.
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
|
|
|
@aadde10
|
7 years |
jakub |
Update comment on IPC resource management
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
|
|
|
@8e3153b
|
7 years |
jakub |
Fix cstyle
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
|
|
|
@87e7a18
|
7 years |
jakub |
Publish capability only after phone connects
In IPC_M_CONNECT_TO_ME …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@334c103
|
7 years |
jakub |
Allow phone_alloc to not publish the capability
This makes it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50dd854
|
7 years |
jakub |
Publish capability only after phone connects
In IPC_M_CONNECT_ME_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
|
|
|
@0c509d0
|
7 years |
jakub |
Remove dangerous assert
The task can manage to hangup the expected …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c87f3a
|
7 years |
jakub |
Remove superfluous assert
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@de1074b
|
7 years |
jakub |
Handle race condition in phone_connect
Do not panic if the phone is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bde48fa
|
7 years |
jakub |
Fix race condition
The capability created by phone_alloc() may get …
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
|
|
|
@c25a39e
|
7 years |
jakub |
Destroy the phone capability on hangup
The capability must be …
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
|
|
|
@9fc776c7
|
7 years |
jakub |
Remove support for capability reclaiming
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
|
|
|
@a53ed3a
|
8 years |
zarevucky.jiri |
Change (rc != 0) to (rc != EOK), where appropriate.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7fd2a0
|
8 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
|
8 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
|
|
|
@a1026da
|
8 years |
jakub |
Introduce IPC_CALL_AUTO_REPLY call flag
Calls that never make it to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@897fd8f1
|
8 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
|
8 years |
zarevucky.jiri |
Numerous minor error code tweaks in kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7565a4b
|
8 years |
zarevucky.jiri |
Return error code from ipc_phone_hangup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09d01f2
|
8 years |
zarevucky.jiri |
Return phones/capabilities separately from error codes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90f20cf
|
8 years |
zarevucky.jiri |
Fix pagein. Oops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6abda242
|
8 years |
zarevucky.jiri |
pagein_request_process() should be pagein_request_preprocess().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0016674
|
8 years |
zarevucky.jiri |
Properly handle errors in SYS_IPC_KBOX.
Also, merge the separate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@569a51a
|
8 years |
zarevucky.jiri |
Return phone handle in SYS_IPC_CONNECT_KBOX separately from error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9233e9d
|
8 years |
zarevucky.jiri |
Return capability handle in SYS_IPC_IRQ_SUBSCRIBE separately from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6deb2cd
|
8 years |
zarevucky.jiri |
Return capability handle in SYS_IPC_WAIT via call data structure, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@addbce4
|
8 years |
jakub |
Remove IPC_CALLID_* macros
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82d515e9
|
8 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
|
|
|
@d7e245a
|
8 years |
jakub |
Use ordinary errors instead of IPC_CALLRET_FATAL
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@474c68b
|
8 years |
jakub |
Do not leak call address in sys_ipc_call_async_*()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96258fc
|
8 years |
jakub |
Free up all call capabilities when task exits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01c3bb4
|
8 years |
jakub |
Convert call-handling syscalls to capabilities
This commit modifies …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@503ffce
|
8 years |
jakub |
Return IPC_CALLID_* in call data instead of callid
Callid will be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c0e1f5
|
8 years |
jakub |
Rework userspace call tracking
Setting the address of the userspace …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d51a0d6
|
8 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
|
|
|
@706b4de
|
8 years |
jakub |
Remove support for IPC_CALLRET_TEMPORARY
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d432c02
|
8 years |
jakub |
Make kernel IPC fail hard if maximum number of calls reached
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1f68b0
|
8 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
|
8 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
|
|
|
@3dab10ae
|
8 years |
jakub |
Drop phone kobject reference when slamming the phone in answer_preprocess
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d470ec8
|
8 years |
jakub |
Maintain phone kobject reference for call_t::caller_phone
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37e8c4a
|
8 years |
zarevucky.jiri |
Disallow common symbols. They are never needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82cbf8c6
|
8 years |
jakub |
Replace the old hash table implementation in the kernel with the newer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91b60499
|
8 years |
jakub |
Merge support for capabilities from lp:~jakub/helenos/caps
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48bcf49
|
8 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
|
8 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
|
8 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
|
8 years |
jakub |
Create a slab cache for allocating phone_t structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@431c402
|
8 years |
jakub |
Create a slab cache for allocating irq_t structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63d8f43
|
8 years |
jakub |
Allocate the kobjects referenced by capabilities dynamically
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30c27e9
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5d0143
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3422fb6
|
8 years |
jakub |
Do not register IRQs inside of answerboxes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9306cd7
|
8 years |
jakub |
Make IRQ subscribe/unsubscribe thread safe again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d6629f
|
8 years |
jakub |
Remove unused connection cloning
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a45bf09
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d81eb6
|
8 years |
jakub |
Copy entire ipc_data_t to uspace on answer
This is necessary so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88db88d
|
8 years |
jakub |
Do not access the capability table directly in phone_alloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e68765e
|
8 years |
jakub |
Store capability's handle inside of it
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f74275
|
8 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
|
8 years |
jakub |
Hide kobject implementation details
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24abb85d
|
8 years |
jakub |
Remove SYS_DEVICE_ASSIGN_DEVNO
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9d15d9
|
8 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
|
8 years |
jakub |
Turn IPC phones into kobjects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63e27ef
|
8 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
|
|
|
@719a208
|
8 years |
jakub |
Rename SYS_CAP_GRANT/REVOKE to SYS_PERM_GRANT/REVOKE
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b30846e
|
9 years |
jakub |
Do not allow circular paging dependencies of two or more tasks
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a97302
|
9 years |
jakub |
Use a more descriptive name for static function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae66564
|
9 years |
jakub |
Add reference to frame only if the action was initiated by the kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@560b81c
|
9 years |
jakub |
Make sure to test the present bit of the found PTE
By design, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|