|
|
@3cfe2b8
|
7 years |
jiri.zarevucky |
Convert atomic_t to atomic_size_t (6): Replace atomic_count_t with size_t
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
|
|
|
@077842c
|
7 years |
jiri.zarevucky |
Convert atomic_t to atomic_size_t (1): remove PRIua macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4621d23
|
7 years |
jiri.zarevucky |
Use compiler builtins for kernel atomics
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05882233
|
7 years |
jiri.zarevucky |
Unify various barrier includes into <barrier.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@edc64c0
|
7 years |
jakub |
Zero out new thread's register context
This removes the information …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b59318e
|
7 years |
jiri.zarevucky |
Make futex able to time out.
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
|
|
|
@ae7d03c
|
7 years |
jiri |
Selected ccheck-proposed comment fixes.
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
|
|
|
@3bacee1
|
7 years |
jiri |
Make ccheck-fix again and commit more good files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57d44dd
|
7 years |
jiri.zarevucky |
Instead of using .interp section, determine loader by name.
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@b2e121a
|
8 years |
martin |
rename func.{c|h} to halt.{c|h}
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
|
|
|
@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
|
|
|
@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
|
|
|
@6a32cc5f
|
8 years |
zarevucky.jiri |
Handle allocation failure in task_create().
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
|
|
|
@c46bfbc
|
8 years |
jakub |
Allow caps_task_alloc() to fail
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
|
|
|
@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
|
|
|
@fa32c9f
|
8 years |
jakub |
Fix getting of the kobject address
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
|
|
|
@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
|
|
|
@49115ac
|
8 years |
jakub |
Add tsk_destructor() to free task's kobject
Freeing up kobject in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e7c4115d
|
8 years |
jakub |
Return the actual number of freed frames
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
|
|
|
@8ad7dd1
|
9 years |
jakub |
When readying a migrated thread, make sure it runs on the current CPU
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1558d85
|
9 years |
jakub |
Remove duplicate includes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1c57a8
|
11 years |
jakub |
Merge from lp:~adam-hraska+lp/helenos/rcu/.
Only merge from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e190e640
|
11 years |
sucha14 |
Fix dangling pointer in error paths in program_create
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b2fa1204
|
12 years |
sucha14 |
Cherrypick usage of kernel logger
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@550523f5
|
12 years |
martin |
fix debugging output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c2d9bb
|
12 years |
martin |
merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ef9a2a8
|
12 years |
jakub.klama |
Introduce early MMU support in kernel. At current state, it
is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd3b380
|
12 years |
martin |
due to the removal of FRAME_KA, the return value of frame_alloc*() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5df1963
|
12 years |
martin |
bitmap frame allocator does not keep track of the size of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0c2075
|
12 years |
martin |
new physical memory allocator supporting physical address constrains …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@feeac0d
|
12 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8cbf1c3
|
12 years |
martin |
prepare the public API of the frame allocator for the new backend …
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
|
|
|
@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
|
|
|
@69146b93
|
13 years |
adam.hraska+hos |
Merged mainline,1723.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ac5086
|
13 years |
adam.hraska+hos |
Fixed kernel futex cleanup: now walks list via correct links and frees …
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
|
|
|
@669f3d32
|
13 years |
adam.hraska+hos |
Adapted the kernel futex subsystem to use CHT.
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
|
|
|
@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
|
|
|
@67b152e
|
13 years |
jakub |
Define default size for userspace stacks.
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
|
|
|
@33c2952
|
13 years |
adam.hraska+hos |
Merged with mainline.
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
|
|
|
@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
|
|
|
@7cfe5c0
|
13 years |
adam.hraska+hos |
Merged with mainline 0.5.0 changes.
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
|
|
|
@6c34f587
|
13 years |
jakub |
Remove synchronous IPC primitives.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4d36f9
|
13 years |
adam.hraska+hos |
rcu: Added another preemptible kernel rcu - A-RCU.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@935e28c
|
13 years |
adam.hraska+hos |
preemption_disable: Fixed bug that called scheduler() from interrupts. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1066041
|
13 years |
adam.hraska+hos |
preemption_disable: Turned functions into macros. Moved THREAD, AS, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b23c88e
|
13 years |
adam.hraska+hos |
preemption_disable: Replaced memory barriers with compiler barriers. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@181a746
|
13 years |
adam.hraska+hos |
rcu: Added preemptible RCU's core API implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a64e81e
|
13 years |
adam.hraska+hos |
workq: Add work queues: allow blocking work items, queuing items from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@518dd43
|
13 years |
adam.hraska+hos |
thread: thread_ready() new prefers cpus where thread last ran. Added …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f22dc820
|
13 years |
jakub |
Honour the prohibition of migration also in thread_ready().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eef3c4
|
13 years |
martin |
cleanup thread_create() and thread_t structure
- remove 'flag' …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f97f1e51
|
13 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
|
|
|
@2902e1bb
|
13 years |
martin |
add support for variable uspace stack size
create individual address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db675dd
|
13 years |
martin |
print more informative messages about init tasks, the loader and the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@692be1ae
|
13 years |
martin |
print elf_load() return value if CONFIG_LOG is set
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c520034
|
14 years |
jakub |
Support for kernel non-identity mappings, phase I.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbcdeb8
|
14 years |
martin |
Remove the two-phase way of creating virtual memory areas (first …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38ff925
|
14 years |
jakub |
Force kernel stacks to be allocated from the low-memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d0500c
|
14 years |
jakub |
Introduce per-task kernel event notifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
14 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
|
|
|
@e16e2ba4
|
14 years |
jiri |
Eliminate userspace copy of elf.h (ELF format definitions).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55b77d9
|
14 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
|
|
|
@43ac0cc
|
14 years |
jakub |
More lightweight implementation of delay() in kernel.
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
|
|
|
@26aafe8
|
14 years |
martin |
cleanup the huge mess related to stacks, their sizes and locations
use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@473d5d2
|
14 years |
martin |
add magic value to THE structure for better stack/memory corruption …
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
|
|
|
@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
|
|
|
@7e7b791
|
14 years |
jano.vesely |
Implement SYS_THREAD_UDELAY syscall for short delays
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|