Subversion Repositories HelenOS-historic

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1780 6517 d 6 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6538 d 9 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1587 6546 d 6 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.
 
1585 6546 d 10 h jermar /kernel/trunk/generic/ Kill task when its main thread exits.  
1583 6546 d 13 h jermar /kernel/trunk/generic/ Make ktaskclnp call ipc_cleanup and futex_cleanup.  
1579 6547 d 2 h jermar /kernel/trunk/generic/ Framework for task_kill().
Some pieces (e.g. implementation of ktask_cleanup() kernel thread and
task_destroy() function) are missing.
Changed locking order for task lock, threads_lock and thread lock from
threads_lock, thread lock, task lock to task lock, threads_lock, thread lock.
 
1568 6547 d 8 h palkovsky /kernel/trunk/generic/ Slightly remodelled ipc hangups to facilitate correct cleanup.
Doc updates for frame allocator.
 
1468 6551 d 7 h jermar /kernel/trunk/ Function for destroying address space for which there is no other reference in the kernel.  
1460 6551 d 11 h jermar /kernel/trunk/generic/ Reference counting for futexes.  
1358 6566 d 7 h jermar /kernel/trunk/generic/ Cleanup after removal of as_area_accept and as_area_send.  
1235 6586 d 12 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.
 
1227 6589 d 8 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.
 
1187 6599 d 6 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.
 
1185 6599 d 9 h jermar /kernel/trunk/ Add task_create_arch() for all architectures.  
1184 6599 d 9 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.
 
1178 6600 d 7 h jermar /kernel/trunk/ Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM.
 
1176 6600 d 12 h jermar /kernel/trunk/generic/ Kernel support for SYS_GET_TASK_ID syscall.  
1174 6600 d 13 h jermar /kernel/trunk/ Start capabilities support.  
1159 6603 d 8 h jermar /kernel/trunk/generic/ Replace list of all tasks with B+tree of all tasks.  
1062 6627 d 1 h jermar /kernel/trunk/ It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands.
 
1005 6628 d 12 h palkovsky /kernel/trunk/generic/ Added support for taskid.  
998 6629 d 0 h palkovsky /kernel/trunk/generic/ Completed asynchronous ipc.  
973 6629 d 12 h palkovsky /kernel/trunk/generic/ Added simpler userspace starting.  
955 6630 d 4 h palkovsky /kernel/trunk/ Added kernel IPC functionality.  
788 6666 d 6 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
703 6689 d 11 h jermar /kernel/trunk/ Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping().
 
623 6718 d 13 h jermar /kernel/trunk/ Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed.
 
534 6729 d 4 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6729 d 4 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6741 d 9 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6762 d 1 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
410 6778 d 4 h jermar /SPARTAN/trunk/ Doxygen-style comments.  
177 6826 d 12 h jermar /SPARTAN/trunk/ Add some comments to IA-32 src/boot/boot.S and src/smp.S.

Make the boot stack start on page boundary.
This is required by get_stack_base().

Define 'THE' macro.

Implement preemption_disable() and preemption_enable().

Add memory barrier macros.
IA-32 macros need support for older processors.
Non IA-32 macros are dummy.

Reduction of many #include paths.
 
1 7018 d 6 h jermar /SPARTAN/ Initial import