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
3770 5632 d 15 h rimsky /branches/sparc/ Working on Niagara port - TLB initialization, MMU fault status area initialization, hypercall enhancement, modified tick.c so that the (hyperprivileged) TICK register does not have to be accessed. Now the initialization phase proceeds, but some parts of it are omitted for now (e.g. CPU initialization).  
3742 5640 d 0 h rimsky /branches/sparc/ The sparc branch synchronized with trunk at revision 3722 (trunk@3722).  
3492 5712 d 18 h rimsky /branches/sparc/ Changes in trunk merged into the sparc branch. SILO's ramdisk issue solved by the CONFIG_RD_EXTERNAL option.  
3343 5768 d 20 h decky /branches/sparc/ add sparc branch  
3194 5818 d 1 h jermar /trunk/kernel/generic/src/console/ Remove left-over debugging stuff.  
3193 5818 d 16 h jermar /trunk/kernel/ cstyle fixes  
3113 5842 d 13 h decky /trunk/kernel/generic/ rename SYS_IO to SYS_KLOG
do not notify uspace klog with every single character, introduce some latency
 
3097 5844 d 17 h decky /trunk/kernel/ resurrect klog  
3065 5845 d 22 h decky /trunk/kernel/generic/src/console/ remove original klog
permanent kernel cyclic log buffer
proper printf formatting
 
2721 5964 d 23 h decky /trunk/kernel/ convert e820list to a generic physmem command  
2697 5985 d 23 h decky /trunk/kernel/ amd64: shorten kernel address space by 2 GB to support proper mapping of more than 2 GB of physical memory  
2626 6037 d 3 h jermar /trunk/kernel/generic/ Support for 5 payload arguments for IPC irq notifications and the pseudo code.  
2572 6088 d 7 h jermar /trunk/kernel/ Remove duplicit implementation of strlen() in kernel, rename is_digit(),
is_white() and co. to their standard names (e.g. isdigit(), isspace()) and
remove duplicit implementation of isdigit(). Fix cstyle in kernel printf()
implementation.
 
2462 6208 d 16 h jermar /trunk/kernel/ Replace gcc-specific __FUNCTION__ with C99 __func__.
suncc's xregs=no%float can be used only on sparc64.
 
2319 6236 d 2 h decky /trunk/kernel/generic/src/console/ run mcall only on active CPUs  
2275 6255 d 18 h decky /trunk/kernel/generic/ add fancy uptime kconsole command  
2227 6267 d 6 h decky /trunk/kernel/ start shutdown infrastructure  
2224 6267 d 13 h decky /trunk/kernel/generic/src/console/ detach joined thread  
2223 6267 d 13 h decky /trunk/kernel/generic/src/ add mcall0 command (calling a function on each CPU)  
2216 6268 d 16 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2141 6279 d 13 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.
 
2114 6329 d 22 h decky /trunk/kernel/generic/src/console/ explicit typecast  
2113 6330 d 0 h decky /trunk/kernel/generic/src/console/ explicit typecast, fix signed/unsigned comparison  
2108 6331 d 1 h jermar /trunk/kernel/generic/src/console/ Cleanup kconsole.c  
2089 6337 d 23 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6348 d 16 h jermar /trunk/ (c) versus (C)  
2051 6378 d 2 h decky /trunk/kernel/ quiet mode  
2050 6378 d 2 h decky /trunk/kernel/ benchmarking with statistics (initial)  
2042 6382 d 20 h decky /trunk/kernel/ introduce uncounted threads, whose accounting doesn't affect accumulated task accounting
run tests in kconsole thread again
 
2039 6383 d 0 h decky /trunk/kernel/generic/ accumulate task accounting, run tests as separate kernel task  
2030 6384 d 0 h decky /trunk/kernel/ thread CPU cycles accounting  
2027 6385 d 0 h decky /trunk/kernel/ cleanup kernel tests infrastructure  
2020 6385 d 18 h decky /trunk/kernel/ integrate more tests  
2019 6385 d 18 h decky /trunk/kernel/ prepare for new test infrastructure  
2015 6387 d 16 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.
 
1972 6421 d 23 h jermar /trunk/ Modify selected function to consume less stack space.

Avoid flushw instruction in the sparc64 loader.
 
1929 6440 d 21 h decky /trunk/kernel/generic/src/console/ ipc_irq_send_msg(NULL, 0, 0, 0) is definitively a bug  
1924 6441 d 15 h jermar /trunk/kernel/generic/ For the sake of clarity, get rid of negative INR for virtual interrupts.
This way, the code can hurt performance on systems where the non-negative klog INR overlaps
with a frequently used INR such as system clock on amd64 and ia32.
 
1923 6441 d 16 h jermar /trunk/ Replace the old IRQ dispatcher and IPC notifier with new implementation.
Note that all architectures except for sparc64 are now broken
and don't even compile.
 
1888 6473 d 19 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.