Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1587 |
6728 d 0 h |
jermar |
/kernel/trunk/ |
task_destroy() implementation, fixes in as_destroy() and task_kill().
This is the first version of HelenOS that would perform complete cleanup leading from thread to destruction of address space. |
|
/kernel/trunk/arch/amd64/src/proc/task.c /kernel/trunk/arch/ia32/src/proc/task.c /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/mm/as.c /kernel/trunk/generic/src/proc/task.c
|
1511 |
6731 d 2 h |
palkovsky |
/kernel/trunk/arch/ |
Remove __address from include file included by uspace |
|
/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/ppc64/include/mm/as.h /kernel/trunk/arch/sparc64/include/mm/as.h
|
1410 |
6740 d 3 h |
jermar |
/kernel/trunk/arch/sparc64/ |
Modify sparc64 to choose optimal page size in each invocation of hw_map().
Use hw_map() to map keyboard device memory. |
|
/kernel/trunk/arch/sparc64/src/drivers/i8042.c
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/drivers/i8042.h /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/mm/page.c
|
1377 |
6745 d 3 h |
jermar |
/kernel/trunk/arch/sparc64/include/drivers/ |
Remove unneeded macro. |
|
/kernel/trunk/arch/sparc64/include/drivers/fb.h
|
1288 |
6759 d 5 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
|
1265 |
6763 d 4 h |
jermar |
/kernel/trunk/arch/ |
Add dummy IRQ_COUNT and irq_ipc_bind_arch() to ia64, ppc32 and sparc64 so that they compile again. |
|
/kernel/trunk/arch/ia64/include/interrupt.h /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ppc32/include/interrupt.h /kernel/trunk/arch/ppc32/src/interrupt.c /kernel/trunk/arch/sparc64/include/interrupt.h /kernel/trunk/arch/sparc64/src/trap/interrupt.c
|
1185 |
6781 d 2 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
|
1171 |
6782 d 8 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
|
1108 |
6802 d 19 h |
jermar |
/kernel/trunk/ |
Small PTE_* macros and SET_PTL0_ADDRESS macro changes. |
|
/kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/generic/src/mm/as.c
|
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
|
1082 |
6807 d 21 h |
jermar |
/kernel/trunk/arch/sparc64/include/ |
Fix atomic_postdec() operation. |
|
/kernel/trunk/arch/sparc64/include/atomic.h
|
1070 |
6808 d 7 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
|
1024 |
6809 d 22 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
|
977 |
6811 d 3 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
|
967 |
6811 d 6 h |
palkovsky |
/kernel/trunk/ |
Allowed userspace to include page.h. |
|
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/ia32/include/mm/frame.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/ia64/include/mm/frame.h /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/mips32/include/mm/frame.h /kernel/trunk/arch/mips32/include/mm/page.h /kernel/trunk/arch/ppc32/include/mm/frame.h /kernel/trunk/arch/ppc32/include/mm/page.h /kernel/trunk/arch/sparc64/include/mm/frame.h /kernel/trunk/arch/sparc64/include/mm/page.h
|
958 |
6811 d 21 h |
jermar |
/kernel/trunk/ |
Nicer ia32 interrupt handlers and structures holding interrupted context data.
Unify the name holding interrupted context data on all architectures to be istate. |
|
/kernel/trunk/arch/amd64/include/context.h /kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/ia32/src/drivers/i8254.c /kernel/trunk/arch/ia32/src/drivers/i8259.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/include/interrupt.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/ia64/include/types.h /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/include/debugger.h /kernel/trunk/arch/mips32/include/exception.h /kernel/trunk/arch/mips32/include/mm/tlb.h /kernel/trunk/arch/mips32/include/thread.h /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/msim.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/fpu_context.c /kernel/trunk/arch/mips32/src/interrupt.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/sparc64/include/drivers/tick.h /kernel/trunk/arch/sparc64/src/drivers/tick.c /kernel/trunk/genarch/src/i8042/i8042.c /kernel/trunk/generic/include/interrupt.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/interrupt/interrupt.c
|
955 |
6811 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
|
940 |
6812 d 22 h |
jermar |
/kernel/trunk/ |
Get rid of unneeded macros.
Their functionality has been replaced by the ELF loader. |
|
/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/arch/sparc64/include/types.h /kernel/trunk/generic/include/mm/as.h
|
938 |
6812 d 23 h |
jermar |
/kernel/trunk/ |
Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention. |
|
/kernel/trunk/generic/src/lib/elf.c
/kernel/trunk/generic/include/elf32.h /kernel/trunk/generic/include/elf64.h /kernel/trunk/generic/src/lib/elf32.c /kernel/trunk/generic/src/lib/elf64.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/_link.ld.in /kernel/trunk/arch/amd64/include/elf.h /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/userspace.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/include/elf.h /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/elf.h /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/elf.h /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc32/include/elf.h /kernel/trunk/arch/ppc32/include/types.h /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/elf.h /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/contrib/conf/ski.conf /kernel/trunk/contrib/conf/spmips.conf /kernel/trunk/generic/include/elf.h /kernel/trunk/generic/include/userspace.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/uinit.c
|