|
|
@31e15be
|
4 years |
5887334+jxsvoboda |
kernel: deprecate atomic_t
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@583c2a3
|
5 years |
jiri |
Avoid most cases of direct used of list_t.prev/next in kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@128359eb
|
5 years |
martin |
Replace get_stack_base() with builtin_frame_address(0)
The usage of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8fb03b
|
6 years |
martin |
propagate the elf_load() return value out of program_create_loader()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a5269d
|
6 years |
noreply |
Change type of uspace pointers in kernel from pointer type to numeric …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bdca26a
|
6 years |
jakub |
Removing printf when failing from lib/rtld
If rtld failed a message …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df5f20
|
6 years |
zarevucky.jiri |
Rename NO_TRACE to _NO_TRACE
<trace.h> may end up transitively …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c477c80
|
7 years |
jiri |
Fix some common misspellings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca4c5596
|
7 years |
jakub |
Remove leftover mentions of B+tree
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c483fca
|
7 years |
noreply |
Merge pull request #68 from maurizio-lombardi/sched_fix_typo
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c742954
|
7 years |
mlombard |
scheduler: fix compile error in kcpulb() when KCPULB_VERBOSE is defined.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca21f1e2
|
7 years |
jakub |
Provide only one way to destroy address spaces
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b5203b
|
7 years |
jakub |
Remove futex support from kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d314571
|
7 years |
jakub |
Turn wait queue into a kobject usable by uspace
In order to provide …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aafed15
|
7 years |
zarevucky.jiri |
Declare malloc() etc in standard <stdlib.h> rather than <mm/slab.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95d45482
|
7 years |
zarevucky.jiri |
XXX to NOTE
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abf6c01
|
7 years |
zarevucky.jiri |
Add FRAME_ATOMIC to some allocations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba9a150
|
7 years |
zarevucky.jiri |
Always allocate FPU context ahead of time, even when switching is lazy
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deacd722
|
7 years |
zarevucky.jiri |
Allow thread_create_arch() to fail
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88e43bc
|
7 years |
zarevucky.jiri |
Mark unreachable consistently in kernel
At least in places that were …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1892d2c
|
7 years |
jakub |
Rename the.c to current.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aae365bc
|
7 years |
jakub |
Remove RCU and CHT support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@947ab77e
|
7 years |
jakub |
Stop using CHT in futexes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b294126
|
7 years |
noreply |
Merge pull request #52 from jermar/asrefcnt
Fix as_t reference counting
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac9e79d
|
7 years |
jakub |
Fix as_t reference counting
Commit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88cc71c0
|
7 years |
jiri |
Replace as_area_btree with ordered dictionary.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f7071b
|
7 years |
jiri |
Use ordered dictionary for kernel pareas instead of B+ tree.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aab5e46
|
7 years |
jiri |
Thread and task iterator functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ef1eab7
|
7 years |
jiri |
Replace AVL trees in kernel with ordered dictionary.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e4343b
|
7 years |
zarevucky.jiri |
Fix comments
get_current() refers to out of order local changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1da1ff2
|
7 years |
zarevucky.jiri |
Fix kernel stack allocation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6e55886
|
7 years |
noreply |
Rename THE/the_t to CURRENT/current_t (#50)
Because the word "THE" …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bab75df6
|
7 years |
jiri |
Let kernel code get printf via the standard stdio header. Clean up …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@174156fd
|
7 years |
jakub |
Disambiguate doxygroup generic*
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|