|
|
@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
|
14 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
|
|
|
@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
|
|
|
@7a0359b
|
15 years |
martin |
improve kernel function tracing
- add support for more generic kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3ee9b9
|
15 years |
martin |
remove forward static function declarations and reorder functions
(if …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49eb681
|
15 years |
martin |
code cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05e3cb8
|
15 years |
martin |
cstyle changes (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74c5a1ca
|
15 years |
martin |
compact printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ccb426c
|
15 years |
martin |
improve other kernel printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@402eda5
|
15 years |
jakub |
Fix a newly introduced deadlock in the TLB shootdown algorithm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fdaad75d
|
15 years |
jakub |
Do not disable interrupts unnecessarily.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f80c77
|
15 years |
jakub |
Lock/interrupt assertions in the code are self-documenting. No need to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2d3ddad
|
15 years |
jakub |
Add more *_locked() assertions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d432f9
|
15 years |
jakub |
Reflect assumptions about lock and interrupt state in functions themselves.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ada559c
|
15 years |
jakub |
Add page_table_locked() interface.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da1bafb
|
15 years |
martin |
major code revision
- replace spinlocks taken with interrupts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c964521
|
15 years |
jakub |
Lock the page tables before initiating the TLB shootdown, avoiding …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1624aae
|
15 years |
jakub |
Assert that as_destroy() is not being called on AS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@663bb537
|
15 years |
jakub |
Fix comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6193351
|
15 years |
jakub |
Deploy as_hold() and as_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0321109
|
15 years |
jakub |
Add as_hold() and as_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55821eea
|
15 years |
jakub |
Do not use blocking malloc() in make_magcache().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05411e8
|
15 years |
jakub |
Panic the kernel during a blocking request to allocate physical memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9dae191e
|
15 years |
martin |
sysinfo API cleanup
- better support for generated subtrees
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@516adce
|
15 years |
stanislav.kozina |
top echoes also physical memory overview
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d99c1d2
|
15 years |
martin |
use [u]int{8|16|32|64}_t type definitions as detected by the autotool …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@137691a
|
15 years |
martin |
remove unused variables and operations (as suggested by Clang static …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a000878c
|
15 years |
martin |
make sure that all statically allocated strings are declared as "const …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7af8c0e
|
15 years |
martin |
when no address space is set, then returning AS_PF_FAULT is actually …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@336db295
|
16 years |
jiri |
Fix THREAD_READ, add AREAS_READ Udebug method. Add task dump utility.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41df2827
|
16 years |
jakub |
Fix missing includes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@98000fb
|
16 years |
martin |
remove redundant index_t and count_t types (which were always quite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c259b9b
|
16 years |
jakub |
Allow malloc(0, …) in kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f049eec
|
16 years |
martin |
avoid deadlock while reclaiming slab memory
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c3ebc47
|
16 years |
martin |
add malloc slab caches for up to 4 MB blocks
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9482bf0b
|
16 years |
jakub |
Fix non-debug build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e49e234
|
16 years |
martin |
kernel memory management revisited (phase 2): map physical memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f0f29ce
|
16 years |
martin |
kernel memory management revisited (phase 1): proper support for zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f341820
|
16 years |
martin |
mips32: basic SMP support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f651e80
|
17 years |
jirik.svoboda |
Make newlines in panic messages consistent. Add periods at end of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76fca31
|
17 years |
martin |
kconsole is optional
kernel & uspace framebuffer rewrite with speedups …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7782030
|
17 years |
jakub.vana |
Classic TLB shootdown support on ia64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59e4864
|
17 years |
jakub.vana |
Alfa of SMP support on IA64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eeb2bde2
|
17 years |
jakub |
as_area_resize() should use as instead of AS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6745592
|
17 years |
jakub |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae7f6fb
|
17 years |
jirik.svoboda |
Fix panic caused by not setting new area flags in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6461d286
|
17 years |
jakub |
Fix the rare case when the anon or ELF backend uses PFN 0 for mapping.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af863d0
|
17 years |
martin |
move unfinished ObjC support to a separate branch
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c98e6ee
|
17 years |
jirik.svoboda |
Merge program-loader related stuff from dynload branch to trunk. (huge)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@498b201
|
17 years |
jakub |
The real intention of the previous commit was to put the boundary
on 4 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f7a0ef
|
17 years |
jakub |
Introduce FRAME_LOW_16_GiB slab/frame allocator flag. When specified, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ec725f
|
17 years |
jakub |
Avoid deadlock during the 'zone n' kconsole command. Buddy allocator …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@000350f8
|
17 years |
jakub |
Fix deadlock in the 'zones' kconsole command.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1bb3766
|
17 years |
jakub |
Finer grained waiting for memory with consideration of the number
of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1a1744e
|
17 years |
jakub |
Get rid of the infamous "Sleep not implemented" panic during low …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@08a19ba
|
17 years |
jakub |
Support for active mutexes. Active mutexes implement busy waiting, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deaf8d5
|
17 years |
jakub |
cstyle for frame.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@599d6f5
|
17 years |
jakub |
Avoid easy deadlock while printing slab cache statistics.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46c1234
|
17 years |
jakub |
cstyle for slab.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3759681
|
17 years |
jirik.svoboda |
Implement smc_coherence[_block]() for ppc32
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62cd66f
|
17 years |
jirik.svoboda |
Fix build when smc_coherence_block() is defined as an empty macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36e86862
|
17 years |
jakub |
Maintain cache coherence when the ELF backend duplicates a frame from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80dabb8d
|
17 years |
jakub |
Add a comment explaining the reason for a memory barrier after page …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11e9061d
|
17 years |
jakub |
Issue a memory barrier after modifying a page table mapping in order …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32e092
|
17 years |
jirik.svoboda |
Declare arguments for memstr.h operations as pointers instead of uintptr_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b8b0ca
|
17 years |
martin |
proper printf formatting
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cc2974
|
17 years |
jakub |
Improve linking and loading of boot ELF images.
(Contributed by Jiri …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c441cf8
|
17 years |
martin |
code cleanup (mostly signed/unsigned)
allow extra compiler warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@71eef11
|
17 years |
martin |
remove config.memory_size, get_memory_size() and memory_init.{c|d}
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43b1e86
|
17 years |
martin |
prettyprint output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0697c4c
|
18 years |
jakub |
Fix a bug in anonymous address space area sharing. Call the backend's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b878df3
|
18 years |
jakub |
Rename as_get_size() to as_area_get_size() and add a doxygen comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c03ee1c
|
18 years |
jakub |
Improve comments for arch-specific implementations of hierarchical …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cb567cd
|
18 years |
martin |
map kernel pages explicitly as writable (this solves compatibility …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31d8e10
|
18 years |
jakub |
Continue to de-oversynchronize the kernel.
- replace as→refcount with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@879585a3
|
18 years |
jakub |
Simplify synchronization in as_switch().
The function was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2057572
|
18 years |
jakub |
The Ultimate Solution To Illegal Virtual Aliases.
It is better to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@454f1da
|
18 years |
jakub |
Reworked handling of illegal virtual aliases caused by frame reuse.
We …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4638401
|
18 years |
jakub |
Coding style and indentation fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d5bd8d7
|
18 years |
jakub |
Fix coding style in the address space area backends.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d630139
|
18 years |
jakub |
Add arm32 architecture. The 32 suffix is used to specify that 16-bit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c993e45
|
18 years |
martin |
small cleanup, more work coming
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd1deed
|
18 years |
martin |
experimental support for Objective C
(disabled by default)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce8aed1
|
18 years |
martin |
implement simple realloc()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c771149
|
18 years |
martin |
add forgotten unsigned
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2936eef
|
18 years |
martin |
explicit typecast, fix signed/unsigned comparison
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55b4437
|
18 years |
martin |
remove anonymous structure, add static qualifier
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80bcaed
|
18 years |
jakub |
Merge as_t structure into one and leave the differring parts in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dad5951
|
18 years |
martin |
avoid conflict with potential keyword
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|