Rev |
Age |
Author |
Path |
Log message |
Diff |
625 |
6908 d 18 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 |
6908 d 18 h |
jermar |
/kernel/trunk/generic/ |
Add LIST_INITIALIZE() macro to declare and initialize statically allocated lists. |
|
623 |
6908 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. |
|
614 |
6911 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 |
6911 d 15 h |
jermar |
/kernel/trunk/generic/src/console/ |
Fix kconsole so that side-effect command shortcuts do not take effect. |
|
609 |
6911 d 16 h |
palkovsky |
/kernel/trunk/ |
added support for breakpoints to mips32 |
|
607 |
6911 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 |
6911 d 18 h |
palkovsky |
/kernel/trunk/ |
Small kconsole readline changes.
Some mips tweaks to allow for real keyboard support in indy. |
|
603 |
6912 d 11 h |
palkovsky |
/kernel/trunk/generic/src/ |
Added set4 command. |
|
602 |
6912 d 12 h |
palkovsky |
/kernel/trunk/ |
Symtab returns correct addresses even when symtab is befor bss.
Some tab completion optimization. |
|
601 |
6912 d 14 h |
palkovsky |
/kernel/trunk/ |
Added some readline functionality to kconsole.
Arrows editing, history, tab completion. |
|
596 |
6913 d 10 h |
jermar |
/kernel/trunk/ |
kconsole cleanup.
Separate commands from the engine. |
|
594 |
6913 d 15 h |
jermar |
/kernel/trunk/ |
ptlb command (currently usable on mips32 only). |
|
591 |
6913 d 16 h |
palkovsky |
/kernel/trunk/generic/src/ |
Fixes in new console. |
|
589 |
6913 d 17 h |
palkovsky |
/kernel/trunk/generic/src/console/ |
Added * operator to symbols. |
|
585 |
6913 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 |
6913 d 19 h |
palkovsky |
/kernel/trunk/generic/ |
Added calling of generic functions to kconsole. |
|
579 |
6913 d 22 h |
palkovsky |
/kernel/trunk/generic/src/ |
Removed unnecessary interrupts_disable from kconsole.
Fixed calling gets() with interrupts_disable. |
|
552 |
6917 d 12 h |
palkovsky |
/kernel/trunk/ |
Named spinlocks |
|
548 |
6917 d 14 h |
jermar |
/kernel/trunk/ |
Cleanup and fixes. |
|