Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4346 5490 d 7 h svoboda /branches/dynload/ Merge trunk changes up to r4145 to dynload.  
4345 5490 d 7 h svoboda /branches/dynload/ Merge trunk changes up to r4040 to dynload.  
3168 5805 d 15 h svoboda /branches/dynload/ For each arch define one register for passing a pointer to PCB. Implemented in kernel lowlevel swich-to-userspace funcs and libc entry points. Missing in loader's program_run implementations.  
2927 5839 d 18 h decky /branches/dynload/ added dynload branch  
2575 6041 d 9 h jermar /trunk/kernel/arch/ia32/src/ Formatting fixes.  
2099 6311 d 10 h decky /trunk/kernel/arch/ia32/src/ explicit cast on pointer arithmetic  
2082 6318 d 15 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2071 6323 d 8 h jermar /trunk/ (c) versus (C)  
1888 6448 d 11 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6513 d 10 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1702 6541 d 14 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1121 6623 d 7 h jermar /kernel/trunk/ Small textual changes.  
1112 6623 d 18 h palkovsky /kernel/trunk/ Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction).
 
1104 6624 d 11 h jermar /kernel/trunk/ Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well.
 
1078 6629 d 10 h jermar /kernel/trunk/ Improved uspace threads.
ia64 needs fixing.
 
1066 6630 d 3 h jermar /kernel/trunk/ Support for user space threads.  
938 6634 d 10 h jermar /kernel/trunk/ Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention.
 
703 6692 d 15 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().
 
534 6732 d 9 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6732 d 9 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6744 d 13 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
413 6780 d 5 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.
 
315 6820 d 21 h jermar /SPARTAN/trunk/arch/ia32/ Make IA-32 userspace stack be aligned on doubleword boundary.
In userspace(), mark "eax" as clobbered register.
 
144 6868 d 14 h vana /SPARTAN/trunk/ Coding style fix  
142 6868 d 15 h vana /SPARTAN/trunk/arch/ia32/src/ Typing error fixed  
141 6868 d 15 h vana /SPARTAN/trunk/ Clear IOPL on start of system on all CPUs and clear NT before all irets.  
125 6874 d 6 h jermar /SPARTAN/trunk/ Huge indentation fix.  
106 6916 d 15 h jermar /SPARTAN/trunk/ IA-32 fixes.
Use kernel addresses instead of physical addresses in map_page_to_frame().
Physical addresses are supposed to only be exported to mm hardware.
Because of this fix, userspace is functional again.

Remap EGA videoram to (0x80000000 + videoram) and change the ega driver to work with the new address.

Minor cosmetics through out the code.
Changes in linker scripts.
 
65 6939 d 9 h decky /SPARTAN/trunk/arch/ia32/ doxygen-style comments  
22 6963 d 10 h jermar /SPARTAN/trunk/ Added before_thread_runs() to cope with TSS of user space tasks.  
15 6971 d 10 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 7021 d 11 h jermar /SPARTAN/ Initial import