Rev |
Age |
Author |
Path |
Log message |
Diff |
4581 |
5660 d 0 h |
mejdrech |
/branches/network/ |
Net: synchronized with trunk rev.4580 |
|
4153 |
5760 d 23 h |
mejdrech |
/branches/network/ |
Networking: merged with trunk changes |
|
3386 |
5957 d 2 h |
decky |
/branches/network/ |
add new network branch (copy of current trunk) |
|
2227 |
6470 d 13 h |
decky |
/trunk/kernel/ |
start shutdown infrastructure |
|
2096 |
6540 d 1 h |
decky |
/trunk/kernel/generic/include/ |
move thread_t to thread.h |
|
2089 |
6541 d 5 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2081 |
6547 d 6 h |
decky |
/trunk/kernel/generic/include/ |
another typedefs to anonymous structs |
|
2071 |
6551 d 22 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1901 |
6665 d 4 h |
jermar |
/trunk/kernel/ |
Make SMP related parts of main.c more generic.
Move initialization of local APIC to architecture specific code.
Add arch_post_cpu_init() to support the above. |
|
1881 |
6679 d 6 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. |
|
1839 |
6717 d 3 h |
decky |
/trunk/kernel/generic/ |
finish security context isolation |
|
1820 |
6724 d 19 h |
decky |
/trunk/kernel/generic/ |
initial security context support |
|
1819 |
6724 d 20 h |
decky |
/trunk/kernel/generic/include/ |
formatting changes |
|
1787 |
6742 d 0 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1702 |
6770 d 4 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1223 |
6821 d 6 h |
jermar |
/kernel/trunk/ |
Make ia64 and sparc64 compile again.
Fix ia64 to set up inits in arch_pre_main(). |
|
1170 |
6833 d 2 h |
vana |
/kernel/trunk/ |
Stack size definition macro definition fix |
|
1139 |
6845 d 0 h |
jermar |
/kernel/trunk/generic/include/ |
Fix comments. |
|
703 |
6921 d 6 h |
jermar |
/kernel/trunk/ |
Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping(). |
|
651 |
6945 d 18 h |
decky |
/kernel/trunk/ |
remove arch/$ARCH/boot where not needed, change global Makefile accordingly
remove early_mapping() (breaks ppc32 for now)
change early heap initialization (required for init to work) |
|
534 |
6960 d 23 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6960 d 23 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
503 |
6973 d 2 h |
jermar |
/kernel/trunk/ |
Rename arch_late_init() to arch_pre_smp_init().
Add arch_post_smp_init().
Enable IRQ_KBD on ia-32 (doesn't work on Bochs SMP, works on Bochs UP). |
|
501 |
6973 d 4 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
483 |
6980 d 23 h |
jermar |
/SPARTAN/trunk/ |
For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).
New mips32 atomic_add() function.
Cleanup. |
|
430 |
6993 d 20 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
413 |
7008 d 19 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|
391 |
7021 d 21 h |
jermar |
/SPARTAN/trunk/ |
mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.
Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile. |
|
221 |
7055 d 10 h |
jermar |
/SPARTAN/trunk/ |
Preemption work.
Define PREEMPTION_DISABLED macro.
This macro determines the level of preemptivity (0 = preemption enabled, THE->preemption_disabled = no preemption inside spinlock, 1 = preemption disabled).
Reformulate preemption code in clock.c to consider PREEMPTION_DISABLED. |
|
210 |
7055 d 21 h |
decky |
/SPARTAN/trunk/ |
many PPC stuff, platform dependent arch.h header files |
|
192 |
7057 d 1 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. |
|
184 |
7057 d 9 h |
jermar |
/SPARTAN/trunk/ |
Add lib/the.c.
Add and deploy the_initialize() and the_copy().
Make IA-32's before_thread_runs() use SP_DELTA macro. |
|
177 |
7058 d 7 h |
jermar |
/SPARTAN/trunk/ |
Add some comments to IA-32 src/boot/boot.S and src/smp.S.
Make the boot stack start on page boundary.
This is required by get_stack_base().
Define 'THE' macro.
Implement preemption_disable() and preemption_enable().
Add memory barrier macros.
IA-32 macros need support for older processors.
Non IA-32 macros are dummy.
Reduction of many #include paths. |
|
173 |
7061 d 22 h |
jermar |
/SPARTAN/trunk/ |
Preparations for weaker preemption model.
Make all kernel stacks (i.e. startup, scheduler and thread) be STACK_SIZE bytes long.
Reincarnate "the" structure. This time, it is planned to be located at the base of each and every kernel stack.
On IA-32 and MIPS, implement get_stack_base() functions. On the rest of supported platforms, define it to be dummy. |
|
118 |
7132 d 0 h |
jermar |
/SPARTAN/trunk/ |
Replace confusing comment in scheduler.c.
Add warning/explanatory comment to arch.h saying that CPU, THREAD and TASK macros are preemption-unsafe. |
|
32 |
7181 d 21 h |
jermar |
/SPARTAN/trunk/ |
ACPI detection code.
MP detection code rewrite.
Minor changes. |
|
26 |
7187 d 5 h |
jermar |
/SPARTAN/trunk/ |
Code cleanup after arch_init() splitting.
Restore %ds and %es registers before iret. |
|
23 |
7190 d 2 h |
jermar |
/SPARTAN/trunk/ |
Fix wrong order of *_init() function calls. |
|
20 |
7196 d 5 h |
jermar |
/SPARTAN/trunk/ |
Smarter definition of CPU macro. |
|
16 |
7199 d 2 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. |
|