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
623 6737 d 23 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.
 
622 6738 d 13 h palkovsky /kernel/trunk/ Better gcc CALLER implementation  
621 6738 d 19 h palkovsky /kernel/trunk/ better architecture line  
616 6739 d 11 h palkovsky /kernel/trunk/generic/src/debug/ Symtab completion now completes even * and & symbols.  
615 6739 d 23 h palkovsky /kernel/trunk/ Cleanups to make it compile with -Wall. Did not catch everything yet.  
614 6740 d 8 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 6740 d 15 h jermar /kernel/trunk/generic/src/console/ Fix kconsole so that side-effect command shortcuts do not take effect.  
609 6740 d 17 h palkovsky /kernel/trunk/ added support for breakpoints to mips32  
608 6740 d 17 h palkovsky /kernel/trunk/generic/src/console/ intelligent retyping for set4  
607 6740 d 17 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 6740 d 18 h palkovsky /kernel/trunk/ Small kconsole readline changes.
Some mips tweaks to allow for real keyboard support in indy.
 
603 6741 d 11 h palkovsky /kernel/trunk/generic/src/ Added set4 command.  
602 6741 d 12 h palkovsky /kernel/trunk/ Symtab returns correct addresses even when symtab is befor bss.
Some tab completion optimization.
 
601 6741 d 14 h palkovsky /kernel/trunk/ Added some readline functionality to kconsole.
Arrows editing, history, tab completion.
 
597 6741 d 20 h jermar /kernel/trunk/ Finer grained TLB invalidate functions for ia32 and amd64. Not yet deployed.  
596 6742 d 10 h jermar /kernel/trunk/ kconsole cleanup.
Separate commands from the engine.
 
594 6742 d 15 h jermar /kernel/trunk/ ptlb command (currently usable on mips32 only).  
591 6742 d 16 h palkovsky /kernel/trunk/generic/src/ Fixes in new console.  
590 6742 d 16 h palkovsky /kernel/trunk/ Move all MIPS exceptions to generic dispatcher.
Align size in malloc() to __native size, some architectures
don't like it unaligned.
 
589 6742 d 17 h palkovsky /kernel/trunk/generic/src/console/ Added * operator to symbols.  
588 6742 d 17 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
 
587 6742 d 17 h jermar /kernel/trunk/ Nasty hack for ppc32.
Main Makefile now passes -D$(ARCH) so that it is possible to have ugly architectural #ifdefs.
 
586 6742 d 18 h jermar /kernel/trunk/ Fix ppc32 and sparc64 to compile again.
Fix sparc64 to function again.
 
585 6742 d 18 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 6742 d 19 h palkovsky /kernel/trunk/generic/ Added calling of generic functions to kconsole.  
581 6742 d 22 h palkovsky /kernel/trunk/ Small debug changes.  
579 6742 d 22 h palkovsky /kernel/trunk/generic/src/ Removed unnecessary interrupts_disable from kconsole.
Fixed calling gets() with interrupts_disable.
 
578 6743 d 8 h palkovsky /kernel/trunk/ Added exception printing.
It does not work correctly on SMP architectures :-/
Preemption error....
 
575 6743 d 10 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.
 
571 6744 d 9 h jermar /kernel/trunk/generic/include/ Missing braces.
By the way, new ALIGN_UP broke ppc32 (commits 564 vs. 565).
 
569 6744 d 11 h jermar /kernel/trunk/ sparc64 work.
Implement functions for reading IMMU and DMMU TLBs.
 
565 6745 d 10 h jermar /kernel/trunk/generic/include/ Improved ALIGN_UP.  
564 6745 d 11 h jermar /kernel/trunk/ Send in some improvements.  
562 6745 d 16 h decky /kernel/trunk/generic/src/main/ fix typo  
561 6745 d 17 h decky /kernel/trunk/ better way of placing revision, timestamp and arch in banner  
557 6745 d 20 h jermar /kernel/trunk/ Add comments describing locking rules for some locks.
Cleanup.
 
553 6746 d 12 h palkovsky /kernel/trunk/generic/include/synch/ Fix of compiling without SMP.  
552 6746 d 12 h palkovsky /kernel/trunk/ Named spinlocks  
548 6746 d 14 h jermar /kernel/trunk/ Cleanup and fixes.  
544 6746 d 21 h decky /kernel/trunk/generic/src/console/ kconsole halt command