Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1100 |
6805 d 1 h |
palkovsky |
/kernel/trunk/ |
Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths. |
|
/kernel/trunk/arch/amd64/include/atomic.h /kernel/trunk/arch/amd64/include/syscall.h /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/syscall.c /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/mips32/include/exception.h /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/start.S /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/generic/src/syscall/syscall.c /kernel/trunk/kernel.config
|
1093 |
6805 d 23 h |
palkovsky |
/kernel/trunk/generic/src/mm/ |
Fix bug with refcounts in frame allocator after zone_merge. (it caused some
frames not to be coalesced). |
|
/kernel/trunk/generic/src/mm/frame.c
|
1090 |
6806 d 2 h |
palkovsky |
/kernel/trunk/generic/ |
Reduced unnecessary IPC system calls.
Allow everything to be sync & async, everything is handled using messages. |
|
/kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/ipc/sysipc.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/ipcrsc.c /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/syscall/syscall.c
|
1088 |
6806 d 8 h |
palkovsky |
/kernel/trunk/generic/ |
More IPC stuff, added correct closing of connections from both sides. |
|
/kernel/trunk/generic/include/errno.h /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/ipcrsc.c /kernel/trunk/generic/src/ipc/sysipc.c
|
1086 |
6806 d 22 h |
palkovsky |
/kernel/trunk/generic/ |
Untested better IPC functions.
* There is some bug in MIPS, unpredicatbly sometimes the thread gets mapped
different frame for stack. |
|
/kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/ipc/ipcrsc.h /kernel/trunk/generic/include/ipc/sysipc.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/ipcrsc.c /kernel/trunk/generic/src/ipc/sysipc.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/syscall/syscall.c
|
1084 |
6807 d 20 h |
palkovsky |
/kernel/trunk/ |
Better IPC implementation with regard to locking and final cleanup. |
|
/kernel/trunk/tools/ia32 /kernel/trunk/tools/ia32/decpt.py
/kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/ipc/ipcrsc.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/ipcrsc.c /kernel/trunk/generic/src/ipc/sysipc.c
|
1083 |
6807 d 22 h |
palkovsky |
/kernel/trunk/generic/src/ |
Fixed incorrect locking in ipc. |
|
/kernel/trunk/generic/src/ipc/ipcrsc.c /kernel/trunk/generic/src/proc/thread.c
|
1078 |
6808 d 3 h |
jermar |
/kernel/trunk/ |
Improved uspace threads.
ia64 needs fixing. |
|
/kernel/trunk/generic/include/proc/uarg.h
/kernel/trunk/arch/amd64/src/userspace.c /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/ia64/include/asm.h /kernel/trunk/arch/ia64/include/faddr.h /kernel/trunk/arch/ia64/src/asm.S /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/include/asm.h /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/start.S /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/main/uinit.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c
|
1076 |
6808 d 8 h |
jermar |
/kernel/trunk/generic/src/mm/ |
Unlock address space area when returning error. |
|
/kernel/trunk/generic/src/mm/as.c
|
1072 |
6808 d 10 h |
palkovsky |
/kernel/trunk/ |
Added debugger to AMD64.
Added automatic debugging of AS if it is not rewritten with zero.
Did small changes to IPC infrastructure. |
|
/kernel/trunk/arch/amd64/include/debugger.h /kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/generic/include/ipc/ipcrsc.h /kernel/trunk/generic/src/ipc/ipcrsc.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/kernel.config
|
1070 |
6808 d 11 h |
jermar |
/kernel/trunk/ |
More checks for address space area conflicts. |
|
/kernel/trunk/arch/amd64/include/mm/as.h /kernel/trunk/arch/ia32/include/mm/as.h /kernel/trunk/arch/ia64/include/mm/as.h /kernel/trunk/arch/mips32/include/mm/as.h /kernel/trunk/arch/ppc32/include/mm/as.h /kernel/trunk/arch/sparc64/include/mm/as.h /kernel/trunk/generic/include/macros.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/mm/as.c
|
1069 |
6808 d 11 h |
cejka |
/kernel/trunk/ |
Printf correctly handle NULL pointer as parameter to %s option. |
|
/kernel/trunk/generic/src/debug/print.c /kernel/trunk/test/print/print1/test.c
|
1066 |
6808 d 20 h |
jermar |
/kernel/trunk/ |
Support for user space threads. |
|
/kernel/trunk/arch/amd64/src/userspace.c /kernel/trunk/arch/ia32/include/fpu_context.h /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/include/userspace.h /kernel/trunk/generic/src/main/uinit.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/syscall/syscall.c
|
1063 |
6808 d 21 h |
palkovsky |
/kernel/trunk/ |
Add support for more then 2GB of address space for AMD64. |
|
/kernel/trunk/arch/amd64/include/mm/as.h /kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/src/boot/boot.S /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/generic/include/macros.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c
|
1062 |
6808 d 23 h |
jermar |
/kernel/trunk/ |
It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands. |
|
/kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/slab1/test.c /kernel/trunk/test/mm/slab2/test.c /kernel/trunk/test/synch/rwlock2/test.c /kernel/trunk/test/synch/rwlock3/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c /kernel/trunk/test/synch/semaphore1/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
1060 |
6809 d 0 h |
palkovsky |
/kernel/trunk/ |
Added task_print.
Fixed ipc to support connect_me_to. |
|
/kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c
|
1053 |
6809 d 4 h |
vana |
/kernel/trunk/ |
Itanium FPU Lazy context switching... but not so much tested |
|
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/context.h /kernel/trunk/arch/ia64/include/fpu_context.h /kernel/trunk/arch/ia64/include/interrupt.h /kernel/trunk/arch/ia64/src/context.S /kernel/trunk/arch/ia64/src/fpu_context.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/ivt.S /kernel/trunk/arch/ia64/src/start.S /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/test/fpu/fpu1/test.c
|
1050 |
6809 d 5 h |
palkovsky |
/kernel/trunk/ |
Added null console for buffering output when no real output available.
Added identity mapper for AMD64 that allows whole physical memory to be
accessed before paging is initialized. |
|
/kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/ipc/ipc.c
|
1048 |
6809 d 6 h |
jermar |
/kernel/trunk/generic/ |
Restore interrupts when failing in as_remap().
Add check_area_conflicts() that checks whether address area overlaps with other areas.
Refuse to create writeable executable address space areas.
Rename as_area_t::size to as_area_t::pages. |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/task.c
|
1044 |
6809 d 8 h |
jermar |
/kernel/trunk/ |
Page table locking. |
|
/kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/genarch/src/mm/as_ht.c /kernel/trunk/genarch/src/mm/as_pt.c /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/page.c
|