Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
3709 5674 d 5 h decky /trunk/kernel/ invert VGA 3:2:3 palette to reflect changes in revision 3692  
3707 5674 d 6 h decky /trunk/ kconsole is optional
kernel & uspace framebuffer rewrite with speedups (some things are slightly broken yet)
 
3692 5680 d 3 h rimsky /trunk/ Fixed the bug when on SunBlade1500 we wrote to an address outside the framebuffer memory. A nasty hack to the 8-bit palette so that on sb1500 we do not have to turn black into white and white into black.  
3679 5684 d 0 h rimsky /trunk/ Added forgotten stuff related to framebuffers with offsets. Got rid of VISUAL_SB1500_PALETTE.  
3672 5685 d 5 h jermar /trunk/ Merge sparc branch to trunk.  
2141 6304 d 1 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.
 
2102 6361 d 5 h decky /trunk/kernel/genarch/src/fb/ signed/unsigned comparison, explicit typecast  
2089 6362 d 11 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2086 6364 d 8 h jermar /trunk/kernel/genarch/src/fb/ Don't write to frame buffer memory, which is past the resolution.
This fixes Ticket #17

Coding style a formatting changes in the frame buffer code.
 
2071 6373 d 4 h jermar /trunk/ (c) versus (C)  
2054 6401 d 2 h jermar /trunk/kernel/ Fix important comment in kernel/arch/sparc64/src/proc/scheduler.c.

Improve framebuffer code.

Formatting and indentation fixes.
 
2015 6412 d 4 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.
 
1994 6429 d 11 h decky /trunk/ Add BGR 0888 visual for Ultra 60  
1993 6429 d 12 h decky /trunk/ make framebuffer code more generic  
1991 6430 d 5 h jermar /trunk/kernel/genarch/src/fb/ The prefered switch statement indentation is the one replaced by the previous commit :-)  
1990 6430 d 8 h decky /trunk/kernel/genarch/src/fb/ framebuffer cleanup  
1981 6433 d 12 h jermar /trunk/kernel/ Indentation, formatting and minor changes.  
1888 6498 d 7 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1875 6505 d 5 h jermar /trunk/ sparc64 work.
- Changes to enable userspace keyboard drivers.
- Fix z8530 initialization (i.e. clear any pending Tx interrupts).
- Experimental support for framebuffers with inverted colors.
 
1871 6506 d 15 h jermar /trunk/ Replace FB_BIG_ENDIAN with FB_INVERT_ENDIAN.
Omit tests for architecture endianness in deciding framebuffer endianness.
 
1869 6507 d 8 h jermar /trunk/ Pass "fb.bpp-align" property to userspace so that our fb task works properly even on
framebuffers used in some Sun hardware.
 
1837 6539 d 16 h jermar /trunk/ Support 24bpp framebuffers with 4 pixelbytes (each pixel aligned on 32-bits).

At least on sparc64, the OpenFirmware linebytes property specifies the number
of pixels between consecutive scan lines of the display. Fix scanilne calculation,
including possible alignment.

Add note to 8bpp pixel functions pointing out drawbacks of that mode.
 
1790 6561 d 7 h jermar /trunk/ Remove OpenFirmware calls from kernel/ entirely.

Switch the sparc64 port to use bootinfo.

Copy memcpy from boot/ to sparc64 kernel/ and
adjust it for memcpy_from/to_uspace.
 
1787 6563 d 6 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6570 d 7 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1766 6578 d 14 h palkovsky /kernel/trunk/ Changed frame_alloc call, cleaned a lot of stuff, fixed some not-perfectly-correct error handling.  
1760 6581 d 9 h palkovsky /kernel/trunk/ Changed interface of frame_alloc/free to use address of frame instead of the pfn.
This makes it impossible to use >4GB of memory on 32-bit machines, but who cares...
 
1702 6591 d 10 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1690 6594 d 4 h palkovsky /kernel/trunk/ Yet another fix with framebuffer.  
1683 6594 d 15 h jermar /kernel/trunk/genarch/src/fb/ Pass correct yres to userspace framebuffer.  
1682 6594 d 17 h palkovsky /kernel/trunk/ Fast framebuffer scrolling in kconsole. Eats some memory though.  
1671 6596 d 3 h jermar /kernel/trunk/genarch/src/fb/ Eliminate deadlock condition from fb.  
1473 6604 d 5 h decky /kernel/trunk/ kernel support for text-only framebuffer  
1382 6615 d 3 h decky /kernel/trunk/ make hardware memory mapping more generic  
1376 6616 d 11 h jermar /kernel/trunk/ Change the way the framebuffer is mapped so that sparc64 is usable again.  
1371 6617 d 3 h decky /kernel/trunk/ unify the framebuffer API
use physical address as the base address for the framebuffer
 
1334 6620 d 17 h jermar /kernel/trunk/ Force mips32 frame buffer access to be always big endian.

Fix vmaxlma.c warning when building ia64.
 
1327 6621 d 10 h decky /kernel/trunk/ split framebuffer initialization and sysinfo registration  
1318 6622 d 4 h vana /kernel/trunk/ Sysinfo userspace interface  
1317 6622 d 6 h vana /kernel/trunk/ System information tools