|
|
@711e7fe5
|
13 years |
prutkov.alex |
Added printf module
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
|
|
|
@d060900
|
14 years |
jakub |
Feed memory from the newly created zone into the reservation system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@28295955
|
14 years |
jakub |
frame_free_generic() can actually free multiple frames.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89bcb520
|
14 years |
jakub |
Reserve / unreserve memory upon frame allocation / deallocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe754c8
|
14 years |
jakub |
Always succeed conditional reservations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ceac698
|
14 years |
jakub |
Remove name of formal parameters.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e394b736
|
14 years |
jakub |
Call the address space area create, resize and destroy hooks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a2474f
|
14 years |
jakub |
Remove comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9dd730d1
|
14 years |
jakub |
Reserve only anonymous pages in ELF-backed address space areas.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b655705
|
14 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27bdfa5
|
14 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@917a8c8
|
14 years |
martin |
be more robust in ELF backend, add checks (with page faults) instead …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@563b538
|
14 years |
martin |
never use top-level conjunction in assertions, always write two assertions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30718cc2
|
14 years |
jano.vesely |
Move cacheable flag from syscall to malloc
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17aca1c
|
14 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b37882
|
14 years |
martin |
memory management work
* implement as_get_mappable_page() as a new …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc47885
|
14 years |
martin |
keep track of the number of resident pages on-the-fly (do not traverse …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6265a2b
|
15 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a0ce870
|
15 years |
martin |
statistics: provide resident (actually used) memory of tasks
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b93d637
|
15 years |
vojtechhorky |
Add syscall for getting physical address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b9e85b
|
15 years |
jakub |
Remove sparc64's cache.h and all references to it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@03523dc
|
15 years |
jakub |
Add more hooks to address space area backends so that each backend can …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@630a8ef
|
15 years |
jakub |
Add the memory reservation API.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b838fdf
|
15 years |
jakub |
Deploy the noreserve functions in address space area backends that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e608cbe
|
15 years |
jakub |
Add frame_alloc_noreserve() and frame_free_noreserve().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c32e6bc
|
15 years |
jakub |
Add frame_free_generic().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0139747
|
15 years |
jakub |
Move frame_alloc() to frame.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d853bd
|
15 years |
jakub |
Small cleanup in frame.[ch].
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab6f2507
|
15 years |
jakub |
Make sure that slab_reclaim() executes with interrupts disabled.
There …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
15 years |
martin |
more unification of basic types
- use sysarg_t and native_t (unsigned …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e752b2
|
15 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b4a67a
|
15 years |
jakub |
Use a more portable definition of NULL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af96dd57
|
15 years |
martin |
fix two possible NULL dereferences
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2650d3
|
15 years |
martin |
rename PA_overlaps to PA_OVERLAPS
be more tolerant about some cases of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97bdb4a
|
15 years |
martin |
avoid tracing of several memory-related functions which are called …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bbfdf62
|
15 years |
martin |
size_t as a return type of zone_conf_size() is more natural than uintptr_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|