Subversion Repositories HelenOS-historic

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
1409 6740 d 3 h jermar /kernel/trunk/generic/ Some shared memory stuff (not completed).
Support for address space area backends.
Add ELF and anonymous memory backends.
 
/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
1387 6742 d 11 h jermar /kernel/trunk/generic/ Add used_space_insert() and used_space_remove().
These are the alpha versions of functions that
will help to map used and unused portions of address
space areas. Currently unused, but many as_area operations
will be more efficient when the used space B+tree map
is used.
 
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/src/mm/as.c
1382 6743 d 5 h decky /kernel/trunk/ make hardware memory mapping more generic  
/kernel/trunk/genarch/src/fb/fb_map.c
/kernel/trunk/arch/amd64/src/mm/page.c
/kernel/trunk/arch/ia32/src/mm/page.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/src/console.c
/kernel/trunk/arch/sparc64/src/mm/page.c
/kernel/trunk/genarch/Makefile.inc
/kernel/trunk/genarch/include/fb/fb.h
/kernel/trunk/genarch/src/fb/fb.c
/kernel/trunk/generic/include/mm/page.h
1380 6743 d 7 h jermar /kernel/trunk/ Turn address space lock, address space area lock and
page_ht_lock into mutexes.
 
/kernel/trunk/genarch/include/mm/page_ht.h
/kernel/trunk/genarch/src/mm/as_ht.c
/kernel/trunk/genarch/src/mm/as_pt.c
/kernel/trunk/genarch/src/mm/asid.c
/kernel/trunk/genarch/src/mm/page_ht.c
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/synch/mutex.h
/kernel/trunk/generic/include/typedefs.h
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/proc/scheduler.c
1358 6747 d 9 h jermar /kernel/trunk/generic/ Cleanup after removal of as_area_accept and as_area_send.  
/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
1329 6749 d 9 h palkovsky /kernel/trunk/generic/ Added support to IPC for simple page sharing.  
/kernel/trunk/generic/include/ipc/ipc.h
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/syscall/syscall.h
/kernel/trunk/generic/src/ipc/sysipc.c
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/syscall/syscall.c
1306 6752 d 10 h jermar /kernel/trunk/generic/ Add SYS_AS_AREA_DESTROY syscall.
Add few error codes to errno.h
and change as.c accordingly.
 
/kernel/trunk/generic/include/errno.h
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/syscall/syscall.h
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/syscall/syscall.c
1288 6758 d 14 h jermar /kernel/trunk/ Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.
 
/kernel/trunk/generic/include/syscall/copy.h
/kernel/trunk/generic/src/syscall/copy.c
/kernel/trunk/Makefile
/kernel/trunk/arch/amd64/include/interrupt.h
/kernel/trunk/arch/amd64/src/asm_utils.S
/kernel/trunk/arch/amd64/src/mm/page.c
/kernel/trunk/arch/ia32/include/interrupt.h
/kernel/trunk/arch/ia32/src/asm.S
/kernel/trunk/arch/ia32/src/boot/boot.S
/kernel/trunk/arch/ia32/src/interrupt.c
/kernel/trunk/arch/ia64/include/interrupt.h
/kernel/trunk/arch/ia64/src/asm.S
/kernel/trunk/arch/ia64/src/mm/tlb.c
/kernel/trunk/arch/mips32/include/exception.h
/kernel/trunk/arch/mips32/src/asm.S
/kernel/trunk/arch/mips32/src/mm/tlb.c
/kernel/trunk/arch/ppc32/include/exception.h
/kernel/trunk/arch/ppc32/include/interrupt.h
/kernel/trunk/arch/ppc32/src/asm.S
/kernel/trunk/arch/ppc32/src/mm/tlb.c
/kernel/trunk/arch/sparc64/include/interrupt.h
/kernel/trunk/arch/sparc64/src/asm.S
/kernel/trunk/generic/include/interrupt.h
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/mm/page.h
/kernel/trunk/generic/include/proc/thread.h
/kernel/trunk/generic/src/ddi/ddi.c
/kernel/trunk/generic/src/ipc/irq.c
/kernel/trunk/generic/src/ipc/sysipc.c
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/mm/slab.c
/kernel/trunk/generic/src/printf/vsnprintf.c
/kernel/trunk/generic/src/proc/task.c
/kernel/trunk/generic/src/proc/thread.c
/kernel/trunk/generic/src/smp/ipi.c
/kernel/trunk/generic/src/synch/waitq.c
1239 6767 d 8 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 6767 d 9 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 6767 d 14 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 6767 d 14 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 6769 d 13 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 6770 d 10 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
1178 6781 d 10 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
1149 6790 d 4 h jermar /kernel/trunk/generic/include/mm/ s/B+-tree/B+tree/  
/kernel/trunk/generic/include/mm/as.h
1147 6790 d 4 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
1139 6794 d 8 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 6797 d 9 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
1104 6802 d 9 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

Show All