Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
788 6692 d 11 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
777 6693 d 11 h palkovsky /kernel/trunk/generic/ added thread list to kconsole.  
775 6693 d 16 h palkovsky /kernel/trunk/generic/ Added scheduler queues output. The scheduler is buggy - on SMP
the cpus never get tu cpu_sleep, in slab2 test on 4 cpus everything
is on the first cpu.
The slab allocator passes tests in this configuration, but in slightly
different(more efficient) locking order it panics. TODO: Find out why
does it panic.
 
759 6696 d 4 h palkovsky /kernel/trunk/ Skeleton of SLAB allocator.  
677 6724 d 11 h bondari /kernel/trunk/generic/src/ Comments to zone console commands  
676 6724 d 11 h bondari /kernel/trunk/generic/ Memory zones console command implementation. todo: buddy allocator structures.  
673 6725 d 7 h jermar /kernel/trunk/ Add 'version' and 'cpus' kconsole commands.
Remove leading p from names of p* commands.
 
668 6729 d 14 h bondari /kernel/trunk/generic/src/console/ Zones related commands infrastructure for console. Also fixed small bug that caused infinite loop during command parsing  
640 6742 d 6 h jermar /kernel/trunk/ sparc64 work.
CPU identification.
 
635 6743 d 5 h palkovsky /kernel/trunk/ Fixed kconsole resolution of similar commands.
Add commands to debugger to allow for simple profiling or
calling debug actions if needed.
 
631 6744 d 8 h palkovsky /kernel/trunk/ Fixed cpu halting in debug panic mode.  
625 6744 d 13 h palkovsky /kernel/trunk/ We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning.
 
624 6744 d 14 h jermar /kernel/trunk/generic/ Add LIST_INITIALIZE() macro to declare and initialize statically allocated lists.  
623 6744 d 19 h jermar /kernel/trunk/ Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed.
 
614 6747 d 4 h palkovsky /kernel/trunk/ Added support for mips breakpoints.
We have a kind of kernel debugger :-)
Breakpoints on JMP/Branch instructions are not supported and
they are reported after the breakpoint is fired and exited as
a BranchDelay exception. If we found a way, how to detect these
instructions, we would be able to support them as 'one-time' breakpoints.
 
611 6747 d 11 h jermar /kernel/trunk/generic/src/console/ Fix kconsole so that side-effect command shortcuts do not take effect.  
609 6747 d 12 h palkovsky /kernel/trunk/ added support for breakpoints to mips32  
608 6747 d 13 h palkovsky /kernel/trunk/generic/src/console/ intelligent retyping for set4  
607 6747 d 13 h palkovsky /kernel/trunk/ Fixed weird simics panic.
Run kconsole, if we panic. This currently works in gxemul,
simics. In mips we need to modify the simulator.
On ia32 we need a function, that would speak directly to the chip
and fetch the character using polling.
 
606 6747 d 14 h palkovsky /kernel/trunk/ Small kconsole readline changes.
Some mips tweaks to allow for real keyboard support in indy.
 
603 6748 d 7 h palkovsky /kernel/trunk/generic/src/ Added set4 command.  
602 6748 d 8 h palkovsky /kernel/trunk/ Symtab returns correct addresses even when symtab is befor bss.
Some tab completion optimization.
 
601 6748 d 9 h palkovsky /kernel/trunk/ Added some readline functionality to kconsole.
Arrows editing, history, tab completion.
 
596 6749 d 5 h jermar /kernel/trunk/ kconsole cleanup.
Separate commands from the engine.
 
594 6749 d 10 h jermar /kernel/trunk/ ptlb command (currently usable on mips32 only).  
591 6749 d 11 h palkovsky /kernel/trunk/generic/src/ Fixes in new console.  
589 6749 d 12 h palkovsky /kernel/trunk/generic/src/console/ Added * operator to symbols.  
588 6749 d 13 h palkovsky /kernel/trunk/ Added support for backspace
- printing '\b' should move the cursor one char to the left
- backspace key should return '\b' to application
 
585 6749 d 13 h palkovsky /kernel/trunk/generic/ String constants without spaces are now supported by call commands.
For more we would need some lexer.
The call? commands are not compatibile with stdarg functions on AMD
architectures, because of the calling sequence.
 
582 6749 d 14 h palkovsky /kernel/trunk/generic/ Added calling of generic functions to kconsole.  
579 6749 d 18 h palkovsky /kernel/trunk/generic/src/ Removed unnecessary interrupts_disable from kconsole.
Fixed calling gets() with interrupts_disable.
 
575 6750 d 5 h palkovsky /kernel/trunk/ Added generic exc_register/exc_dispatch functions,
copied from ia32 architecture. Currently only mips32 uses them.

The chardev_t can now be both input & output device (was
needed for serial driver).

Broken other architectures - ia64, sparc, powerpc will not compile.

Mips32 supports input on all msim, gxemul, indy(tested emulation
in gxemul, loses characters), simics. Simics serial line
is done using polling, I was unable to make it produce
an interrupt when the key was pressed.
 
552 6753 d 7 h palkovsky /kernel/trunk/ Named spinlocks  
548 6753 d 10 h jermar /kernel/trunk/ Cleanup and fixes.  
544 6753 d 16 h decky /kernel/trunk/generic/src/console/ kconsole halt command  
534 6755 d 10 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6755 d 10 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
518 6763 d 7 h jermar /kernel/trunk/ Improve kconsole's support for recognition of commands with arguments.
Implement ARG_TYPE_STRING.
Add 'describe' command.
Move kconsole.c to generic/src/console.
Move kconsole.h to generic/include/console.
 
517 6764 d 6 h jermar /kernel/trunk/ Implement basic kernel console command recognition.
Commands without arguments are now recognized.
 
511 6767 d 5 h jermar /kernel/trunk/ Enable dummy kconsole for ia32 and amd64 (UP mode works).