Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1112 |
6722 d 6 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
/kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/include/thread.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/ia32/include/pm.h /kernel/trunk/arch/ia32/include/thread.h /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/proc/scheduler.c /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/syscall/syscall.c
|
1109 |
6722 d 18 h |
jermar |
/kernel/trunk/ |
Basic futex. Prototype implementation. |
|
/kernel/trunk/generic/include/synch/futex.h /kernel/trunk/generic/src/synch/futex.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/syscall/syscall.c
|
1100 |
6724 d 20 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
|
1090 |
6725 d 21 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
|
1086 |
6726 d 17 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
|
1066 |
6728 d 15 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
|
1040 |
6729 d 4 h |
palkovsky |
/kernel/trunk/generic/ |
Changed ipc to use spinlocks instead of mutexes again.
Fixed loading inits to set nameservice as the first loaded process.
Lot of TODO in ipc done. |
|
/kernel/trunk/generic/include/errno.h /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/sysipc.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
1032 |
6729 d 16 h |
jermar |
/kernel/trunk/generic/ |
mmap() syscall. |
|
/kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/syscall/syscall.c
|
1027 |
6729 d 16 h |
palkovsky |
/kernel/trunk/ |
Implemented callback IPC call (connect_to_me). |
|
/kernel/trunk/generic/include/ipc/sysipc.h /kernel/trunk/generic/src/ipc/sysipc.c
/kernel/trunk/generic/include/ipc/ns.h /kernel/trunk/generic/src/ipc/ns.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/errno.h /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/syscall/syscall.c
|
1024 |
6729 d 21 h |
jermar |
/kernel/trunk/ |
Redefine semantics of unary atomic operations.
Add test to verify that an architecture understands the semantics correctly. |
|
/kernel/trunk/test/atomic /kernel/trunk/test/atomic/atomic1 /kernel/trunk/test/atomic/atomic1/test.c
/kernel/trunk/arch/amd64/include/atomic.h /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/generic/src/syscall/syscall.c /kernel/trunk/kernel.config
|
1005 |
6730 d 5 h |
palkovsky |
/kernel/trunk/generic/ |
Added support for taskid. |
|
/kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
998 |
6730 d 16 h |
palkovsky |
/kernel/trunk/generic/ |
Completed asynchronous ipc. |
|
/kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ns.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
977 |
6731 d 2 h |
jermar |
/kernel/trunk/ |
Add sys_mremap() syscall. |
|
/kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/mips32/include/mm/page.h /kernel/trunk/arch/ppc32/include/mm/page.h /kernel/trunk/arch/ppc32/src/dummy.s /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/arch/sparc64/include/types.h /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/syscall/syscall.c
|
965 |
6731 d 7 h |
palkovsky |
/kernel/trunk/ |
Added skeleton name service.
Cleanup for IPC to use mutexes instead of spinlocks. |
|
/kernel/trunk/generic/include/ipc/ns.h /kernel/trunk/generic/src/ipc/ns.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
959 |
6731 d 19 h |
palkovsky |
/kernel/trunk/ |
New synchronous ipc.
Widened syscall to support up to 5 parameters. |
|
/kernel/trunk/arch/amd64/include/syscall.h /kernel/trunk/arch/amd64/src/syscall.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/syscall/syscall.c
|
955 |
6731 d 21 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
/kernel/trunk/generic/include/errno.h /kernel/trunk/generic/include/ipc /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/src/ipc /kernel/trunk/generic/src/ipc/ipc.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/syscall.c /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia64/include/types.h /kernel/trunk/arch/mips32/include/types.h /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/sparc64/include/types.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
714 |
6788 d 23 h |
decky |
/kernel/trunk/ |
syscall handler return value
uspace task termination (primitive) |
|
/kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/generic/src/syscall/syscall.c
|
712 |
6788 d 23 h |
decky |
/kernel/trunk/ |
"Hello world" from user space :) |
|
/kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/syscall/syscall.c
|
678 |
6799 d 19 h |
decky |
/kernel/trunk/ |
move syscall infrastructure to a separate subdir |
|
/kernel/trunk/generic/include/syscall /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/syscall /kernel/trunk/generic/src/syscall/syscall.c
/kernel/trunk/generic/include/proc/syscall.h /kernel/trunk/generic/src/proc/syscall.c
/kernel/trunk/Makefile
|
662 |
6811 d 18 h |
decky |
/kernel/trunk/ |
initial syscall table support |
|
/kernel/trunk/generic/include/proc/syscall.h /kernel/trunk/generic/src/proc/syscall.c
/kernel/trunk/Makefile
|