Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1968 |
6506 d 2 h |
jermar |
/tags/ |
Canonize pre-0.2.0.3 tags: remove inner branches, tags and trunk directories.
The change now should reflect how those releases looked like after checkout. |
|
/tags/0.1.0/SPARTAN/Makefile /tags/0.1.0/SPARTAN/Makefile.config /tags/0.1.0/SPARTAN/arch /tags/0.1.0/SPARTAN/build.ia32 /tags/0.1.0/SPARTAN/clean /tags/0.1.0/SPARTAN/contrib /tags/0.1.0/SPARTAN/doc /tags/0.1.0/SPARTAN/genarch /tags/0.1.0/SPARTAN/generic /tags/0.1.0/SPARTAN/test /tags/0.1.0/SPARTAN/tools /tags/0.1.0/SPARTAN/uspace /tags/0.1.0/uspace/Makefile /tags/0.1.0/uspace/_link.ld /tags/0.1.0/uspace/init.c /tags/0.1.0/uspace/libc /tags/0.1.1/boot/Makefile /tags/0.1.1/boot/arch /tags/0.1.1/boot/boot.config /tags/0.1.1/boot/tools /tags/0.1.1/kernel/Makefile /tags/0.1.1/kernel/arch /tags/0.1.1/kernel/contrib /tags/0.1.1/kernel/doc /tags/0.1.1/kernel/genarch /tags/0.1.1/kernel/generic /tags/0.1.1/kernel/kernel.config /tags/0.1.1/kernel/test /tags/0.1.1/kernel/tools /tags/0.1.1/uspace/Makefile /tags/0.1.1/uspace/init /tags/0.1.1/uspace/kbd /tags/0.1.1/uspace/libadt /tags/0.1.1/uspace/libc /tags/0.1.1/uspace/ns /tags/0.1.1/uspace/pci /tags/0.1.1/uspace/softfloat /tags/0.1.1/uspace/softint /tags/0.1.1/uspace/tools /tags/0.1.1/uspace/uspace.config /tags/0.2.0.1/boot/Makefile /tags/0.2.0.1/boot/arch /tags/0.2.0.1/boot/boot.config /tags/0.2.0.1/boot/tools /tags/0.2.0.1/kernel/Makefile /tags/0.2.0.1/kernel/arch /tags/0.2.0.1/kernel/contrib /tags/0.2.0.1/kernel/doc /tags/0.2.0.1/kernel/genarch /tags/0.2.0.1/kernel/generic /tags/0.2.0.1/kernel/kernel.config /tags/0.2.0.1/kernel/test /tags/0.2.0.1/kernel/tools /tags/0.2.0.1/uspace/Makefile /tags/0.2.0.1/uspace/console /tags/0.2.0.1/uspace/fb /tags/0.2.0.1/uspace/init /tags/0.2.0.1/uspace/ipcc /tags/0.2.0.1/uspace/kbd /tags/0.2.0.1/uspace/klog /tags/0.2.0.1/uspace/libc /tags/0.2.0.1/uspace/ns /tags/0.2.0.1/uspace/pci /tags/0.2.0.1/uspace/softfloat /tags/0.2.0.1/uspace/softint /tags/0.2.0.1/uspace/tetris /tags/0.2.0.1/uspace/tools /tags/0.2.0.1/uspace/uspace.config /tags/0.2.0.2/boot/Makefile /tags/0.2.0.2/boot/arch /tags/0.2.0.2/boot/boot.config /tags/0.2.0.2/boot/tools /tags/0.2.0.2/kernel/Makefile /tags/0.2.0.2/kernel/arch /tags/0.2.0.2/kernel/contrib /tags/0.2.0.2/kernel/doc /tags/0.2.0.2/kernel/genarch /tags/0.2.0.2/kernel/generic /tags/0.2.0.2/kernel/kernel.config /tags/0.2.0.2/kernel/test /tags/0.2.0.2/kernel/tools /tags/0.2.0.2/uspace/Makefile /tags/0.2.0.2/uspace/console /tags/0.2.0.2/uspace/doc /tags/0.2.0.2/uspace/fb /tags/0.2.0.2/uspace/init /tags/0.2.0.2/uspace/ipcc /tags/0.2.0.2/uspace/kbd /tags/0.2.0.2/uspace/klog /tags/0.2.0.2/uspace/libc /tags/0.2.0.2/uspace/ns /tags/0.2.0.2/uspace/pci /tags/0.2.0.2/uspace/softfloat /tags/0.2.0.2/uspace/softint /tags/0.2.0.2/uspace/tetris /tags/0.2.0.2/uspace/tools /tags/0.2.0.2/uspace/uspace.config /tags/0.2.0/boot/Makefile /tags/0.2.0/boot/arch /tags/0.2.0/boot/boot.config /tags/0.2.0/boot/tools /tags/0.2.0/kernel/Makefile /tags/0.2.0/kernel/arch /tags/0.2.0/kernel/contrib /tags/0.2.0/kernel/doc /tags/0.2.0/kernel/genarch /tags/0.2.0/kernel/generic /tags/0.2.0/kernel/kernel.config /tags/0.2.0/kernel/test /tags/0.2.0/kernel/tools /tags/0.2.0/uspace/Makefile /tags/0.2.0/uspace/console /tags/0.2.0/uspace/fb /tags/0.2.0/uspace/init /tags/0.2.0/uspace/ipcc /tags/0.2.0/uspace/kbd /tags/0.2.0/uspace/klog /tags/0.2.0/uspace/libc /tags/0.2.0/uspace/libfb /tags/0.2.0/uspace/ns /tags/0.2.0/uspace/pci /tags/0.2.0/uspace/softfloat /tags/0.2.0/uspace/softint /tags/0.2.0/uspace/tetris /tags/0.2.0/uspace/tools /tags/0.2.0/uspace/uspace.config
/tags/0.1.0/SPARTAN/trunk /tags/0.1.0/uspace/trunk /tags/0.1.1/boot/trunk /tags/0.1.1/kernel/trunk /tags/0.1.1/uspace/trunk /tags/0.2.0.1/boot/trunk /tags/0.2.0.1/kernel/branches /tags/0.2.0.1/kernel/tags /tags/0.2.0.1/kernel/trunk /tags/0.2.0.1/uspace/trunk /tags/0.2.0.2/boot/trunk /tags/0.2.0.2/kernel/branches /tags/0.2.0.2/kernel/tags /tags/0.2.0.2/kernel/trunk /tags/0.2.0.2/uspace/trunk /tags/0.2.0/boot/trunk /tags/0.2.0/kernel/branches /tags/0.2.0/kernel/tags /tags/0.2.0/kernel/trunk /tags/0.2.0/uspace/trunk
|
1964 |
6506 d 3 h |
jermar |
/tags/0.2.0/ |
Tagging release 0.2.0 |
|
/tags/0.2.0
|
1468 |
6655 d 8 h |
jermar |
/kernel/trunk/ |
Function for destroying address space for which there is no other reference in the kernel. |
|
/kernel/trunk/arch/ia32/include/mm/asid.h /kernel/trunk/genarch/src/mm/as_ht.c /kernel/trunk/genarch/src/mm/as_pt.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/task.c
|
1428 |
6659 d 2 h |
palkovsky |
/kernel/trunk/generic/ |
Added 256K slab, so that AMD can boot (until ELF loader is fixed).
Added AS_AREA_RECV so that the caller can receive AS_AREA. |
|
/kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/slab.c
|
1425 |
6659 d 5 h |
jermar |
/kernel/trunk/generic/ |
Make address space backend data a union. |
|
/kernel/trunk/generic/include/elf.h /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/backend_anon.c /kernel/trunk/generic/src/mm/backend_elf.c /kernel/trunk/generic/src/mm/backend_phys.c
|
1424 |
6659 d 7 h |
jermar |
/kernel/trunk/ |
Move the sharing functionality to address space area backends.
Add backend for continuous regions of physical memory.
Sharing for these areas works automagically now. |
|
/kernel/trunk/generic/src/mm/backend_anon.c /kernel/trunk/generic/src/mm/backend_elf.c /kernel/trunk/generic/src/mm/backend_phys.c
/kernel/trunk/Makefile /kernel/trunk/genarch/src/mm/page_ht.c /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
|
1423 |
6659 d 11 h |
jermar |
/kernel/trunk/ |
Update page fault handlers to distinguish between different access modes that had caused the page fault. |
|
/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/ppc64/include/mm/page.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/src/lib/elf.c /kernel/trunk/generic/src/mm/as.c
|
1417 |
6661 d 3 h |
jermar |
/kernel/trunk/generic/ |
Modify as_area_share() to accept destination area flags bitmask from the sender
(i.e. the sender can limit access mode to the shared area for the recipient).
Modify IPC_M_AS_AREA_SEND code to support this. Arguments for sender: arg1=as_area,
arg2=size, arg3=flags_mask.
The mechanism seems to work, but the page fault handlers need to be altered to
distinguish between faults under different access modes. |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/mm/as.c
|
1415 |
6661 d 15 h |
jermar |
/kernel/trunk/generic/ |
Some renaming to prevent confusion.
as_lock -> inactive_as_with_asid_lock
as_t::refcount -> as_t::cpu_refcount |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/mm/as.c
|
1413 |
6662 d 3 h |
jermar |
/kernel/trunk/generic/ |
Reimplement memory sharing. Currently, only
anonymous address space areas can be shared. |
|
/kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/generic/src/mm/as.c
|
1411 |
6662 d 7 h |
jermar |
/kernel/trunk/ |
Modify the hierarchy of page fault handlers to pass access mode that caused the fault.
Architectures are required to pass either PF_ACCESS_READ, PF_ACCESS_WRITE or PF_ACCESS_EXEC
to as_page_fault(), depending on the cause of the fault. |
|
/kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/src/mm/page.c /kernel/trunk/arch/ppc64/src/mm/page.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/mm/as.c
|
1409 |
6663 d 1 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 |
6665 d 9 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
|
1380 |
6666 d 5 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 |
6670 d 7 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 |
6672 d 7 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 |
6675 d 8 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 |
6681 d 13 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 |
6690 d 7 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 |
6690 d 8 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
|