Rev |
Age |
Author |
Path |
Log message |
Diff |
822 |
6766 d 7 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 |
6766 d 18 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
788 |
6769 d 12 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
786 |
6769 d 14 h |
bondari |
/kernel/trunk/ |
frame_alloc() functions variations in order to avoid problems with frame_alloc_generic() changes.
IMPORTANT: Parameter order for frame_alloc() was changed |
|
779 |
6770 d 9 h |
jermar |
/kernel/trunk/generic/ |
Simplify load balancing activation.
This in fact removes the livelock that prevented cpu_sleep() to be called in SMP systems. |
|
762 |
6772 d 16 h |
palkovsky |
/kernel/trunk/ |
Currently not-working SLAB allocator.
- slightly changed interface to frame_alloc, allow zone preference |
|
689 |
6797 d 14 h |
bondari |
/kernel/trunk/ |
Frame alloc test #1 |
|
673 |
6802 d 8 h |
jermar |
/kernel/trunk/ |
Add 'version' and 'cpus' kconsole commands.
Remove leading p from names of p* commands. |
|
646 |
6818 d 7 h |
jermar |
/kernel/trunk/ |
Fix cpu_init(): frame_alloc() can return 0 as the valid address of block of frames. Do not signal error.
sparc64 work.
Reorganize kernel vs. userspace memory layout.
Add panic_printf().
Turn dummy() into nop rather than into infinite loop. |
|
623 |
6821 d 20 h |
jermar |
/kernel/trunk/ |
Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed. |
|
548 |
6830 d 11 h |
jermar |
/kernel/trunk/ |
Cleanup and fixes. |
|
534 |
6832 d 11 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
533 |
6832 d 11 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 |
6832 d 11 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6844 d 15 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
458 |
6858 d 18 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
430 |
6865 d 8 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
192 |
6928 d 13 h |
jermar |
/SPARTAN/trunk/ |
Dump implementation of THREAD, TASK and CPU.
Implement preemption-safe versions of THREAD, TASK and CPU using THE.
Get rid of CPU_ID_ARCH on all architectures.
Get rid of write_dr0() and read_dr0() on IA-32.
Get rid of cpu_private_data and cpu_private_data_t. |
|
125 |
6974 d 8 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
108 |
7016 d 15 h |
decky |
/SPARTAN/trunk/ |
doxygen-style comments
NDEBUG in Makefile.config |
|
31 |
7054 d 14 h |
jermar |
/SPARTAN/trunk/ |
Replace the deadlock-prone TLB shootdown algorithm with a deadlock-free implementation.
The implementation is a variant of the CMU TLB consistency algorithm.
Very inefficient implementation of a very inefficient (but correct) algorithm. |
|
28 |
7055 d 18 h |
jermar |
/SPARTAN/trunk/ |
Small improvements. |
|
24 |
7061 d 11 h |
jermar |
/SPARTAN/trunk/ |
Small fixes. |
|
20 |
7067 d 16 h |
jermar |
/SPARTAN/trunk/ |
Smarter definition of CPU macro. |
|
16 |
7070 d 14 h |
jermar |
/SPARTAN/trunk/ |
Switch from mm-based 'the' mechanism to macro-based 'cpu_private_data[CPU_ID_ARCH]' mechanism.
Added l_apic_id() and some other minor APIC changes.
Move gdtr to K_DATA_START section.
Move K_DATA_START section immediately behind K_TEXT_START section so that real-mode addresses work even with growing size of kernel code. |
|
15 |
7071 d 12 h |
jermar |
/SPARTAN/trunk/ |
Introduce macros CPU, THREAD, TASK and use them to replace the->cpu, the->thread, the->task.
Later on, this will make it possible to reference *current* cpu, thread and/or task without the aid from virtual memory. |
|
1 |
7121 d 13 h |
jermar |
/SPARTAN/ |
Initial import |
|