Subversion Repositories HelenOS

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4679 5405 d 3 h rimsky /branches/sparc/kernel/ Enhancing the way how even distribution of threads over processor cores is achieved.  
4663 5413 d 6 h rimsky /branches/sparc/kernel/ Implemented detection of execution units, used in a heuristics which prevents the ready threads be unevenly distributed among physical cores by changing the order in which APs are woken up (and hence the order in which the CPUs will be running their kcpulb thread). Cleanup.  
4638 5425 d 4 h rimsky /branches/sparc/kernel/ SMP on Niagara made working: debugged the problem with the 'non-deterministic' symptoms, implemented the IPI mechanism.  
4614 5432 d 0 h rimsky /branches/sparc/kernel/arch/sparc64/ Waking CPUs up on sun4v. Weird errors occur when accessing the THE structure.  
4433 5472 d 1 h rimsky /branches/sparc/kernel/arch/sparc64/ Fixed a TSB problem.  
4383 5485 d 6 h rimsky /branches/sparc/kernel/arch/sparc64/ Fixed instruction access exception and data access exception in the trap table. Added new traps defined by UltraSPARC Architecture 2007 (which UltraSPARC T2 follows).  
4369 5489 d 0 h rimsky /branches/sparc/kernel/arch/sparc64/ Kernel stack and userspace window buffer pointers are stored in scratchpad registers instead of memory.  
4130 5545 d 0 h rimsky /branches/sparc/ Cleanup of the Niagara port. The main purpose of these changes is to make it easy to find out which code is generic, which is sun4u-specific and which is sun4v-specific.  
4129 5545 d 20 h rimsky /branches/sparc/kernel/arch/sparc64/ Implemented missing features in Niagara memory management, minor cleanup.  
4073 5547 d 23 h rimsky /branches/sparc/ Implemented input and output drivers for Niagara. Written in the old-fashion style (do not use the new DDI infrastructure nor the new keyboard driver). Anyway, tetris can be played.  
4068 5549 d 22 h rimsky /branches/sparc/kernel/arch/sparc64/src/trap/sun4v/ Fixed a stupid bug.  
4065 5550 d 21 h rimsky /branches/sparc/kernel/arch/sparc64/src/ minor cleanup  
4064 5550 d 22 h rimsky /branches/sparc/kernel/arch/sparc64/src/trap/sun4v/ Workaround for the bug which usually caused rewriting saved register window data on the uspace stack. More investigation needed.  
4063 5550 d 22 h rimsky /branches/sparc/uspace/lib/libc/arch/sparc64/include/ Fixed the bug which caused unexpected MMU misses. The fix breaks sun4u ports - this will be solved once the sun4v is integrated with the new configuration mechanism, which allows to define common options for both kernel and uspace.  
3993 5557 d 21 h rimsky /branches/sparc/kernel/ Implemented preemptible trap handler for userspace (including syscalls - did not forget enabling interrupts for them) and the ralated stuff. Implemented handlers of instruction/data MMU miss/protection. Now some userspace tasks are run; there are, however, still some bugs causing unexpected data MMU misses.  
3864 5578 d 22 h rimsky /branches/sparc/kernel/arch/sparc64/src/sun4v/ Allocated bigger memory block for the Machine Description. This was the problem which prevented running HelenOS on real Niagara. Now all kernel tests except for 'slab2' pass on real Niagara.  
3863 5579 d 20 h rimsky /branches/sparc/ Simics machine: modifications needed to run userspace (the next step will be to implement the trap handler for uspace); real machine: small fixes, after them the machine passes some parts of the initialization, but fails to determine CPU frequency (probably due to a different format of Machine Description).  
3862 5582 d 21 h rimsky /branches/sparc/kernel/ Changed the structure of header files, which have sun4u and sun4v versions. Implemented some sun4v TSB functions.  
3835 5587 d 21 h rimsky /branches/sparc/kernel/arch/sparc64/ Niagara: Implemented (and debugged) installing identity mapping for kernel. Now all the kernel tests pass on Simics.  
3817 5595 d 21 h rimsky /branches/sparc/kernel/ Progress on Niagara: Commented out portions of mm, which are not required for kernel threads (temporarily). Scheduler is working. Implemented a driver of hypervisor's standard input. Kernel console is usable.  
3801 5599 d 23 h rimsky /branches/sparc/kernel/arch/sparc64/src/trap/sun4v/ Minor fixes in the preemptible trap handler.  
3798 5600 d 21 h rimsky /branches/sparc/kernel/ Implemented preemptible trap handler for sun4v for trapping from kernel (not userspace). Not properly tested/debugged yet. HelenOS now reaches the as_install_arch function (where it, of course, fails).  
3783 5612 d 22 h rimsky /branches/sparc/kernel/arch/sparc64/ Machine description traversal implemented. Now used to detect CPU frequency.  
3771 5615 d 22 h rimsky /branches/sparc/kernel/arch/sparc64/ Forgotten files comitted to repository.  
3770 5615 d 22 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).  
3748 5622 d 23 h rimsky /branches/sparc/kernel/arch/sparc64/ Be careful to preserve the output registers when processing the fast data access MMU miss.  
3745 5623 d 5 h rimsky /branches/sparc/ Merged latest trunk changes (revs 3722 to 3744) into the sparc branch.  
3743 5623 d 7 h rimsky /branches/sparc/ Started to implement support for sun4v. Bootloader adapted to autodetect the architecture (sun4u, sun4v). Some generic sparc64 kernel files split into sun4u and sun4v versions (but the sun4u is still the default in many cases - in order to keep the code compilable). Implemented taking over the MMU. Implemented routines for performing the hypervisor API calls. Implemented a trivial standard output driver. HelenOS banner can now be printed from the kernel on Niagara.  
3742 5623 d 7 h rimsky /branches/sparc/ The sparc branch synchronized with trunk at revision 3722 (trunk@3722).  
3665 5646 d 20 h rimsky /branches/sparc/ Merged latest trunk changes into the sparc brach.  
3664 5646 d 21 h rimsky /branches/sparc/ Added some SunBlade 1500 stuff (part of it is just temporary - e.g. the new visual). Some small fixes and enhancements.  
3618 5656 d 21 h rimsky /branches/sparc/ Support for framebuffers, where the first pixel is mapped to a different address than the OBP 'reg' property claims. Cleanup, comments, C-style.  
3607 5657 d 20 h rimsky /branches/sparc/ Cleanup and minor fixes.  
3602 5658 d 0 h rimsky /branches/sparc/ Merge latest trunk changes into the sparc branch.  
3593 5661 d 21 h rimsky /branches/sparc/ Merged latest trunk changes into sparc branch.  
3592 5661 d 21 h rimsky /branches/sparc/ Simics configuration script booting HelenOS on Niagara added.  
3591 5662 d 5 h rimsky /branches/sparc/ Making the code compatible also with US-IV (US-IV+) - TLB size based on CPU autodetection, cleanup of code waking up APs. General cleanup.  
3582 5667 d 10 h rimsky /branches/sparc/ Made changes making HelenOS run on US-IV CPUs. Minor refactoring of the SGCN driver.  
3549 5674 d 20 h rimsky /branches/sparc/ Implemented uspace Serengeti drivers for kbd and fb. Integrated with other parts of HelenOS. Now it is possible to play Tetris on a simulated Serengeti machine (usiii.simics).  
3514 5683 d 21 h rimsky /branches/sparc/ Input support added to SGCN driver, connected to HelenOS kernel (uspace TBD), so that kconsole is usable.