Rev |
Age |
Author |
Path |
Log message |
Diff |
3972 |
5781 d 5 h |
decky |
/trunk/kernel/ |
kernel memory management revisited (phase 1): proper support for zone flags
- the zone_t structures are now statically allocated to be easily available
- the locking scheme was simplified
- new flags for non-available zones were introduced
- FRAME_LOW_4_GiB flag is removed, the functionality will be eventually reimplemented using a generic mechanism |
|
3206 |
6016 d 10 h |
jermar |
/trunk/kernel/generic/ |
Avoid deadlock during the 'zone n' kconsole command. Buddy allocator detail is
no longer printed because the effort to avoid the deadlock was simply not worth
it. |
|
3057 |
6049 d 13 h |
decky |
/trunk/kernel/generic/src/mm/ |
proper printf formatting |
|
2089 |
6541 d 15 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6552 d 8 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1787 |
6742 d 10 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6749 d 11 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1757 |
6763 d 16 h |
jermar |
/kernel/trunk/ |
Cleanup of comments. |
|
1708 |
6767 d 17 h |
jermar |
/kernel/trunk/ |
Fix some broken doxygen comments. |
|
1702 |
6770 d 14 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1248 |
6817 d 11 h |
jermar |
/kernel/trunk/ |
Add some @file doxygen comments and improve already existing comments. |
|
1229 |
6820 d 15 h |
jermar |
/kernel/trunk/ |
Remove the outdated TODO file.
Improve doxygen comments here and there. |
|
1224 |
6821 d 14 h |
cejka |
/kernel/trunk/ |
Fix pointers output format.
Fix format of slab and zones tables. |
|
1196 |
6828 d 15 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
822 |
6895 d 5 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|
815 |
6895 d 15 h |
jermar |
/kernel/trunk/ |
Fix sparc64 and ia64 to work with the changed frame allocator.
Fix ppc32 to at least compile. |
|
814 |
6895 d 16 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
813 |
6896 d 4 h |
jermar |
/kernel/trunk/ |
Change ia64 kernel image to link and load at 0x100000 where
it (or its heap or stack) won't mess up with the ROM region.
Blacklist ia64 frame 0 from frame allocator so that 0 won't be
returned to malloc and friends. This can be reenabled again
once the kernel is not identity mapped. |
|
788 |
6898 d 10 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
735 |
6912 d 11 h |
bondari |
/kernel/trunk/ |
Fixes, comments, tests to frame allocator |
|
701 |
6924 d 5 h |
jermar |
/kernel/trunk/generic/src/mm/ |
Fix zone_print_one() and zone_print_list().
- add missing spinlock_unlock()
- add missing interrupts_disable() and interrupts_restore()
Coding style fixes and cleanup. |
|
686 |
6926 d 13 h |
bondari |
/kernel/trunk/generic/ |
Minor changes to 'zone' command |
|
683 |
6926 d 13 h |
bondari |
/kernel/trunk/generic/ |
Console command 'zone' now takes zone address as parameter.
Added buddy system statistics into the 'zone' command. |
|
534 |
6961 d 9 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
533 |
6961 d 9 h |
bondari |
/SPARTAN/trunk/ |
Buddy allocator for physical memory complete implementation.
Tested on IA32, AMD64, MIPS32. RWLock Test #5 is not passed.
NOTE: Other architectures could be broken (but should not be) |
|
532 |
6961 d 9 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6973 d 13 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
490 |
6980 d 12 h |
jermar |
/SPARTAN/trunk/generic/src/mm/ |
Fix typo and clean up comments. |
|
489 |
6980 d 12 h |
jermar |
/SPARTAN/trunk/generic/ |
Make the buddy system more general.
Store implementation defined pointer in buddy_system_t.
Pass buddy system pointer to implementation defined buddy system operations. |
|
430 |
6994 d 6 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
381 |
7027 d 5 h |
jermar |
/SPARTAN/trunk/ |
Make cross-compiler the default compiler on IA-32.
For native compilations, use ./build.ia32 native.
Small changes elsewhere. |
|
379 |
7028 d 15 h |
jermar |
/SPARTAN/trunk/src/mm/ |
Optimize buddy_system_free().
Remove special-case code from the main codepath. |
|
378 |
7028 d 15 h |
jermar |
/SPARTAN/trunk/ |
Redeclare eraly_malloc() with __attribute__ ((malloc)) to improve optimizations.
Reorganize #include's in scheduler.c.
Buddy system improvements.
Make buddy_system_free() explicitly invalidate order of blocks before they are coalesced.
Add some assertions. |
|
377 |
7031 d 8 h |
jermar |
/SPARTAN/trunk/ |
Generic buddy allocator.
Please review the code before it is deployed. |
|