|
|
@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
|
|
|
@d91488d
|
7 years |
jiri |
Fix endless loop in elf_share() walking the wrong B+tree. Fix ELF …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0705fc5
|
7 years |
jakub |
Fix warnings in non-debug build
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b3fcf36
|
7 years |
jiri |
IPC share-in test using text and data segment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bcd4dd4
|
7 years |
zarevucky.jiri |
Use ispwr2 macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdc190f
|
7 years |
zarevucky.jiri |
Split realloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@71fb5ac
|
7 years |
zarevucky.jiri |
Swap ordering of alignment and size, to match standard aligned_alloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b60615bd
|
7 years |
zarevucky.jiri |
Modify kernel malloc()
This new implementation places the allocation …
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
|
|
|
@5071f8a
|
7 years |
zarevucky.jiri |
Handle correctly THREAD being NULL
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
|
|
|
@4f3aa76
|
7 years |
zarevucky.jiri |
Remove nfmalloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b389f95
|
7 years |
zarevucky.jiri |
Allow as_get_area_info() to fail
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
|
|
|
@6785b88b
|
7 years |
jiri |
Fix indentation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd1ecf11
|
7 years |
jiri |
Fix guard pages: should have one guard page before, one guard page after.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9d0088
|
7 years |
jiri |
Fix case where no area has lower or equal base. Remove duplicate alignment.
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
|
|
|
@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
|
|
|
@482f968
|
7 years |
zarevucky.jiri |
Make FRAME_HIGHMEM fall back to low memory on failure.
Which is what …
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
|
|
|
@09ab0a9a
|
7 years |
jiri |
Fix vertical spacing with new Ccheck revision.
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
|
|
|
@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
|
|
|
@78de83de
|
7 years |
jiri.zarevucky |
Improve kernel spinlock and AS refcount.
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
|
|
|
@0abc2ae
|
7 years |
jiri.zarevucky |
Remove single-argument version of smc_coherence.
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
|
|
|
@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
|
|
|
@eb748a0
|
7 years |
jiri |
Three more loop fixes.
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
|
|
|
@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
|
|
|
@4ed41b3
|
7 years |
martin |
use a dedicated cache for the per-CPU magazines of caches
This avoids …
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
|
|
|
@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
|
|
|
@62ca560
|
8 years |
zarevucky.jiri |
Add str_error() and str_error_name() to kernel, and use it to print …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c81132d
|
8 years |
zarevucky.jiri |
Replace casts from non-bool to bool with explicit equality check.
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
|
|
|
@35ebd42
|
8 years |
zarevucky.jiri |
Fix up some type casts and format strings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@300f4c4
|
8 years |
jakub |
Let the resource allocator treat 0 as a valid resource
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
|
|
|
@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
|
|
|
@d078c9b9
|
9 years |
jakub |
Add implementation details to user_backend
Forbid sharing and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae6021d
|
9 years |
jakub |
Associate each paged as_area with its memory object upon creation
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a2fbc8
|
9 years |
jakub |
Merge from lp:~jakub/helenos/pt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@346b12a2
|
9 years |
jakub |
Add page_mapping_update()
page_mapping_update() can be used to safely …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38dc82d
|
9 years |
jakub |
Make page_mapping_find() return a copy rather than the actual PTE
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9befb0d
|
9 years |
jakub |
Increment reference count only for physical memory frames
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c2af75
|
9 years |
jakub |
Implement user_backend page fault handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75b139f
|
9 years |
jakub |
Add skeleton of the user backend
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2c3fed
|
9 years |
jakub |
Move AS_AREA_ANY, AS_MAP_FAILED and AS_AREA_UNPAGED to abi/
This way …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6aeca0d
|
9 years |
jakub |
Make as_area_create() accept phone to external pager
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c7be3e
|
9 years |
jakub |
When km_temporary_page_get() cannot allocate a page for a high-memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ec3c56
|
10 years |
martin |
define a contract that the slab cache size needs to be non-zero
zero …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@315b7e3
|
10 years |
martin |
avoid the local variable 'size' hiding function argument 'size' …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c12f891
|
10 years |
martin |
remove obsolete functions
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
|
|
|
@826599a2
|
11 years |
sucha14 |
Fix documentation comment for as_area_create
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@566da7f8
|
11 years |
vojtechhorky |
Fix another bunch of maybe-uninitialized warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a5abb78
|
11 years |
vojtechhorky |
Unbreak non-debug builds (thx Wolf Ramovsky)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83b6ba9f
|
11 years |
jakub |
Support for AS area backend shared data.
- share_info_t is now …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbb29de
|
11 years |
jakub |
Do not free the anonymous frames unless there is only one remaining …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a17cced
|
11 years |
jakub |
dmamem_map_anonymous() should reserve the memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c101dc0
|
11 years |
jakub |
Implement dmamem_unmap_anonymous().
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
|
|
|
@11d41be5
|
12 years |
martin |
revert to the original assertion
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f72906c
|
12 years |
martin |
prefer allocating physical frames from the so called low priority …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c5396c1
|
12 years |
martin |
abandon the 2nd level bitmap
according to observations it is very rare …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64f3d3b
|
12 years |
martin |
basic optimizations of the bitmap allocator
(still not using the 2nd …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adb252c0
|
12 years |
martin |
initialize the zone bitmap properly
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
|
|
|
@ba2be23
|
12 years |
martin |
remove the ugly code
(ASAP is now)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2a0d76
|
12 years |
martin |
cstyle
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@69146b93
|
13 years |
adam.hraska+hos |
Merged mainline,1723.
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
|
|
|
@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
|
|
|
@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
|
|
|
@33c2952
|
13 years |
adam.hraska+hos |
Merged with mainline.
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
|
|
|