Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2201 6389 d 0 h jancik /branches/arm/kernel/generic/ Alf: Temporary kernel hack ... redirecting kernel printf function to aux_printf to kernel prints was visible  
2200 6389 d 0 h jancik /branches/arm/kernel/arch/arm32/src/ Alf: nothing important arm32 ... comment unnesesary things, dummy.S each symbol have different address so you can found what function call fall down  
2199 6389 d 0 h jancik /branches/arm/kernel/arch/arm32/ Alf: Memory management update  
2198 6389 d 0 h jancik /branches/arm/ Alf: Start kernel at 0x8010 0000 with paging enabled  
2197 6389 d 6 h kebrt /branches/arm/kernel/arch/arm32/ linker script reverted & -fno-zero-initialized-in-bss added  
2196 6389 d 6 h kebrt /branches/arm/kernel/arch/arm32/ linker script reverted & -fno-zero-initialized-in-bss added  
2195 6389 d 6 h kebrt /branches/arm/kernel/arch/arm32/include/ comments & formatting  
2194 6389 d 6 h kebrt /branches/arm/kernel/arch/arm32/ linker script cleaned (not sure about all changes, but problem with stack_safe != 0 solved)  
2193 6389 d 7 h decky /trunk/uspace/tester/ reimplement all tests from original ipcc
(cleanup needed)
 
2192 6389 d 7 h decky /trunk/uspace/libc/arch/sparc64/include/ fix uspace atomic_add according kernel code  
2191 6389 d 7 h kebrt /branches/arm/kernel/arch/arm32/include/ stack constants  
2190 6389 d 7 h kebrt /branches/arm/kernel/arch/arm32/include/ get_stack_base() added  
2189 6389 d 7 h kebrt /branches/arm/kernel/arch/arm32/ ARM CPU identification  
2188 6389 d 8 h decky /trunk/ new user space testing framework (unfinished)  
2187 6389 d 9 h decky /trunk/kernel/generic/ add syscall for getting current thread ID  
2186 6389 d 9 h decky /trunk/uspace/tester/ rename ipcc.c to tester.c  
2185 6389 d 9 h decky /trunk/ rename ipcc to tester  
2184 6389 d 11 h decky /trunk/kernel/generic/src/lib/ add zetta (sextillion) prefix
make constants explicitly unsigned
 
2183 6390 d 6 h jermar /trunk/kernel/generic/ Continue to de-oversynchronize the kernel.
- replace as->refcount with an atomic counter; accesses to this
reference counter are not to be done when the as->lock mutex is held;
this gets us rid of mutex_lock_active();

Remove the possibility of a deadlock between TLB shootdown and asidlock.
- get rid of mutex_lock_active() on as->lock
- when locking the asidlock spinlock, always do it conditionally and with
preemption disabled; in the unsuccessful case, enable interrupts and try again
- there should be no deadlock between TLB shootdown and the as->lock mutexes
- PLEASE REVIEW !!!

Add DEADLOCK_PROBE's to places where we have spinlock_trylock() loops.
 
2182 6390 d 22 h jancik /branches/arm/kernel/arch/arm32/ Alf: Paging ... not tested  
2181 6392 d 1 h konopa /branches/fs/kernel/doc/ New author added  
2180 6392 d 3 h stepan /branches/arm/kernel/arch/arm32/include/ exception vector locations added  
2179 6392 d 4 h stepan /branches/arm/kernel/arch/arm32/ exception handlers installation & initialization routines  
2178 6392 d 8 h kebrt /branches/arm/kernel/arch/arm32/include/ istate structure added  
2177 6392 d 12 h stepan /branches/arm/kernel/arch/arm32/src/ arch/regutils.h changes reflected  
2176 6392 d 12 h stepan /branches/arm/kernel/arch/arm32/include/ status registers manipulation macros  
2175 6393 d 2 h jancik /branches/arm/kernel/arch/arm32/ Alf: Disable ASID support  
2174 6394 d 6 h kebrt /branches/arm/kernel/arch/arm32/include/ atomic_add added  
2173 6394 d 13 h kebrt /branches/arm/kernel/arch/arm32/ console added, does not work yet  
2172 6394 d 13 h kebrt /branches/arm/kernel/arch/arm32/src/ memcpy added  
2171 6394 d 13 h kebrt /branches/arm/kernel/arch/arm32/ memcpy added  
2170 6394 d 23 h jermar /trunk/kernel/ Simplify synchronization in as_switch().
The function was oversynchronized, which
was causing deadlocks on the address
space mutex.

Now, address spaces can only be switched
when the asidlock is held. This also protects
stealing of ASIDs. No other synchronization
is necessary.
 
2169 6395 d 0 h kebrt /branches/arm/kernel/arch/arm32/src/ debug print added  
2168 6395 d 1 h kebrt /branches/arm/kernel/arch/arm32/ context save/restore added  
2167 6395 d 1 h kebrt /branches/arm/kernel/arch/arm32/src/ debugging printf added  
2166 6395 d 1 h kebrt /branches/arm/kernel/arch/arm32/include/ context added  
2165 6395 d 1 h kebrt /branches/arm/boot/arch/arm32/loader/ indenting  
2164 6396 d 2 h jancik /branches/arm/tools/ ALf: correction .. wrong version previosly commited  
2163 6396 d 2 h jancik /branches/arm/kernel/arch/arm32/ Alf : TLB support  
2162 6396 d 10 h stepan /branches/arm/kernel/arch/arm32/ interrupt enabling/disabling