Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4348 5717 d 23 h svoboda /branches/dynload/ Merge latest trunk changes to dynload.  
4346 5719 d 10 h svoboda /branches/dynload/ Merge trunk changes up to r4145 to dynload.  
4344 5719 d 11 h svoboda /branches/dynload/ Merge trunk changes up to r3988 to dynload.  
4343 5719 d 11 h svoboda /branches/dynload/ Merged trunk changes up to r3925 to dynload.  
3674 5864 d 10 h svoboda /branches/dynload/ Merge latest trunk changes to dynload.  
2927 6068 d 22 h decky /branches/dynload/ added dynload branch  
2745 6146 d 20 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2141 6483 d 8 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.
 
2071 6552 d 11 h jermar /trunk/ (c) versus (C)  
2048 6584 d 13 h jermar /trunk/ Formatting and indentation changes.  
2015 6591 d 12 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.
 
1982 6612 d 19 h jermar /trunk/ Modify the sparc64 startup code to not cause MMU traps before it takes over the TLB and
the trap table. Fix several PA2KA and KA2PA omittions or errors. Fix configuration to pass
the DEFS variable along.
 
1918 6652 d 11 h jermar /trunk/kernel/arch/sparc64/src/mm/ Omitted comma.  
1917 6652 d 12 h jermar /trunk/ sparc64 work:
- hw_map() can now support up to 8M requests
- CPU stacks are now locked in DTLB of the respective processor
- kernel in the boot phase no longer relies on the stack provided by OpenFirmware
- instead of of doing FLUSHW during kernel startup, simply set the
window state registers to the wanted state
- NWINDOW -> NWINDOWS
- Add/fix some comments and copyrights.
 
1903 6664 d 12 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.
 
1888 6677 d 15 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1841 6713 d 19 h jermar /trunk/kernel/ Start reorganization of different keyboard drivers.
What seemed like a screwed i8042 chip appears to be
Zilog 8530.

The repository won't compile now. To be fixed in next commits.
 
1793 6739 d 20 h jermar /trunk/kernel/ Change hw_map() on sparc64 to use virtual addresses that are
beyond the end of physical memory. It is beneficial in two
ways: first, physical memory is no longer being wasted by
otherwise necessary calls to frame_alloc() and, second,
virtual addresses for devices are now correctly allocated
and do not overlap with the 4M TLB-locked mapping for
kernel text and data.
 
1787 6742 d 13 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6749 d 15 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  

Show All