Rev |
Age |
Author |
Path |
Log message |
Diff |
1881 |
6634 d 5 h |
jermar |
/trunk/ |
sparc64 work:
- find a CPU node and read its clock_frequency attribute
- implement asm_delay_loop()
- set TICK_COMPARE register according to processor frequency
- small improvements at random places
OpenFirmware work:
- two new functions for walking the device tree
Generic boot loader work:
- added basic string functions
Usual pile of indentation and formatting fixes. |
|
1787 |
6697 d 0 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6704 d 1 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1767 |
6712 d 8 h |
palkovsky |
/kernel/trunk/ |
Remove unneeded FRAME_PANIC.
Fix some things broken by last commit. |
|
1760 |
6715 d 2 h |
palkovsky |
/kernel/trunk/ |
Changed interface of frame_alloc/free to use address of frame instead of the pfn.
This makes it impossible to use >4GB of memory on 32-bit machines, but who cares... |
|
1731 |
6720 d 17 h |
jermar |
/kernel/trunk/ |
Updates in Doxygen-style comments.
Make architecture specific modules appear conditionally in the documentation.
Add time management module.
Improve names of other modules and sort module order
to be more like in the design documentation. |
|
1705 |
6724 d 7 h |
cejka |
/kernel/trunk/ |
Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place. |
|
1702 |
6725 d 4 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1264 |
6768 d 6 h |
jermar |
/kernel/trunk/generic/ |
Improve Doxygen-comments. |
|
1138 |
6803 d 1 h |
jermar |
/kernel/trunk/ |
CPU stacks must have two frames on ia64.
Make sure both thread stack frames are mapped in before_thread_runs_arch().
Take STACK_FRAMES into account during kernel memory layout initialization in main_bsp(). |
|
822 |
6849 d 19 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 |
6850 d 5 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
788 |
6853 d 0 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
786 |
6853 d 2 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 |
6853 d 21 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 |
6856 d 4 h |
palkovsky |
/kernel/trunk/ |
Currently not-working SLAB allocator.
- slightly changed interface to frame_alloc, allow zone preference |
|
689 |
6881 d 1 h |
bondari |
/kernel/trunk/ |
Frame alloc test #1 |
|
673 |
6885 d 20 h |
jermar |
/kernel/trunk/ |
Add 'version' and 'cpus' kconsole commands.
Remove leading p from names of p* commands. |
|
646 |
6901 d 19 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 |
6905 d 8 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 |
6913 d 22 h |
jermar |
/kernel/trunk/ |
Cleanup and fixes. |
|
534 |
6915 d 22 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
533 |
6915 d 22 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 |
6915 d 23 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6928 d 3 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
458 |
6942 d 6 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
430 |
6948 d 20 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
192 |
7012 d 0 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 |
7057 d 20 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
108 |
7100 d 3 h |
decky |
/SPARTAN/trunk/ |
doxygen-style comments
NDEBUG in Makefile.config |
|
31 |
7138 d 2 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 |
7139 d 5 h |
jermar |
/SPARTAN/trunk/ |
Small improvements. |
|
24 |
7144 d 22 h |
jermar |
/SPARTAN/trunk/ |
Small fixes. |
|
20 |
7151 d 4 h |
jermar |
/SPARTAN/trunk/ |
Smarter definition of CPU macro. |
|
16 |
7154 d 1 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 |
7155 d 0 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 |
7205 d 1 h |
jermar |
/SPARTAN/ |
Initial import |
|