Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4581 5425 d 1 h mejdrech /branches/network/ Net: synchronized with trunk rev.4580  
4153 5526 d 0 h mejdrech /branches/network/ Networking: merged with trunk changes  
3386 5722 d 3 h decky /branches/network/ add new network branch (copy of current trunk)  
3104 5811 d 12 h svoboda /trunk/kernel/ Declare arguments for memstr.h operations as pointers instead of uintptr_t.  
2272 6225 d 1 h jermar /trunk/kernel/ Indentation and formatting fixes.  
2170 6243 d 21 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.
 
2144 6246 d 22 h jermar /trunk/kernel/arch/sparc64/src/mm/ Fix TSB size.  
2141 6247 d 20 h jermar /trunk/ The Ultimate Solution To Illegal Virtual Aliases.
It is better to avoid them completely than to fight them.
Switch the sparc64 port to 16K pages. The TLBs and TSBs
continue to operate with 8K pages only. Page tables and
other generic parts operate with 16K pages.

Because the MMU doesn't support 16K directly, each 16K
page is emulated by a pair of 8K pages. With 16K pages,
illegal aliases cannot be created in 16K D-cache.
 
2089 6306 d 6 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6316 d 23 h jermar /trunk/ (c) versus (C)  
2048 6349 d 1 h jermar /trunk/ Formatting and indentation changes.  
2015 6355 d 23 h jermar /trunk/ Rework support for virtually indexed cache.
Instead of repeatedly flushing the data cache, which was a huge overkill, refuse to create an illegal address alias
in the kernel (again) and allocate appropriate page color in userspace instead. Extend the detection also to
SYS_PHYSMEM_MAP syscall.

Add support for tracking physical memory areas mappable by SYS_PHYSMEM_MAP.

Lots of coding style changes.
 
2010 6360 d 22 h jermar /trunk/kernel/arch/sparc64/src/mm/ Fix comment.  
2009 6360 d 23 h jermar /trunk/kernel/ Initial support for handling illegal virtual aliases on sparc64.  
1987 6375 d 0 h jermar /trunk/kernel/arch/sparc64/src/ Take the possible difference between kernel and physical address into account in TSB and userspace window buffer
allocation and deallocation code.
 
1903 6429 d 0 h jermar /trunk/ SMP stuff for sparc64.
Almost complete except for IPIs.
The absence of IPI support deadlocks
the kernel when more CPUs are configured.
 
1892 6437 d 9 h jermar /trunk/kernel/arch/sparc64/src/mm/ Small improvement in initialization of sparc64's TBSs.  
1891 6437 d 22 h jermar /trunk/kernel/ sparc64 work:
- Experimental support for TSB (Translation Storage Buffer).
 
1890 6438 d 8 h jermar /trunk/ - Create a dedicated slab cache for as_t objects and switch from malloc/free to slab_alloc/slab_free for
them.

- Slightly fix and improve both the kernel and userspace atomic_add() on sparc64.

- More TSB work on the sparc64 front.
 
1888 6442 d 3 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 

Show All