Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
622 |
6900 d 9 h |
palkovsky |
/kernel/trunk/ |
Better gcc CALLER implementation |
|
/kernel/trunk/arch/ia32/include/debug.h /kernel/trunk/arch/mips32/include/debug.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/synch/spinlock.c
|
619 |
6901 d 4 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Functions for disabling/enabling MMU.
TLB initialization.
Identity mapping of first 4M for kernel.
Switch to kernel copy of trap table. |
|
/kernel/trunk/arch/sparc64/include/mm/mmu.h /kernel/trunk/arch/sparc64/include/trap.h /kernel/trunk/arch/sparc64/src/trap.c
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/mm/frame.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/sparc64.c
|
618 |
6901 d 7 h |
jermar |
/kernel/trunk/arch/mips32/src/mm/ |
Unify mips32 and sparc64 tlb_invalidate_all() semantics: do not invalidate locked/wired TLB entries. |
|
/kernel/trunk/arch/mips32/src/mm/tlb.c
|
617 |
6901 d 7 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Support for TLB Demap operations.
Add tlb_invalidate(), tlb_invalidate_asid() and tlb_invalidate_page() (latter two are broken as they ignore asid). |
|
/kernel/trunk/arch/sparc64/include/mm/asid.h /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/include/mm/tte.h /kernel/trunk/arch/sparc64/src/mm/tlb.c
|
615 |
6901 d 18 h |
palkovsky |
/kernel/trunk/ |
Cleanups to make it compile with -Wall. Did not catch everything yet. |
|
/kernel/trunk/arch/ia32/src/smp/mps.c /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/fmath.c /kernel/trunk/generic/include/func.h /kernel/trunk/generic/include/panic.h /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/heap.c /kernel/trunk/generic/src/synch/waitq.c /kernel/trunk/generic/src/time/clock.c
|
614 |
6902 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. |
|
/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 |
6902 d 6 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 |
6902 d 10 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 |
6902 d 12 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 |
6902 d 12 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 |
6902 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. |
|
/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 |
6902 d 14 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 |
6902 d 18 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 |
6902 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 |
6903 d 8 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 |
6903 d 10 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 |
6903 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 |
6903 d 15 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 |
6903 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 |
6903 d 16 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 |
6904 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 |
6904 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 |
6904 d 11 h |
palkovsky |
/kernel/trunk/arch/mips32/src/ |
Fixed typo. |
|
/kernel/trunk/arch/mips32/src/exception.c
|
590 |
6904 d 12 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 |
6904 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 |
|
/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
|
586 |
6904 d 14 h |
jermar |
/kernel/trunk/ |
Fix ppc32 and sparc64 to compile again.
Fix sparc64 to function again. |
|
/kernel/trunk/arch/ppc32/include/console.h /kernel/trunk/arch/sparc64/include/console.h
/kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/arch/ppc32/src/console.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/interrupt.h /kernel/trunk/generic/src/interrupt/interrupt.c
|
584 |
6904 d 15 h |
jermar |
/kernel/trunk/arch/ia64/src/ski/ |
Fix IA-64 ski_getchar().
Output operand vs. input operand.
Now the characters are read correctly. |
|
/kernel/trunk/arch/ia64/src/ski/ski.c
|
583 |
6904 d 15 h |
jermar |
/kernel/trunk/arch/ia64/ |
Fix IA-64 so that it compiles again.
Characters are not recognised correctly. |
|
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/ski/ski.h /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/putchar.c /kernel/trunk/arch/ia64/src/ski/ski.c
|
581 |
6904 d 18 h |
palkovsky |
/kernel/trunk/ |
Small debug changes. |
|
/kernel/trunk/arch/amd64/include/debug.h /kernel/trunk/arch/ia32/include/debug.h /kernel/trunk/arch/ia64/include/debug.h /kernel/trunk/arch/ppc32/include/debug.h /kernel/trunk/arch/sparc64/include/debug.h
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/ia32/include/asm.h /kernel/trunk/arch/mips32/include/debug.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/synch/spinlock.c
|
578 |
6905 d 4 h |
palkovsky |
/kernel/trunk/ |
Added exception printing.
It does not work correctly on SMP architectures :-/
Preemption error.... |
|
/kernel/trunk/arch/mips32/include/interrupt.h /kernel/trunk/generic/include/interrupt.h /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
577 |
6905 d 4 h |
palkovsky |
/kernel/trunk/ |
Some small fixes, basic changes to ia64 & ppc32 without testing. |
|
/kernel/trunk/arch/ia64/include/drivers/keyboard.h /kernel/trunk/arch/ia64/src/drivers/keyboard.c
/kernel/trunk/Makefile /kernel/trunk/arch/ia64/include/ski/ski.h /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/ppc32/src/console.c
|
576 |
6905 d 5 h |
palkovsky |
/kernel/trunk/ |
Changed ia32 & amd64 to use exc_register instead of trap_register.
Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work. |
|
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/include/i8042.h /kernel/trunk/arch/ia32/include/i8254.h /kernel/trunk/arch/ia32/include/i8259.h /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/smp/apic.h /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/drivers/i8254.c /kernel/trunk/arch/ia32/src/drivers/i8259.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/apic.c
|
575 |
6905 d 6 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. |
|
/kernel/trunk/arch/mips32/include/drivers/msim.h /kernel/trunk/arch/mips32/include/drivers/serial.h /kernel/trunk/arch/mips32/src/drivers/msim.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/generic/include/interrupt.h /kernel/trunk/generic/src/interrupt /kernel/trunk/generic/src/interrupt/interrupt.c
/kernel/trunk/arch/mips32/include/drivers/keyboard.h /kernel/trunk/arch/mips32/src/drivers/keyboard.c
/kernel/trunk/Makefile /kernel/trunk/arch/ia32/include/ega.h /kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/console.h /kernel/trunk/arch/mips32/include/drivers/arc.h /kernel/trunk/arch/mips32/include/interrupt.h /kernel/trunk/arch/mips32/src/console.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/interrupt.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/console/console.h /kernel/trunk/generic/include/print.h /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/console.c
|
574 |
6905 d 11 h |
palkovsky |
/kernel/trunk/ |
Merged msim & gxemul native keyboards. |
|
/kernel/trunk/arch/mips32/include/drivers/keyboard.h /kernel/trunk/arch/mips32/include/interrupt.h /kernel/trunk/arch/mips32/src/drivers/keyboard.c /kernel/trunk/arch/mips32/src/interrupt.c /kernel/trunk/contrib/conf/msim.conf
|
573 |
6905 d 11 h |
palkovsky |
/kernel/trunk/ |
Added MIPS ARC memory initializaiton. |
|
/kernel/trunk/arch/mips32/include/drivers/arc.h /kernel/trunk/arch/mips32/include/mm/memory_init.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/mm/frame.c /kernel/trunk/tools/config.py
|
570 |
6906 d 7 h |
jermar |
/kernel/trunk/arch/sparc64/src/mm/ |
Missing tlb.c from last commit. |
|
/kernel/trunk/arch/sparc64/src/mm/tlb.c
|
569 |
6906 d 7 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement functions for reading IMMU and DMMU TLBs. |
|
/kernel/trunk/arch/amd64/include/mm/tlb.h /kernel/trunk/arch/ia32/include/mm/tlb.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/include/mm/tlb.h /kernel/trunk/arch/sparc64/Makefile.inc /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/include/types.h /kernel/trunk/generic/include/mm/tlb.h /kernel/trunk/generic/src/mm/tlb.c
|
568 |
6906 d 14 h |
palkovsky |
/kernel/trunk/ |
Configuration tweaks, now supports both CNF and DNF in config.file. |
|
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/kernel.config /kernel/trunk/tools/config.py
|
567 |
6907 d 5 h |
palkovsky |
/kernel/trunk/ |
Added simple support for arc keyboards on mips. |
|
/kernel/trunk/arch/mips32/include/drivers/arc.h /kernel/trunk/arch/mips32/include/drivers/keyboard.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/keyboard.c /kernel/trunk/arch/mips32/src/interrupt.c /kernel/trunk/tools/config.py
|
566 |
6907 d 6 h |
palkovsky |
/kernel/trunk/ |
Fixed bug in Intel32/AMD64 boot, that could cause page fault on boot.
Fixes of configuration program. |
|
/kernel/trunk/tools/amd64/decpt.py
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/mm/frame.h /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/kernel.config /kernel/trunk/tools/config.py
|