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
2185 6258 d 15 h decky /trunk/ rename ipcc to tester  
2184 6258 d 17 h decky /trunk/kernel/generic/src/lib/ add zetta (sextillion) prefix
make constants explicitly unsigned
 
2183 6259 d 11 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 6260 d 4 h jancik /branches/arm/kernel/arch/arm32/ Alf: Paging ... not tested  
2181 6261 d 7 h konopa /branches/fs/kernel/doc/ New author added  
2180 6261 d 9 h stepan /branches/arm/kernel/arch/arm32/include/ exception vector locations added  
2179 6261 d 9 h stepan /branches/arm/kernel/arch/arm32/ exception handlers installation & initialization routines  
2178 6261 d 14 h kebrt /branches/arm/kernel/arch/arm32/include/ istate structure added  
2177 6261 d 17 h stepan /branches/arm/kernel/arch/arm32/src/ arch/regutils.h changes reflected  
2176 6261 d 17 h stepan /branches/arm/kernel/arch/arm32/include/ status registers manipulation macros  
2175 6262 d 7 h jancik /branches/arm/kernel/arch/arm32/ Alf: Disable ASID support  
2174 6263 d 11 h kebrt /branches/arm/kernel/arch/arm32/include/ atomic_add added  
2173 6263 d 18 h kebrt /branches/arm/kernel/arch/arm32/ console added, does not work yet  
2172 6263 d 18 h kebrt /branches/arm/kernel/arch/arm32/src/ memcpy added  
2171 6263 d 18 h kebrt /branches/arm/kernel/arch/arm32/ memcpy added  
2170 6264 d 5 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 6264 d 6 h kebrt /branches/arm/kernel/arch/arm32/src/ debug print added  
2168 6264 d 6 h kebrt /branches/arm/kernel/arch/arm32/ context save/restore added  
2167 6264 d 6 h kebrt /branches/arm/kernel/arch/arm32/src/ debugging printf added  
2166 6264 d 6 h kebrt /branches/arm/kernel/arch/arm32/include/ context added  
2165 6264 d 6 h kebrt /branches/arm/boot/arch/arm32/loader/ indenting  
2164 6265 d 8 h jancik /branches/arm/tools/ ALf: correction .. wrong version previosly commited  
2163 6265 d 8 h jancik /branches/arm/kernel/arch/arm32/ Alf : TLB support  
2162 6265 d 15 h stepan /branches/arm/kernel/arch/arm32/ interrupt enabling/disabling  
2161 6266 d 8 h jermar /trunk/kernel/arch/sparc64/src/mm/ Fix TSB bug during TSB refill.
When one wants to enable a TSB entry, he or she should set the
entry invalid bit to false, as opposed to setting it to true.
 
2160 6266 d 8 h decky /trunk/boot/arch/ remove duplicate dependency  
2159 6266 d 13 h kebrt /branches/arm/kernel/arch/arm32/ kernel_image_start, arch_pre_main added  
2158 6266 d 13 h kebrt /branches/arm/boot/arch/arm32/loader/ __builtin_memcpy used  
2157 6266 d 15 h jancik /branches/arm/tools/ Cygwin with TurtoiseSVN has problem with symlinks ... this script solves this.

Run this after downloading sources and before compilation.

Alf
 
2156 6266 d 15 h kebrt /branches/arm/boot/generic/ link added  
2155 6266 d 17 h kebrt /branches/arm/kernel/arch/arm32/ kernel init now only halts the simulator  
2154 6266 d 17 h kebrt /branches/arm/boot/arch/arm32/loader/ jump to kernel fixed  
2153 6266 d 17 h kebrt /branches/arm/boot/arch/arm32/loader/ memcpy changed to gcc-generated  
2152 6266 d 17 h kebrt /branches/arm/boot/arch/arm32/loader/ comments  
2151 6266 d 17 h kebrt /branches/arm/boot/arch/arm32/loader/ missing dependencies  
2150 6266 d 19 h kebrt /branches/arm/boot/genarch/ softint added to boot  
2149 6267 d 1 h jancik /branches/arm/kernel/arch/arm32/include/  
2148 6267 d 1 h jancik /branches/arm/kernel/doc/  
2147 6267 d 1 h jancik /branches/arm/kernel/arch/arm32/include/ alf: Page table structure  
2146 6267 d 4 h kebrt /branches/arm/kernel/arch/arm32/ small changes for gxemul (elf->binary), OUTPUT_ARCH added