Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4282 5504 d 1 h decky /trunk/kernel/arch/sparc64/ repair two glitches in memory management
(no beer today :))
 
4277 5504 d 19 h jermar /trunk/kernel/arch/sparc64/ On sparc64, do fast indentity mapping only for physical memory.
For addresses above physical memory, such as I/O devices,
fall through to the C miss handler and map the memory noncacheably.
Replace deprecated Bicc instructions with proper Bcc instructions.
 
4223 5515 d 19 h decky /trunk/kernel/ represent special keystrokes (cursor arrows, page up/down, delete, etc.) as appropriate Unicode characters
do not parse ANSI control sequences in kconsole, but in serial line driver
 
4220 5516 d 3 h decky /trunk/kernel/ update for string changes  
4140 5532 d 14 h jermar /trunk/kernel/arch/sparc64/src/mm/ Update comments for the new hw_map(), which was committed in r4138.  
4138 5532 d 15 h jermar /trunk/ Revert the previous commit.  
3973 5551 d 0 h decky /trunk/kernel/ kernel memory management revisited (phase 2): map physical memory according to zones
- ia32: register reserved and ACPI zones
- pareas are now used only for mapping of present physical memory (hw_area() is gone)
- firmware zones and physical addresses outside any zones are allowed to be mapped generally
- fix nasty antient bug in zones_insert_zone()
 
3940 5557 d 18 h decky /trunk/kernel/ make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
 
3908 5561 d 16 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
3672 5634 d 15 h jermar /trunk/ Merge sparc branch to trunk.  
2745 5916 d 23 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2141 6253 d 11 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 6322 d 14 h jermar /trunk/ (c) versus (C)  
2048 6354 d 16 h jermar /trunk/ Formatting and indentation changes.  
2015 6361 d 15 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 6382 d 22 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 6422 d 14 h jermar /trunk/kernel/arch/sparc64/src/mm/ Omitted comma.  
1917 6422 d 16 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 6434 d 15 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 6447 d 18 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 

Show All