|
|
@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
|
|
|
@8d6c1f1
|
14 years |
jakub |
Merge USB support.
Changes from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45e0e07
|
14 years |
jano.vesely |
Remove debug output in irq handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97d42d5
|
14 years |
martin |
get rid of KLOG_LATENCY (thanks to the event notification unmask …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3375bd4
|
14 years |
vojtechhorky |
Merge mainline changes
Conflicts: …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0496c17
|
14 years |
jakub |
Allow events to define unmask callback. Make klog_update() the unmask …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9061b4
|
14 years |
martin |
add kernel event notification masking (currently used only for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@180255f
|
14 years |
jano.vesely |
Implement access to memory mapped register in irq pseudocode.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6bffee
|
14 years |
jakub |
Allow special flags that control processing of IPC_M_DATA_READ/WRITE …
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
|
|
|
@8add9ca5
|
14 years |
martin |
ABI change: syscalls for registering IRQ notifications are probably …
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
|
|
|
@124c061
|
14 years |
jakub |
ipc_connect_to_me() now takes one extra argument to store the client …
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
|
15 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
|
|
|
@9cdac5a
|
15 years |
martin |
add CMD_PIO_WRITE_A_x commands which store values from scratch space …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78ffb70
|
15 years |
jakub |
ipc_irq_register() and ipc_irq_unregister() should check for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@228e490
|
15 years |
martin |
initial modifications for supporting declarative IPC interfaces
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd8d5a7
|
15 years |
martin |
32/64 ABI split for SYS_TASK_GET_ID
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b10dab
|
15 years |
martin |
ABI split: pass 64-bit task ID as plain 64-bit argument to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
15 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
|
15 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
|
15 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c088975
|
15 years |
jakub |
Instead of locking TASK→lock, lock udebug.lock before calling …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa3b8e4
|
15 years |
martin |
LOG() adds newline already
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be06914
|
15 years |
martin |
nicer top printouts
fix typos (recieved → received)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4acaa7c0
|
15 years |
jiri |
Fix incorrect irq spinlock bracketing in kbox_proc_phone_hungup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d432f9
|
15 years |
jakub |
Reflect assumptions about lock and interrupt state in functions themselves.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da1bafb
|
15 years |
martin |
major code revision
- replace spinlocks taken with interrupts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f173404
|
15 years |
jiri |
Fix locking in ipc_kbox_cleanup(). This was a leftover from the time …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6f0e3a2
|
15 years |
jiri |
Fix lock ordering in kbox_proc_hone_hungup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@170332d
|
15 years |
Jakub Jermář |
Disable interrupts when taking TASK→lock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa028db
|
15 years |
jakub |
Fix ipc_wait_for_call() not to take the TASK spinlock while holding …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88dea9d
|
15 years |
martin |
merge from measuring branch
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95319bd
|
15 years |
stanislav.kozina |
Added dummy_load utility.
It just does some dummy load - either in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a307beb
|
15 years |
stanislav.kozina |
IPC statistics measured.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9fff17
|
15 years |
jiri |
Replace the still buggy GET_CHECK_PHONE() macro with a function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75ebb5b6
|
15 years |
jakub |
Make phoneid comparison always unsigned in GET_CHECK_PHONE().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34aac916
|
15 years |
jakub |
Fix off-by-one error in GET_CHECK_PHONE().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7e45c8
|
15 years |
jakub |
sys_ipc_hangup() should treat the phoneid as unative_t so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d99c1d2
|
15 years |
martin |
use [u]int{8|16|32|64}_t type definitions as detected by the autotool …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c713aa56
|
15 years |
jakub |
Do not deadlock when the task cleans up messages it sent itself.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e701eb1
|
16 years |
jakub |
Disassociate the phone with the answerbox in cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20c7c40
|
16 years |
martin |
avoid superfluous semicolon generated by the GET_CHECK_PHONE macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@439d036
|
16 years |
martin |
remove superfluous unreachable break (as trivially suggested by Stanse)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33adc6ce
|
16 years |
jakub |
Introduce the per-task list of active synchronous answerboxes and make …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c70ce74
|
16 years |
jakub |
Allocate the answerbox for synchronous calls dynamically.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ca28512
|
16 years |
jakub |
Remove ipc_call_static_init() and IPC_CALL_STATIC_ALLOC.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@35bb2e7
|
16 years |
jakub |
Allocate the call structure for synchronous calls dynamically.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14ecd6c
|
16 years |
jiri |
Fix bad test of kb.finished. (see ticket #137)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@057d21a
|
16 years |
jakub |
Add SYS_IPC_POKE syscall.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e49b57b2
|
16 years |
jakub |
Update comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e73815
|
16 years |
jakub |
Interrupts should be disabled when acquiring answerbox's irq_lock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@98000fb
|
16 years |
martin |
remove redundant index_t and count_t types (which were always quite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf1fb9f
|
16 years |
jakub |
Streamline locking of phones during cloning.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ef6645
|
16 years |
jakub |
Surprisingly easy support for homogenous mounts.
It works by simply …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d158097
|
16 years |
jakub |
Refuse to clone the phone which is itself used to make the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c0e5d2
|
16 years |
jakub |
Add IPC_M_CONNECTION_CLONE and IPC_M_CONNECT_ME.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@287e83f
|
16 years |
jakub |
Do not test the same condition twice.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae5aa90
|
16 years |
jirik.svoboda |
Clean up various log messages, mostly udebug.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b6e423a
|
16 years |
jakub |
Allow IPC_M_DATA_WRITE to transfer zero data.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c822026
|
16 years |
martin |
fix compilation in non-SMP configurations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2845930
|
16 years |
jakub |
Address issues with IRQ notifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13a638d
|
16 years |
martin |
move event notification to the ipc directory (where it probably belogs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37be841
|
16 years |
martin |
avoid deadlock during cleanup
(the compare function which is called …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05641a9e
|
16 years |
jakub |
Revive kernel notifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e06da7e
|
16 years |
jakub |
If the server cannot receive a call because it supplied a bad …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b11ee88
|
16 years |
martin |
add
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@691eb52
|
16 years |
martin |
switch between the preference of kernel/uspace IRQ hash table
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cecb0789
|
16 years |
jakub |
This is the evil commit. In particular, it does:
- introduces more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cb223f
|
16 years |
jakub |
Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee06f2a
|
16 years |
jakub |
Introduce a more platform-neutral name for programmed I/O.
The new …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f81ceb7
|
16 years |
martin |
remove platform dependent constructs from generic code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1902113
|
16 years |
martin |
add includes necessary for LOG macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd72312
|
16 years |
jirik.svoboda |
Bugfix: Check kbox, not regular box. In case where the debugger …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48daf64
|
16 years |
jakub |
Introduce a new syscall: SYS_IPC_FORWARD_SLOW.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@323a5aaf
|
17 years |
jakub.vana |
Legacy IRQ support, uspace NS16550 support, some minor changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31696b4f
|
17 years |
jirik.svoboda |
Move stuff related to kbox to a separate struct.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@741fd16
|
17 years |
jirik.svoboda |
Stoppability sections must be much smaller (design error). Also fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05e69c5
|
17 years |
jirik.svoboda |
Split and streamline kbox_thread_proc().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5045a68
|
17 years |
jirik.svoboda |
Synchronize properly when detaching kbox from within.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94f8e3c1
|
17 years |
jirik.svoboda |
Fix panic when debugged task quits. Also fix memory leak when debugger …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@119c335
|
17 years |
jakub |
Add comments documenting our treatment of the task's active call counter.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e5aa02
|
17 years |
jakub |
Fix task active call accounting for IPC_M_HUNGUP calls.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e028660
|
17 years |
jakub |
Rename ipc/ipc_kbox.c to ipc/kbox.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0108984a
|
17 years |
jirik.svoboda |
Use LOG() instead of printf() for debug messages.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a1b20c
|
17 years |
jirik.svoboda |
Merge syscall tracer (trace) and relevant part of udebug interface …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27526e87
|
17 years |
jakub |
Kernel's ipc_data_t and uspace's ipc_call_t must be in sync.
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e40e3007
|
17 years |
jakub |
cstyle for ipc.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79872cd
|
17 years |
jakub |
Synchronous IPC must be interruptible.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74965d2
|
17 years |
jakub |
Demasquerade the caller phone during ipc_answer_n() rather than in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@645d9ed2
|
17 years |
jakub |
Fix processing of answers to forwarded masqueraded calls.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e9f178
|
17 years |
jakub |
Fix types when processing IPC_M_DATA_WRITE arguments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@08a19ba
|
17 years |
jakub |
Support for active mutexes. Active mutexes implement busy waiting, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69eac4aa
|
17 years |
jakub |
Fix a scary two-year old bug: do not attempt to initialize a call …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32e092
|
17 years |
jirik.svoboda |
Declare arguments for memstr.h operations as pointers instead of uintptr_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78d0da8
|
17 years |
martin |
revert coding style change
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9fe962d6
|
17 years |
martin |
proper printf formatting
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff48a15
|
17 years |
jakub |
Turn phone→lock into mutex.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|