|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@9432f08
|
13 years |
jakub |
Process all TLB messages or until TLB_INVL_ALL is reached.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6a78b9
|
13 years |
jakub |
Merge mainline changes.
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
|
|
|
@d67dfdc
|
13 years |
jakub |
Avoid blocking callpaths in TLB shootdown sequences.
- In …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@905721b
|
13 years |
jakub |
mem_avail_mtx is an active mutex and needs to be IRQ-safe.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d194be
|
13 years |
jakub |
Convert slab_cache_t's maglock into an IRQ spinlock as it is taken …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddb56be
|
13 years |
jakub |
Convert slab_cache_t's slablock into an IRQ spinlock as it is taken …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8d0f9e5
|
13 years |
jakub |
Add assertions to stress the fact that the slab allocator spinlocks …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25ebfbd
|
13 years |
jakub |
Make slab_mag_cache_t's spinlock IRQ safe.
- slab_cache_destroy() was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5608deba
|
13 years |
jakub |
Merge from lp:~jakub/helenos/mm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2cc7f16
|
13 years |
jakub |
frame_adjust_zone_bounds() needs to handle cases when the physical …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0428f77
|
13 years |
jakub |
mutex_lock(as) is weaker than page_table_lock(as, true). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96d9cdd
|
13 years |
jakub |
Revert most of jakub@….
The …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@492ddc9
|
13 years |
jakub |
Match km_page_free() size parameter in km_unmap_aligned() with that of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@03cdd2b
|
14 years |
jakub |
Add km_unmap() and km_unmap_aligned().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf3dd35
|
14 years |
jakub |
There is no need to have km_map() for aligned addresses and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8757be86
|
14 years |
jakub |
Remove map_structure().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@babb57e
|
14 years |
jakub |
Add km_map_structure(), inspired from a soon-to-be-removed map_structure().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ccd0aa
|
14 years |
jakub |
Use km_map() in km_temporary_page_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adec5b45
|
14 years |
jakub |
Rename hw_map() to km_map() and add protection flags argument
to make …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4673296
|
14 years |
jakub |
Move hw_map() to km.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32817cc
|
14 years |
jakub |
Make the kernel ready for init tasks loaded to high memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7943c43
|
14 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d56382d
|
14 years |
jakub |
Nits and compile fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7f8fc5
|
14 years |
jakub |
Use temporary pages in the ELF backend.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c142860
|
14 years |
jakub |
Use temporary pages in the anonymous backend.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f7f47a7
|
14 years |
jakub |
Add interfaces for creating and destroying temporary pages.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7852625
|
14 years |
martin |
zone_external_conf_alloc() must be allowed to fail gracefully (by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2107e79
|
14 years |
jakub |
Make sure the alignment in hw_map() is at least PAGE_SIZE.
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
|
|
|
@efb48eb
|
14 years |
jakub |
Make hw_map() allocate naturally aligned virtual addresses.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c868e2d
|
14 years |
jakub |
Add and apply page_mapping_make_global() on each span added to the …
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
|
|
|
@7aaed09
|
14 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6645a14
|
14 years |
martin |
improve sys_page_find_mapping to calculate the physical address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b478f6
|
14 years |
jakub |
Add km_is_non_identity().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@404be7c
|
14 years |
jakub |
Fix hw_map() by using the new km_alloc_page() interface.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3e482
|
14 years |
jakub |
Create arena for kernel non-identity mapping and
provide km wrappers …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40c8c17
|
14 years |
jakub |
Replace multiple definitions of last_frame with config.physmem_end.
Do …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c01e6c
|
14 years |
jakub |
Replace hw_map() implementations with one generic.
Currently the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad12b5ea
|
14 years |
jakub |
Factor out the amd64/ia32 code which calculates the bounds of
a zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5902d6c
|
14 years |
jakub |
Allocate order of frames, not order of bytes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6c4b94
|
14 years |
jakub |
Adjust matching of zone flags to suport low/high memory distinction.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19c8030
|
14 years |
jakub |
Do not update the amount of reserved memory before the reservation …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8bdcffa
|
14 years |
jakub |
Add zone_external_conf_alloc() to automate allocation of external
zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddcc8a0
|
14 years |
jakub |
Split frame_arch_init() into two parts.
- frame_low_arch_init() is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@29938b2
|
14 years |
jakub |
Add km_non_identity_span_add() stub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55896b6
|
14 years |
jakub |
Add architecture specific hooks for km_(non)_identity_init().
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@622f409
|
14 years |
jakub |
Add calls to set up kernel virtual memory (both identity and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@818fffe
|
14 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ce7cfb
|
14 years |
martin |
remove some extra empty lines
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7250d2c
|
14 years |
martin |
fix typo
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
|
|
|
@8d6c1f1
|
14 years |
jakub |
Merge USB support.
Changes from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eef1b031
|
14 years |
martin |
ppc32: page hash table should be no longer interpreted as a TLB, it is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@366b148
|
14 years |
martin |
revert accidentaly commited debugging change
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@773f188
|
14 years |
martin |
remove obsolete net-qe.bat
accept optional arguments from the user
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4ffe5bc
|
14 years |
jakub |
Use the P2SZ() macro in address space area backends.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@235e6c7
|
14 years |
jakub |
Propagate the nolock flag to individual mapping_find() implementations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ff03f3
|
14 years |
jakub |
Allow calling page_mapping_find() with unlocked page tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6f3e7e
|
14 years |
jakub |
Cleanup. No change in functionality.
Delegate some work to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@326bf65
|
14 years |
jakub |
Fix an unsigned overflow which prevented proper handling of page …
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
|
|
|
@8d308b9
|
14 years |
jakub |
Start tracking reservable memory after zones are created and possibly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@933cadf
|
14 years |
martin |
use binary suffixes in printouts where appropriate
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@010be476
|
14 years |
jakub |
In case of no reserve in reserve_try_alloc(), attempt to reclaim …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@864b0dd
|
14 years |
jakub |
Always use reserve_force_alloc() in frame_alloc_generic(), even when …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@164c653
|
14 years |
jakub |
zone_frame_free() should return non-zero only if it actually freed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f6c6264
|
14 years |
jakub |
More precise elf_nonanon_pages_get() wrt. elf_page_fault().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ac69647
|
14 years |
jakub |
Factor out common code to elf_nonanon_pages_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c86f81
|
14 years |
jakub |
Writable ELF segments need to be reserved memory regardless of whether …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cda1378
|
14 years |
jakub |
Remove names of formal arguments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e17f703
|
14 years |
jakub |
Implement memory reservation API.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|