Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
614 |
6859 d 5 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. |
|
/kernel/trunk/arch/mips32/include/debugger.h /kernel/trunk/arch/mips32/src/debugger.c
/kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/src/console/kconsole.c
|
613 |
6859 d 7 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
More ITLB and DTLB controlling functions. |
|
/kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/barrier.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/src/mm/tlb.c
|
612 |
6859 d 11 h |
jermar |
/kernel/trunk/arch/mips32/src/mm/ |
Weaken the assumption, that PageMask register contains the right mask everytime.
As a result, TLB exceptions will explicitly write this register when filling TLB entry.
Adjust tlb_print() on mips32 to print PageMask as well. |
|
/kernel/trunk/arch/mips32/src/mm/tlb.c
|
610 |
6859 d 13 h |
palkovsky |
/kernel/trunk/arch/mips32/ |
Cleanup of unnecessary things. |
|
/kernel/trunk/arch/mips32/include/cp0.h /kernel/trunk/arch/mips32/src/cpu/cpu.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/interrupt.c
|
609 |
6859 d 13 h |
palkovsky |
/kernel/trunk/ |
added support for breakpoints to mips32 |
|
/kernel/trunk/test/debug /kernel/trunk/test/debug/mips1 /kernel/trunk/test/debug/mips1/test.c
/kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/kernel.config
|
607 |
6859 d 14 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. |
|
/kernel/trunk/arch/mips32/src/drivers/msim.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/mips32/src/panic.S /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/lib/func.c
|
606 |
6859 d 15 h |
palkovsky |
/kernel/trunk/ |
Small kconsole readline changes.
Some mips tweaks to allow for real keyboard support in indy. |
|
/kernel/trunk/arch/ia32/include/i8042.h /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/mips32/include/drivers/arc.h /kernel/trunk/arch/mips32/include/drivers/msim.h /kernel/trunk/arch/mips32/include/drivers/serial.h /kernel/trunk/arch/mips32/src/console.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/msim.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/generic/src/console/kconsole.c
|
605 |
6859 d 19 h |
palkovsky |
/kernel/trunk/arch/mips32/src/drivers/ |
Allow for different ARC frame size and kernel frame size. |
|
/kernel/trunk/arch/mips32/src/drivers/arc.c
|
604 |
6859 d 19 h |
palkovsky |
/kernel/trunk/ |
Make it boot on SGI indy again. |
|
/kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/tools/config.py
|
602 |
6860 d 9 h |
palkovsky |
/kernel/trunk/ |
Symtab returns correct addresses even when symtab is befor bss.
Some tab completion optimization. |
|
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/_link.ld.in /kernel/trunk/arch/ia32/_link.ld.in /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/debug/symtab.c
|
601 |
6860 d 11 h |
palkovsky |
/kernel/trunk/ |
Added some readline functionality to kconsole.
Arrows editing, history, tab completion. |
|
/kernel/trunk/arch/ia32/include/i8042.h /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/generic/include/console/console.h /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/symtab.h /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/lib/func.c
|
600 |
6860 d 15 h |
jermar |
/kernel/trunk/arch/mips32/ |
Different sizes of TLB on mips32.
R4000 has 48 entries, 4kc has only 16 entries. |
|
/kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/mm/tlb.h
|
599 |
6860 d 16 h |
jermar |
/kernel/trunk/arch/mips32/ |
Fixes for mips32 invalidation functions. |
|
/kernel/trunk/arch/mips32/include/mm/tlb.h /kernel/trunk/arch/mips32/src/mm/tlb.c
|
598 |
6860 d 16 h |
jermar |
/kernel/trunk/arch/mips32/src/mm/ |
TLB invalidation functions for mips32. Not deployed yet. Not tested. |
|
/kernel/trunk/arch/mips32/src/mm/tlb.c
|
597 |
6860 d 17 h |
jermar |
/kernel/trunk/ |
Finer grained TLB invalidate functions for ia32 and amd64. Not yet deployed. |
|
/kernel/trunk/generic/include/mm/tlb_cmd.h
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/ia32/include/asm.h /kernel/trunk/arch/ia32/src/mm/tlb.c /kernel/trunk/generic/include/mm/tlb.h
|
595 |
6861 d 10 h |
palkovsky |
/kernel/trunk/ |
Fixed bug in vm.c that turned off preemption. Found in versions 390:391. |
|
/kernel/trunk/arch/mips32/src/mm/vm.c /kernel/trunk/kernel.config
|
594 |
6861 d 11 h |
jermar |
/kernel/trunk/ |
ptlb command (currently usable on mips32 only). |
|
/kernel/trunk/generic/include/mm/tlb_cmd.h /kernel/trunk/generic/src/mm/tlb_cmd.c
/kernel/trunk/Makefile /kernel/trunk/arch/mips32/include/mm/tlb.h /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/mm/tlb.c
|
593 |
6861 d 12 h |
palkovsky |
/kernel/trunk/arch/mips32/src/ |
Fixed typo. |
|
/kernel/trunk/arch/mips32/src/exception.c
|
590 |
6861 d 13 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. |
|
/kernel/trunk/arch/mips32/include/exception.h /kernel/trunk/arch/mips32/include/interrupt.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/msim.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/interrupt.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/src/mm/heap.c
|
588 |
6861 d 14 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 |
|
/kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/msim.c /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/console.c
|