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
3902 5579 d 15 h jermar /trunk/kernel/ Introduce a more platform-neutral name for programmed I/O.

The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers.
 
3790 5617 d 18 h svoboda /trunk/kernel/ Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.  
3779 5621 d 16 h jermar /trunk/kernel/ Only one kernel EGA driver to rule them all.  
3751 5629 d 19 h svoboda /trunk/kernel/arch/ia32/src/drivers/ Revive kernel EGA fb driver. Plus fix bug -- was using memcpy() for scrolling instead of memmove().  
3707 5640 d 11 h decky /trunk/ kconsole is optional
kernel & uspace framebuffer rewrite with speedups (some things are slightly broken yet)
 
3672 5651 d 10 h jermar /trunk/ Merge sparc branch to trunk.  
3234 5782 d 15 h decky /trunk/ reintroduce support for MSIM text console in user space  
3227 5783 d 11 h decky /trunk/kernel/arch/ia32/src/drivers/ remove unnecessary newline  
3104 5833 d 23 h svoboda /trunk/kernel/ Declare arguments for memstr.h operations as pointers instead of uintptr_t.  
2439 6205 d 9 h decky /trunk/kernel/arch/ia32/src/ fix ICC compilation  
2218 6259 d 7 h decky /trunk/kernel/ support the possibility to send EOI or Interrupt Acknowledgement
prior to processing the interrupt
(this is essential on some architectures to prevent preemption deadlock)
 
2107 6322 d 9 h jermar /trunk/ When clock() is called by an external interrupt dispatched by the IRQ dispatcher,
no spinlock can be held or the kernel will not be preemptive. This fixes Ticket #24.

Formating and indentation fixes.
 
2089 6328 d 17 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6339 d 10 h jermar /trunk/ (c) versus (C)  
2065 6353 d 8 h jermar /trunk/kernel/ Coding style fixes and formatting improvements.  
2018 6376 d 13 h decky /trunk/kernel/ rename rdtsc() to get_cycle()  
2015 6378 d 10 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.
 
1993 6395 d 18 h decky /trunk/ make framebuffer code more generic  
1956 6421 d 19 h decky /trunk/kernel/ ia32: adopt new IRQ interface, mouse not tested yet  
1837 6505 d 22 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.
 

Show All