Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
932 |
6737 d 2 h |
palkovsky |
/kernel/trunk/generic/src/console/ |
Allow using direct address as parameter. |
|
/kernel/trunk/generic/src/console/kconsole.c
|
931 |
6737 d 2 h |
palkovsky |
/kernel/trunk/generic/src/console/ |
Allow direct address specification. |
|
/kernel/trunk/generic/src/console/kconsole.c
|
788 |
6772 d 1 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
/kernel/trunk/generic/include/adt /kernel/trunk/generic/include/adt/fifo.h /kernel/trunk/generic/include/adt/list.h /kernel/trunk/generic/src/adt /kernel/trunk/generic/src/adt/list.c
/kernel/trunk/generic/include/fifo.h /kernel/trunk/generic/include/list.h /kernel/trunk/generic/src/lib/list.c
/kernel/trunk/Makefile /kernel/trunk/genarch/src/mm/asid.c /kernel/trunk/genarch/src/mm/asid_fifo.c /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/include/time/timeout.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/waitq.c /kernel/trunk/generic/src/time/clock.c
|
668 |
6809 d 3 h |
bondari |
/kernel/trunk/generic/src/console/ |
Zones related commands infrastructure for console. Also fixed small bug that caused infinite loop during command parsing |
|
/kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c
|
640 |
6821 d 20 h |
jermar |
/kernel/trunk/ |
sparc64 work.
CPU identification. |
|
/kernel/trunk/arch/sparc64/include/register.h /kernel/trunk/arch/sparc64/src/cpu /kernel/trunk/arch/sparc64/src/cpu/cpu.c
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/cpu.h /kernel/trunk/arch/sparc64/src/dummy.s /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/main/main.c
|
635 |
6822 d 19 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. |
|
/kernel/trunk/arch/mips32/include/debugger.h /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/lib/func.c
|
625 |
6824 d 3 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. |
|
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/src/cpu/cpu.c /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/src/fmath.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/test/synch/rwlock4/test.c
|
624 |
6824 d 4 h |
jermar |
/kernel/trunk/generic/ |
Add LIST_INITIALIZE() macro to declare and initialize statically allocated lists. |
|
/kernel/trunk/generic/include/list.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c
|
623 |
6824 d 8 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. |
|
/kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/mm/asid.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/vm.h /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/rwlock.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/include/time/timeout.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/heap.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
614 |
6826 d 17 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
|
611 |
6827 d 0 h |
jermar |
/kernel/trunk/generic/src/console/ |
Fix kconsole so that side-effect command shortcuts do not take effect. |
|
/kernel/trunk/generic/src/console/kconsole.c
|
609 |
6827 d 2 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 |
6827 d 2 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 |
6827 d 3 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
|
603 |
6827 d 20 h |
palkovsky |
/kernel/trunk/generic/src/ |
Added set4 command. |
|
/kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/lib/func.c
|
602 |
6827 d 21 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 |
6827 d 23 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
|
596 |
6828 d 19 h |
jermar |
/kernel/trunk/ |
kconsole cleanup.
Separate commands from the engine. |
|
/kernel/trunk/generic/include/console/cmd.h /kernel/trunk/generic/src/console/cmd.c
/kernel/trunk/generic/src/mm/tlb_cmd.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/src/console/kconsole.c
|
594 |
6829 d 0 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
|
591 |
6829 d 1 h |
palkovsky |
/kernel/trunk/generic/src/ |
Fixes in new console. |
|
/kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/mm/heap.c
|
589 |
6829 d 2 h |
palkovsky |
/kernel/trunk/generic/src/console/ |
Added * operator to symbols. |
|
/kernel/trunk/generic/src/console/kconsole.c
|
585 |
6829 d 3 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. |
|
/kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/lib/func.c
|
582 |
6829 d 4 h |
palkovsky |
/kernel/trunk/generic/ |
Added calling of generic functions to kconsole. |
|
/kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/func.h /kernel/trunk/generic/include/symtab.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/lib/func.c
|
579 |
6829 d 7 h |
palkovsky |
/kernel/trunk/generic/src/ |
Removed unnecessary interrupts_disable from kconsole.
Fixed calling gets() with interrupts_disable. |
|
/kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/interrupt/interrupt.c
|
552 |
6832 d 21 h |
palkovsky |
/kernel/trunk/ |
Named spinlocks |
|
/kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/heap.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/generic/src/synch/waitq.c /kernel/trunk/generic/src/time/timeout.c /kernel/trunk/tools/config.py
|
548 |
6832 d 23 h |
jermar |
/kernel/trunk/ |
Cleanup and fixes. |
|
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/src/mm/page.c /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/kernel.config /kernel/trunk/test/mm/mapping1/test.c
|
544 |
6833 d 6 h |
decky |
/kernel/trunk/generic/src/console/ |
kconsole halt command |
|
/kernel/trunk/generic/src/console/kconsole.c
|
534 |
6834 d 23 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
532 |
6834 d 23 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
518 |
6842 d 20 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. |
|
/kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/src/console/kconsole.c
/kernel/trunk/generic/include/main/kconsole.h /kernel/trunk/generic/src/main/kconsole.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/func.h /kernel/trunk/generic/include/macros.h /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
517 |
6843 d 20 h |
jermar |
/kernel/trunk/ |
Implement basic kernel console command recognition.
Commands without arguments are now recognized. |
|
/kernel/trunk/generic/include/macros.h
/kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/generic/include/console/console.h /kernel/trunk/generic/include/func.h /kernel/trunk/generic/include/main/kconsole.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/main/kconsole.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
512 |
6846 d 5 h |
jermar |
/kernel/trunk/ |
SMP work.
Add madt_irq_to_pin().
Make ksmp() use virtual irq_to_pin() function, which makes better sence for ACPI configurations. |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/include/smp/apic.h /kernel/trunk/arch/ia32/include/smp/mps.h /kernel/trunk/arch/ia32/include/smp/smp.h /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia32/src/smp/mps.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/generic/src/main/kconsole.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
510 |
6846 d 19 h |
jermar |
/kernel/trunk/ |
Add chardev_t.
This type is meant to abstract any input character device such as keyboard, serial port etc.
Add stdin.
Add dummy kconsole. |
|
/kernel/trunk/generic/include/console /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/console/console.h /kernel/trunk/generic/include/main/kconsole.h /kernel/trunk/generic/src/console /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/main/kconsole.c
/kernel/trunk/Makefile /kernel/trunk/arch/mips32/src/drivers/keyboard.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|