Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1239 |
6768 d 0 h |
jermar |
/kernel/trunk/generic/ |
Prevent race in as_area_send() by allowing the address space area to be
created with AS_AREA_ATTR_PARTIAL attribute. |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/ddi/ddi.c /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/task.c
|
1238 |
6768 d 1 h |
jermar |
/kernel/trunk/generic/ |
Rename SYS_AS_AREA_SHARE_APPROVE and SYS_AS_AREA_SHARE_PERFORM, resp., to
SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND, resp. in syscall_t.
Fix prototype of as_area_send() to take only base address of the address
space area as a parameter and read size and flags from the address space
area found at this base address. |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/as_arg.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/mm/as.c
|
1236 |
6768 d 6 h |
jermar |
/kernel/trunk/generic/ |
Add frame_reference_add(). |
|
/kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/frame.c
|
1235 |
6768 d 6 h |
jermar |
/kernel/trunk/generic/ |
Implementation of SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND syscalls.
Note that these replace previously declared SYS_AS_AREA_SHARE_APPROVE
and SYS_AS_AREA_SHARE_PERFORM. |
|
/kernel/trunk/generic/include/mm/as_arg.h
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
1229 |
6770 d 5 h |
jermar |
/kernel/trunk/ |
Remove the outdated TODO file.
Improve doxygen comments here and there. |
|
/kernel/trunk/doc/TODO
/kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/synch/condvar.c /kernel/trunk/generic/src/synch/futex.c /kernel/trunk/generic/src/synch/mutex.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/semaphore.c /kernel/trunk/generic/src/synch/waitq.c
|
1227 |
6771 d 2 h |
jermar |
/kernel/trunk/ |
Reorganize syscall names to better correspond to kernel architecture.
Add dummy placeholders for SYS_AS_AREA_SHARE_APPROVE and
SYS_AS_AREA_SHARE_PERFORM syscalls. |
|
/kernel/trunk/arch/amd64/src/ddi/ddi.c /kernel/trunk/arch/ia32/src/ddi/ddi.c /kernel/trunk/arch/ia64/src/ddi/ddi.c /kernel/trunk/arch/mips32/src/ddi/ddi.c /kernel/trunk/arch/ppc32/src/ddi/ddi.c /kernel/trunk/arch/ppc64/src/ddi/ddi.c /kernel/trunk/arch/sparc64/src/ddi/ddi.c /kernel/trunk/generic/include/ddi/ddi.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ddi/ddi.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
1224 |
6771 d 3 h |
cejka |
/kernel/trunk/ |
Fix pointers output format.
Fix format of slab and zones tables. |
|
/kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/mm/memory_init.c /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/synch/spinlock.c
|
1223 |
6771 d 5 h |
jermar |
/kernel/trunk/ |
Make ia64 and sparc64 compile again.
Fix ia64 to set up inits in arch_pre_main(). |
|
/kernel/trunk/arch/amd64/src/ddi/ddi.c /kernel/trunk/arch/ia32/src/ddi/ddi.c /kernel/trunk/arch/ia64/src/ddi/ddi.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/ia64/src/start.S /kernel/trunk/arch/mips32/include/arch.h /kernel/trunk/arch/mips32/src/ddi/ddi.c /kernel/trunk/arch/ppc32/include/arch.h /kernel/trunk/arch/ppc32/src/ddi/ddi.c /kernel/trunk/arch/sparc64/src/ddi/ddi.c /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/src/ipc/ipc.c
|
1221 |
6771 d 19 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
/kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/smp/mps.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/arch/ppc64/src/mm/memory_init.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/mapping1/test.c /kernel/trunk/test/synch/rwlock4/test.c
|
1212 |
6772 d 0 h |
palkovsky |
/kernel/trunk/ |
Added uspace call to enable/disable interrupts. |
|
/kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/ddi/ddi.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/cpu.h /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/ia32/src/ddi/ddi.c /kernel/trunk/arch/mips32/src/ddi/ddi.c /kernel/trunk/arch/mips32/src/start.S /kernel/trunk/generic/include/ddi/ddi.h /kernel/trunk/generic/include/security/cap.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ddi/ddi.c /kernel/trunk/generic/src/syscall/syscall.c
|
1200 |
6777 d 2 h |
jermar |
/kernel/trunk/ |
Add bitmap ADT. |
|
/kernel/trunk/generic/include/adt/bitmap.h /kernel/trunk/generic/src/adt/bitmap.c
/kernel/trunk/Makefile
|
1196 |
6778 d 5 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
/kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/memory_init.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/mm/memory_init.c /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/arch/ppc64/src/mm/memory_init.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/genarch/include/softint/division.h /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/genarch/src/i8042/i8042.c /kernel/trunk/genarch/src/softint/division.c /kernel/trunk/generic/include/print.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/main/uinit.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.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/time/clock.c /kernel/trunk/generic/src/time/timeout.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/mapping1/test.c /kernel/trunk/test/print/print1/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c
|
1191 |
6780 d 9 h |
jermar |
/kernel/trunk/ |
Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy implementation thereof. |
|
/kernel/trunk/arch/amd64/src/ddi /kernel/trunk/arch/amd64/src/ddi/ddi.c /kernel/trunk/arch/ia32/src/ddi /kernel/trunk/arch/ia32/src/ddi/ddi.c /kernel/trunk/arch/ia64/src/ddi /kernel/trunk/arch/ia64/src/ddi/ddi.c /kernel/trunk/arch/mips32/src/ddi /kernel/trunk/arch/mips32/src/ddi/ddi.c /kernel/trunk/arch/ppc32/src/ddi /kernel/trunk/arch/ppc32/src/ddi/ddi.c /kernel/trunk/arch/ppc64/src/ddi /kernel/trunk/arch/ppc64/src/ddi/ddi.c /kernel/trunk/arch/sparc64/src/ddi /kernel/trunk/arch/sparc64/src/ddi/ddi.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc64/Makefile.inc /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/generic/include/ddi/ddi.h /kernel/trunk/generic/include/ddi/ddi_arg.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/ddi/ddi.c /kernel/trunk/generic/src/syscall/syscall.c
|
1187 |
6781 d 0 h |
jermar |
/kernel/trunk/ |
Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() and before_task_runs_arch() for each architecture.
Add ia32 and amd64 code to ensure I/O Permission Bitmap update. |
|
/kernel/trunk/arch/amd64/include/pm.h /kernel/trunk/arch/amd64/src/cpu/cpu.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/ia32/include/asm.h /kernel/trunk/arch/ia32/include/pm.h /kernel/trunk/arch/ia32/src/cpu/cpu.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/proc/scheduler.c /kernel/trunk/arch/ia64/src/proc/scheduler.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/src/proc/scheduler.c /kernel/trunk/arch/ppc64/src/proc/scheduler.c /kernel/trunk/arch/sparc64/src/proc/scheduler.c /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/src/proc/scheduler.c
|
1185 |
6781 d 3 h |
jermar |
/kernel/trunk/ |
Add task_create_arch() for all architectures. |
|
/kernel/trunk/arch/amd64/src/proc/task.c /kernel/trunk/arch/ia32/src/proc/task.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia64/include/proc/task.h /kernel/trunk/arch/mips32/include/proc/task.h /kernel/trunk/arch/ppc32/include/proc/task.h /kernel/trunk/arch/ppc64/include/proc/task.h /kernel/trunk/arch/sparc64/include/proc/task.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/src/proc/task.c
|
1184 |
6781 d 3 h |
jermar |
/kernel/trunk/ |
Move arch/thread.h to arch/proc/thread.h on all architectures.
Replace ARCH_THREAD_DATA with new thread_arch_t arch on all architectures.
Similarily, add task_arch_t arch on all architectures.
On amd64 and ia32, grow the TSS segment by 64K + 1B to support IO port
permission bitmap. For the same reason, define per task IO port permission bitmaps
on ia32 and amd64. |
|
/kernel/trunk/arch/amd64/include/proc /kernel/trunk/arch/amd64/include/proc/task.h /kernel/trunk/arch/amd64/include/proc/thread.h /kernel/trunk/arch/ia32/include/proc /kernel/trunk/arch/ia32/include/proc/task.h /kernel/trunk/arch/ia32/include/proc/thread.h /kernel/trunk/arch/ia64/include/proc /kernel/trunk/arch/ia64/include/proc/task.h /kernel/trunk/arch/ia64/include/proc/thread.h /kernel/trunk/arch/mips32/include/proc /kernel/trunk/arch/mips32/include/proc/task.h /kernel/trunk/arch/mips32/include/proc/thread.h /kernel/trunk/arch/ppc32/include/proc /kernel/trunk/arch/ppc32/include/proc/task.h /kernel/trunk/arch/ppc32/include/proc/thread.h /kernel/trunk/arch/ppc64/include/proc /kernel/trunk/arch/ppc64/include/proc/task.h /kernel/trunk/arch/ppc64/include/proc/thread.h /kernel/trunk/arch/sparc64/include/proc /kernel/trunk/arch/sparc64/include/proc/task.h /kernel/trunk/arch/sparc64/include/proc/thread.h
/kernel/trunk/arch/amd64/include/thread.h /kernel/trunk/arch/ia32/include/thread.h /kernel/trunk/arch/ia64/include/thread.h /kernel/trunk/arch/mips32/include/thread.h /kernel/trunk/arch/ppc32/include/thread.h /kernel/trunk/arch/ppc64/include/thread.h /kernel/trunk/arch/sparc64/include/thread.h
/kernel/trunk/arch/amd64/include/pm.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/amd64/src/proc/thread.c /kernel/trunk/arch/ia32/include/pm.h /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/proc/scheduler.c /kernel/trunk/arch/ia32/src/proc/thread.c /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/proc/thread.c
|
1178 |
6782 d 1 h |
jermar |
/kernel/trunk/ |
Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM. |
|
/kernel/trunk/generic/include/ddi /kernel/trunk/generic/include/ddi/ddi.h /kernel/trunk/generic/include/ddi/ddi_arg.h /kernel/trunk/generic/src/ddi /kernel/trunk/generic/src/ddi/ddi.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/errno.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
1177 |
6782 d 5 h |
jermar |
/kernel/trunk/generic/ |
Modify B+tree node key width to be 64-bit wide on all platforms. |
|
/kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c
|
1176 |
6782 d 6 h |
jermar |
/kernel/trunk/generic/ |
Kernel support for SYS_GET_TASK_ID syscall. |
|
/kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/syscall/syscall.c
|
1174 |
6782 d 7 h |
jermar |
/kernel/trunk/ |
Start capabilities support. |
|
/kernel/trunk/generic/include/security /kernel/trunk/generic/include/security/cap.h /kernel/trunk/generic/src/security /kernel/trunk/generic/src/security/cap.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/proc/task.c
|
1171 |
6782 d 9 h |
jermar |
/kernel/trunk/ |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer. |
|
/kernel/trunk/arch/amd64/src/proc/thread.c /kernel/trunk/arch/ia32/src/proc/thread.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia64/include/thread.h /kernel/trunk/arch/mips32/include/thread.h /kernel/trunk/arch/ppc32/include/thread.h /kernel/trunk/arch/ppc64/include/thread.h /kernel/trunk/arch/sparc64/include/thread.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/proc/thread.c
|
1170 |
6783 d 1 h |
vana |
/kernel/trunk/ |
Stack size definition macro definition fix |
|
/kernel/trunk/arch/ia64/include/arch.h /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/src/proc/task.c
|
1164 |
6785 d 1 h |
jermar |
/kernel/trunk/generic/ |
Switch B+tree node allocation from malloc() to a dedicated slab - btree_node_slab. |
|
/kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/main/main.c
|
1159 |
6785 d 2 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all tasks with B+tree of all tasks. |
|
/kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/src/proc/task.c
|
1158 |
6785 d 3 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all threads with B+tree of all threads.
Add function thread_exists() for querying existence of thread. |
|
/kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/waitq.c
|
1156 |
6785 d 4 h |
jermar |
/kernel/trunk/generic/ |
Sleeping in a wait queue can be now interrupted with
waitq_interrupt_sleep(). |
|
/kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/synch.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/src/synch/waitq.c
|
1150 |
6790 d 9 h |
jermar |
/kernel/trunk/generic/ |
Rename btree_node_left_sibling() to btree_leaf_node_left_neighbour()
and btree_node_right_sibling() to btree_leaf_node_right_neighbour()
as the left and right neighbours of a node needn't be its siblings. |
|
/kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/mm/as.c
|
1149 |
6790 d 19 h |
jermar |
/kernel/trunk/generic/include/mm/ |
s/B+-tree/B+tree/ |
|
/kernel/trunk/generic/include/mm/as.h
|
1147 |
6790 d 20 h |
jermar |
/kernel/trunk/generic/ |
Deploy B+tree in address space area management.
Change as_remap() to check for conflicts with other address space areas only when the area in question grows. |
|
/kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/mm/as.c
|
1142 |
6793 d 7 h |
jermar |
/kernel/trunk/ |
Update B+-tree code.
The code is there, btree_remove() has not been tested yet.
(Fixes, if any, are to come later today.) |
|
/kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/test/btree/btree1/test.c
|
1140 |
6794 d 23 h |
jermar |
/kernel/trunk/generic/ |
Change B+-tree from 2-3-4 tree to 2-3-4-5 tree by adding space for the fourth key.
This should make key removal easier. |
|
/kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/src/adt/btree.c
|
1139 |
6794 d 23 h |
jermar |
/kernel/trunk/generic/include/ |
Fix comments. |
|
/kernel/trunk/generic/include/arch.h /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/synch/futex.h
|
1138 |
6798 d 1 h |
jermar |
/kernel/trunk/ |
CPU stacks must have two frames on ia64.
Make sure both thread stack frames are mapped in before_thread_runs_arch().
Take STACK_FRAMES into account during kernel memory layout initialization in main_bsp(). |
|
/kernel/trunk/arch/ia64/include/context.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/ia64/src/ivt.S /kernel/trunk/arch/ia64/src/proc/scheduler.c /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/generic/include/config.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/proc/thread.c
|
1117 |
6801 d 21 h |
jermar |
/kernel/trunk/generic/ |
Improved futexes. (kernel part) |
|
/kernel/trunk/generic/include/synch/futex.h /kernel/trunk/generic/src/synch/futex.c
|
1112 |
6802 d 7 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 |
6802 d 19 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
|
1107 |
6802 d 19 h |
jermar |
/kernel/trunk/ |
Small atomic #include and typedef changes. |
|
/kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/generic/include/atomic.h /kernel/trunk/generic/include/typedefs.h
|
1104 |
6803 d 0 h |
jermar |
/kernel/trunk/ |
Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well. |
|
/kernel/trunk/generic/include/atomic.h
/kernel/trunk/arch/amd64/include/atomic.h /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/generic/include/func.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/generic/src/time/clock.c /kernel/trunk/test/atomic/atomic1/test.c /kernel/trunk/test/debug/mips1/test.c /kernel/trunk/test/fault/fault1/test.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/synch/rwlock1/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
|
1101 |
6804 d 21 h |
jermar |
/kernel/trunk/ |
B+-tree implementation.
Currently supports only inserting and searching. |
|
/kernel/trunk/generic/include/adt/btree.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/test/btree /kernel/trunk/test/btree/btree1 /kernel/trunk/test/btree/btree1/test.c
/kernel/trunk/Makefile /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/main/main.c /kernel/trunk/kernel.config
|
1100 |
6804 d 21 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
|