Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4346 5673 d 10 h svoboda /branches/dynload/ Merge trunk changes up to r4145 to dynload.  
4345 5673 d 10 h svoboda /branches/dynload/ Merge trunk changes up to r4040 to dynload.  
3168 5988 d 19 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 6022 d 22 h decky /branches/dynload/ added dynload branch  
2575 6224 d 12 h jermar /trunk/kernel/arch/ia32/src/ Formatting fixes.  
2099 6494 d 14 h decky /trunk/kernel/arch/ia32/src/ explicit cast on pointer arithmetic  
2082 6501 d 19 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2071 6506 d 11 h jermar /trunk/ (c) versus (C)  
1888 6631 d 15 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6696 d 13 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1702 6724 d 17 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1121 6806 d 10 h jermar /kernel/trunk/ Small textual changes.  
1112 6806 d 21 h palkovsky /kernel/trunk/ Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction).
 
1104 6807 d 14 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 6812 d 14 h jermar /kernel/trunk/ Improved uspace threads.
ia64 needs fixing.
 
1066 6813 d 6 h jermar /kernel/trunk/ Support for user space threads.  
938 6817 d 13 h jermar /kernel/trunk/ Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention.
 
703 6875 d 19 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 6915 d 12 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6915 d 12 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6927 d 17 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
413 6963 d 8 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 7004 d 0 h jermar /SPARTAN/trunk/arch/ia32/ Make IA-32 userspace stack be aligned on doubleword boundary.
In userspace(), mark "eax" as clobbered register.
 
144 7051 d 18 h vana /SPARTAN/trunk/ Coding style fix  
142 7051 d 19 h vana /SPARTAN/trunk/arch/ia32/src/ Typing error fixed  
141 7051 d 19 h vana /SPARTAN/trunk/ Clear IOPL on start of system on all CPUs and clear NT before all irets.  
125 7057 d 10 h jermar /SPARTAN/trunk/ Huge indentation fix.  
106 7099 d 19 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 7122 d 13 h decky /SPARTAN/trunk/arch/ia32/ doxygen-style comments  
22 7146 d 14 h jermar /SPARTAN/trunk/ Added before_thread_runs() to cope with TSS of user space tasks.  
15 7154 d 13 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 7204 d 14 h jermar /SPARTAN/ Initial import