Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
588 |
6905 d 4 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 |
6905 d 4 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
|
585 |
6905 d 4 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 |
6905 d 5 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
|
581 |
6905 d 8 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
|
579 |
6905 d 9 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
|
578 |
6905 d 18 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
|
575 |
6905 d 20 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
|
569 |
6906 d 22 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
|
564 |
6907 d 21 h |
jermar |
/kernel/trunk/ |
Send in some improvements. |
|
/kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia64/include/context.h /kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/generic/include/align.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c
|
562 |
6908 d 3 h |
decky |
/kernel/trunk/generic/src/main/ |
fix typo |
|
/kernel/trunk/generic/src/main/main.c
|
561 |
6908 d 3 h |
decky |
/kernel/trunk/ |
better way of placing revision, timestamp and arch in banner |
|
/kernel/trunk/tools/buildtag
/kernel/trunk/Makefile /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/main/main.c /kernel/trunk/kernel.config /kernel/trunk/tools/config.py
|
557 |
6908 d 7 h |
jermar |
/kernel/trunk/ |
Add comments describing locking rules for some locks.
Cleanup. |
|
/kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/waitq.h /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/generic/src/synch/waitq.c
|
552 |
6908 d 22 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 |
6909 d 1 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 |
6909 d 7 h |
decky |
/kernel/trunk/generic/src/console/ |
kconsole halt command |
|
/kernel/trunk/generic/src/console/kconsole.c
|
541 |
6909 d 21 h |
jermar |
/kernel/trunk/generic/src/mm/ |
Get rid of junk. |
|
/kernel/trunk/generic/src/mm/frame.c
|
539 |
6910 d 1 h |
jermar |
/kernel/trunk/ |
Buddy allocator cleanup and fixes.
- Add some comments.
- Update zone information on frames allocation/deallocation. |
|
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/frame.c
|
538 |
6910 d 2 h |
jermar |
/kernel/trunk/ |
Buddy allocator cleanup and fixes II.
- Rewrite IS_BUDDY_LEFT_BLOCK so that it does not need floating point on some architectures (e.g. IA-64).
- Get rid of IS_BUDDY_RIGHT_BLOCK.
- Make sparc64 use zone_create_in_region. |
|
/kernel/trunk/arch/sparc64/src/mm/frame.c /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/frame.c
|
537 |
6910 d 3 h |
jermar |
/kernel/trunk/ |
Buddy system cleanup and fixes.
- missing use of KA2PA in frame_init
- truncating black list addresses to frame boundaries
- removal of left-over obsolete structures
- fixing some comments |
|
/kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/frame.c
|
536 |
6910 d 23 h |
bondari |
/kernel/trunk/ |
Minor bugfix caused by invalid frame_region_not_free() usage |
|
/kernel/trunk/Makefile.config /kernel/trunk/arch/mips32/src/mm/frame.c /kernel/trunk/generic/src/mm/frame.c
|
534 |
6911 d 1 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
533 |
6911 d 1 h |
bondari |
/SPARTAN/trunk/ |
Buddy allocator for physical memory complete implementation.
Tested on IA32, AMD64, MIPS32. RWLock Test #5 is not passed.
NOTE: Other architectures could be broken (but should not be) |
|
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia64/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/page.c /SPARTAN/trunk/arch/ppc32/src/mm/frame.c /SPARTAN/trunk/generic/include/mm/buddy.h /SPARTAN/trunk/generic/include/mm/frame.h /SPARTAN/trunk/generic/include/typedefs.h /SPARTAN/trunk/generic/src/cpu/cpu.c /SPARTAN/trunk/generic/src/mm/buddy.c /SPARTAN/trunk/generic/src/mm/frame.c /SPARTAN/trunk/generic/src/mm/page.c /SPARTAN/trunk/generic/src/mm/vm.c /SPARTAN/trunk/generic/src/proc/thread.c
|
532 |
6911 d 1 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
523 |
6917 d 4 h |
jermar |
/kernel/trunk/ |
Clean up. |
|
/kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/src/drivers/keyboard.c /kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/doc/arch/ia32 /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
518 |
6918 d 22 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 |
6919 d 21 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 |
6922 d 7 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
|
511 |
6922 d 20 h |
jermar |
/kernel/trunk/ |
Enable dummy kconsole for ia32 and amd64 (UP mode works). |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/mips32/src/drivers/keyboard.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/console.c
|
510 |
6922 d 21 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
|
508 |
6923 d 0 h |
jermar |
/kernel/trunk/ |
Basic keyboard support for ia32.
For some reason, keyoboard looks dead on SMP.
Make kinit() print "kinit..." strings in longer intervals. |
|
/kernel/trunk/arch/ia32/include/i8042.h /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/generic/src/main/kinit.c
|
506 |
6923 d 2 h |
decky |
/kernel/trunk/ |
preparation for init task loading |
|
/kernel/trunk/arch/ia32/include/boot/memmapasm.h
/kernel/trunk/arch/ia32/include/boot/boot.h /kernel/trunk/arch/ia32/include/boot/memmap.h /kernel/trunk/arch/ia32/src/boot/boot.S /kernel/trunk/arch/ia32/src/boot/memmap.S /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/generic/src/main/main.c
|
503 |
6923 d 4 h |
jermar |
/kernel/trunk/ |
Rename arch_late_init() to arch_pre_smp_init().
Add arch_post_smp_init().
Enable IRQ_KBD on ia-32 (doesn't work on Bochs SMP, works on Bochs UP). |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia64/src/dummy.s /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/src/main/main.c
|
501 |
6923 d 5 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
492 |
6923 d 22 h |
jermar |
/SPARTAN/trunk/ |
Rename map_page_to_frame() to page_mapping_insert() and find_mapping() to page_mapping_find().
New names should make it more apparent that these two belong together. |
|
/SPARTAN/trunk/arch/amd64/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/arch/mips32/src/mm/tlb.c /SPARTAN/trunk/genarch/src/acpi/acpi.c /SPARTAN/trunk/generic/include/mm/page.h /SPARTAN/trunk/generic/src/mm/page.c /SPARTAN/trunk/generic/src/mm/vm.c /SPARTAN/trunk/test/mm/mapping1/test.c
|
490 |
6930 d 4 h |
jermar |
/SPARTAN/trunk/generic/src/mm/ |
Fix typo and clean up comments. |
|
/SPARTAN/trunk/generic/src/mm/buddy.c
|
489 |
6930 d 4 h |
jermar |
/SPARTAN/trunk/generic/ |
Make the buddy system more general.
Store implementation defined pointer in buddy_system_t.
Pass buddy system pointer to implementation defined buddy system operations. |
|
/SPARTAN/trunk/generic/include/mm/buddy.h /SPARTAN/trunk/generic/include/mm/frame.h /SPARTAN/trunk/generic/src/mm/buddy.c /SPARTAN/trunk/generic/src/mm/frame.c
|
488 |
6930 d 10 h |
bondari |
/SPARTAN/trunk/generic/src/mm/ |
Small fix :) |
|
/SPARTAN/trunk/generic/src/mm/frame.c
|
487 |
6930 d 10 h |
bondari |
/SPARTAN/trunk/generic/src/mm/ |
Frame isect/coalesce functions optimization |
|
/SPARTAN/trunk/generic/src/mm/frame.c
|
483 |
6931 d 1 h |
jermar |
/SPARTAN/trunk/ |
For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).
New mips32 atomic_add() function.
Cleanup. |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/include/atomic.h /SPARTAN/trunk/arch/mips32/include/cpu.h /SPARTAN/trunk/arch/mips32/src/interrupt.c /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/generic/include/arch.h /SPARTAN/trunk/generic/include/config.h /SPARTAN/trunk/generic/include/cpu.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/include/synch/rwlock.h /SPARTAN/trunk/generic/include/typedefs.h /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/fpu/mips1/test.c /SPARTAN/trunk/test/fpu/sse1/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c
|