Rev |
Age |
Author |
Path |
Log message |
Diff |
3972 |
5653 d 23 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 |
5889 d 4 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. |
|
2106 |
6408 d 9 h |
jermar |
/trunk/kernel/ |
Merge as_t structure into one and leave the differring parts in as_genarch_t.
Indentation and formatting changes in header files. |
|
2089 |
6414 d 9 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2083 |
6420 d 9 h |
decky |
/trunk/kernel/ |
typedef elimination |
|
2071 |
6425 d 2 h |
jermar |
/trunk/ |
(c) versus (C) |
|
2059 |
6448 d 11 h |
jermar |
/trunk/kernel/generic/ |
Improve indentation and formatting. |
|
1888 |
6550 d 5 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6615 d 4 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6622 d 5 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6643 d 8 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1229 |
6693 d 9 h |
jermar |
/kernel/trunk/ |
Remove the outdated TODO file.
Improve doxygen comments here and there. |
|
1139 |
6718 d 4 h |
jermar |
/kernel/trunk/generic/include/ |
Fix comments. |
|
822 |
6767 d 23 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|
814 |
6768 d 10 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
756 |
6775 d 22 h |
jermar |
/kernel/trunk/ |
Memory management work.
Remove the last (i.e. 'root') argument from page_mapping_insert() and page_mapping_find().
Page table address is now extracted from the first (i.e. 'as') argument.
Add a lot of infrastructure to make the above possible.
sparc64 is now broken, most likely because of insufficient identity mapping of physical memory. |
|
735 |
6785 d 5 h |
bondari |
/kernel/trunk/ |
Fixes, comments, tests to frame allocator |
|
686 |
6799 d 7 h |
bondari |
/kernel/trunk/generic/ |
Minor changes to 'zone' command |
|
683 |
6799 d 8 h |
bondari |
/kernel/trunk/generic/ |
Console command 'zone' now takes zone address as parameter.
Added buddy system statistics into the 'zone' command. |
|
534 |
6834 d 3 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
533 |
6834 d 3 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 |
6834 d 3 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6846 d 7 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
489 |
6853 d 6 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. |
|
482 |
6855 d 3 h |
jermar |
/SPARTAN/trunk/generic/include/ |
Fix typo in buddy.h.
Make default memsize 8M. |
|
480 |
6856 d 2 h |
bondari |
/SPARTAN/trunk/generic/ |
Buddy system allocator implementation. Not checked. For review only. |
|
440 |
6862 d 5 h |
jermar |
/SPARTAN/trunk/generic/include/mm/ |
Add some comments for buddy system operations. |
|
430 |
6867 d 0 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
381 |
6900 d 0 h |
jermar |
/SPARTAN/trunk/ |
Make cross-compiler the default compiler on IA-32.
For native compilations, use ./build.ia32 native.
Small changes elsewhere. |
|
378 |
6901 d 9 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 |
6904 d 2 h |
jermar |
/SPARTAN/trunk/ |
Generic buddy allocator.
Please review the code before it is deployed. |
|