Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
627 |
6905 d 1 h |
jermar |
/kernel/trunk/ |
Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.
sparc64 work.
TBA must be set before a function call when MMU is switched off. |
|
/kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/arch/sparc64/include/trap.h /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/arch/sparc64/src/trap.c /kernel/trunk/test/synch/rwlock5/test.c /kernel/trunk/test/synch/semaphore1/test.c
|
625 |
6905 d 1 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
|
623 |
6905 d 7 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
|
622 |
6905 d 21 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
|
615 |
6907 d 6 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
|
606 |
6908 d 2 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
|
602 |
6908 d 20 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 |
6908 d 22 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
|
597 |
6909 d 4 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
|
588 |
6910 d 1 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
|
581 |
6910 d 5 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
|
576 |
6910 d 17 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 |
6910 d 17 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 |
6911 d 19 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 |
6912 d 1 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
|
566 |
6912 d 18 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
|
564 |
6912 d 19 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
|
557 |
6913 d 4 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 |
6913 d 20 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
|
550 |
6913 d 21 h |
palkovsky |
/kernel/trunk/ |
Completely reworked configuration system. |
|
/kernel/trunk/build
/kernel/trunk/build.amd64 /kernel/trunk/build.ia32 /kernel/trunk/build.ia64 /kernel/trunk/build.mips32 /kernel/trunk/build.ppc32 /kernel/trunk/build.sparc64
/kernel/trunk/Makefile /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/kernel.config /kernel/trunk/tools/build /kernel/trunk/tools/config.py
|