Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
664 6889 d 20 h jermar /kernel/trunk/ sparc64 work.
Interrupt Levels 1 - 15 serviced.
Minor changes in the exc_* functions.
 
/kernel/trunk/arch/sparc64/include/drivers
/kernel/trunk/arch/sparc64/include/drivers/tick.h
/kernel/trunk/arch/sparc64/include/trap/interrupt.h
/kernel/trunk/arch/sparc64/src/drivers
/kernel/trunk/arch/sparc64/src/drivers/tick.c
/kernel/trunk/arch/sparc64/src/trap/interrupt.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/asm.h
/kernel/trunk/arch/sparc64/include/interrupt.h
/kernel/trunk/arch/sparc64/include/register.h
/kernel/trunk/arch/sparc64/src/console.c
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/arch/sparc64/src/trap/trap.c
/kernel/trunk/arch/sparc64/src/trap/trap_table.S
/kernel/trunk/generic/include/interrupt.h
/kernel/trunk/generic/include/typedefs.h
/kernel/trunk/generic/src/interrupt/interrupt.c
623 6900 d 11 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
586 6905 d 5 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
582 6905 d 6 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 9 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 10 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 19 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 21 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