|
|
@a1ecb88
|
12 years |
martin |
remove duplicate include
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7de18418
|
12 years |
martin |
partial implementation of a two-level bitmap data structure
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@03c971f
|
12 years |
jano.vesely |
Mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e40355e
|
12 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c0b348
|
12 years |
jano.vesely |
kernel: free memory in dmamem_unmap
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6a7b3a
|
12 years |
jano.vesely |
mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b2fa2d86
|
12 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a08005
|
12 years |
martin |
fix compiler warnings (possible uninitialized value)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59fb782
|
12 years |
jakub |
Unify the use of virtual addresses and virtual page addresses in mm …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c1b3cd
|
12 years |
jano.vesely |
Mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aaceebc4
|
12 years |
jano.vesely |
Create DMA zone.
use dma zone for dma_map_anonymous calls.
create …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@878e181
|
12 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@328cc31
|
12 years |
vojtechhorky |
Check uint*_t sizes at compile time
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4d96e9
|
12 years |
jakub |
Improvements of stack and istate_get() definitions.
- Make sure each …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f2beb4
|
12 years |
jakub |
Release the first task in task_done() so that the machine can be rebooted.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4e23f8c
|
12 years |
jakub |
Hold the first task forever so that ipc_phone_0 is always valid.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1326cf
|
13 years |
jano.vesely |
scheduler: Check CONFIG_FPU before calling fpu routines
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11527051
|
13 years |
jakub |
Do nothing on KLOG_COMMAND if stdin is not defined.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@297cb73
|
13 years |
jakub |
Rudimentary support for passing commands to kconsole from klog.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a801688b
|
13 years |
jakub |
Make the SYS_KLOG interface more generic.
- Define klog methods …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f33fbc
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f6c16fe
|
13 years |
jakub |
Fix integer vs. pointer comparisons and assignments, printf() formatters.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32720ff
|
13 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@908bb96
|
13 years |
jakub |
Postpone printing the message about killing a task due to a failed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1dbc43f
|
13 years |
jakub |
Unify user page fault handling in as_page_fault().
- Remove lots of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c739102
|
13 years |
jano.vesely |
Mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ad17de
|
13 years |
jakub |
Instead of printing the standard kill message, only inform the user …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b11a971
|
13 years |
jano.vesely |
kconsole: Don't use strict mode when parsing ints, check pointer manually
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a7d8739
|
13 years |
jano.vesely |
kconsole: Be more verbose in reporting integer parsing errors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1e8440
|
13 years |
jakub |
Get rid of USTACK_ADDRESS.
- Let the kernel find a suitable address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57355a40
|
13 years |
jakub |
Rather than testing for address overlap with kernel address space, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e8a1530
|
13 years |
jano.vesely |
kernel console: Impelment pio_read/write functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67b152e
|
13 years |
jakub |
Define default size for userspace stacks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0aae87a6
|
13 years |
jakub |
Unify the default stack size used by userspace threads and fibrils.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b8a990
|
13 years |
jakub |
Create also the uspace thread stacks with guard pages and late …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01029fc
|
13 years |
jakub |
Define two new as area backend callbacks.
- Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c387838
|
13 years |
jakub |
Test for frame allocation failure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5892ec1
|
13 years |
jakub |
Rename AS_AREA_NORESERVE to AS_AREA_LATE_RESERVE.
This reflects the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a9c805
|
13 years |
jakub |
Reserve memory for NORESERVE areas pagefaults when the page fault …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@692bd3f2
|
13 years |
jakub |
Define AS_AREA_NORESERVE and allow its use in the anonymous backend.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@338810f
|
13 years |
jakub |
Make km_temporary_page_get() more flexible by accepting more flags.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94795812
|
13 years |
jakub |
Check for dangerous unsigned integer overflows in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0941e9ae
|
13 years |
jakub |
Test for addition overflow of area's base and size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@35a3d950
|
13 years |
m.lombardi85 |
mm: implement support to guarded address space areas
Guarded address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4c2406
|
13 years |
jano.vesely |
Stop automatic addition of CACHEABLE flag for anonymous areas.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@466e95f7
|
13 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
|
13 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
|
13 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
|
13 years |
jakub |
Code deduplication.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00b4a68
|
13 years |
jakub |
Merge from lp:~jakub/helenos/camp2012.
Kernel IPC subsystem …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9fe33b
|
13 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
|
13 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
|
13 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
|
13 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
|
13 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
|
13 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
|
|
|
@239acce
|
13 years |
jakub |
Make the phone_alloc() code shorter.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c33f39f
|
13 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
|
|
|
@2541646
|
13 years |
jakub |
Do not slam phones of potentially long gone forwarder tasks.
Instead, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d3ed34
|
13 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
|
|
|
@9ef1b79b
|
13 years |
jakub |
Make it explicit that we are not interested in the return value.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9841e69
|
13 years |
jakub |
Call answer_preprocess() also when ipc_forward() returns error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fcfa926b
|
13 years |
jakub |
Factor out common statements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95a3082
|
13 years |
jakub |
Call answer_preprocess() in call forwarding error paths.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cd7fd0
|
13 years |
jakub |
Remove accidentally committed debugging code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c9903a
|
13 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
|
13 years |
jakub |
Always remember the original caller phone in a call.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f39d5c2
|
13 years |
jakub |
Add comment about taking shortcut in IPC_M_CONNECT_TO_ME's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e5a4250
|
13 years |
jakub |
Leave cleaning of call→buffer to ipc_call_free() for now.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53af6e8c
|
13 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
|
13 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
|
13 years |
jakub |
Add two new sysipc_ops_t members:
- request_forget()
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13dbaa8c
|
13 years |
jakub |
Factor out dealing with call→buffer from process_answer() to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b186ed
|
13 years |
jakub |
Move handling of IPC_M_CONNECT_ME_TO in process_answer() to its …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32e4643
|
13 years |
jakub |
Always remember the original request method so that it is actually …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e8039a86
|
13 years |
jakub |
Separate system IPC logic into dedicated ops structure hooks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@642dc72
|
13 years |
jakub |
Return null_ops if sysipc_ops is not defined for a given method.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f0defd2
|
13 years |
jakub |
Basic infrastructure for system IPC ops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa6f2357
|
13 years |
jakub |
Sender phone cannot be deallocated in the recipient context.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffc1b1d
|
13 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
|
13 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
|
13 years |
jakub |
Handle phones that got slammed during IPC cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@525e91b
|
13 years |
jakub |
Make the assert condition shorter.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f6858d0
|
13 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
|
13 years |
jakub |
Cleanup of forgotten calls on answer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8cbd39
|
13 years |
vojtechhorky |
Hack: copy kernel arguments to sysinfo
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2405bb5
|
13 years |
jakub |
Forget active calls when a task exits.
- Synchronization between …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@691d8d8
|
13 years |
jakub |
Give each system IPC method its dedicated request process hook.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@924c2530
|
13 years |
jakub |
Give each system IPC method its dedicated request preprocess hook.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a82ac1
|
13 years |
jakub |
Be nice and provide a default switch case in answer_preprocess().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9956fad9
|
13 years |
jakub |
Give each system IPC method its dedicated answer preprocess hook.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cb75de
|
13 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
|
13 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
|
13 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
|
13 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
|
13 years |
jakub |
Remove synchronous IPC primitives.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1772e6d
|
13 years |
sucha14 |
Update documentation for str_cmp and str_lcmp.
This is a modified …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4efeab5
|
13 years |
sucha14 |
Update documentation for str_cmp and str_lcmp
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f4f444
|
13 years |
jakub |
Add a variant of fault_if_from_uspace() that doesn't check whether
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8486c07
|
13 years |
martin |
IRQ pseudocode improvements
* rename CMD_BTEST to CMD_AND (less …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|