Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2039 6535 d 18 h decky /trunk/kernel/generic/ accumulate task accounting, run tests as separate kernel task  
1888 6626 d 14 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1820 6674 d 8 h decky /trunk/kernel/generic/ initial security context support  
1787 6691 d 13 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6698 d 14 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6719 d 17 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1587 6727 d 14 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 6727 d 17 h jermar /kernel/trunk/generic/ Kill task when its main thread exits.  
1583 6727 d 20 h jermar /kernel/trunk/generic/ Make ktaskclnp call ipc_cleanup and futex_cleanup.  
1579 6728 d 9 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 6728 d 15 h palkovsky /kernel/trunk/generic/ Slightly remodelled ipc hangups to facilitate correct cleanup.
Doc updates for frame allocator.
 
1468 6732 d 15 h jermar /kernel/trunk/ Function for destroying address space for which there is no other reference in the kernel.  
1460 6732 d 18 h jermar /kernel/trunk/generic/ Reference counting for futexes.  
1358 6747 d 14 h jermar /kernel/trunk/generic/ Cleanup after removal of as_area_accept and as_area_send.  
1235 6767 d 19 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 6770 d 15 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 6780 d 13 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 6780 d 16 h jermar /kernel/trunk/ Add task_create_arch() for all architectures.  
1184 6780 d 17 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 6781 d 14 h jermar /kernel/trunk/ Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM.
 
1176 6781 d 19 h jermar /kernel/trunk/generic/ Kernel support for SYS_GET_TASK_ID syscall.  
1174 6781 d 20 h jermar /kernel/trunk/ Start capabilities support.  
1159 6784 d 15 h jermar /kernel/trunk/generic/ Replace list of all tasks with B+tree of all tasks.  
1062 6808 d 8 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 6809 d 19 h palkovsky /kernel/trunk/generic/ Added support for taskid.  
998 6810 d 7 h palkovsky /kernel/trunk/generic/ Completed asynchronous ipc.  
973 6810 d 19 h palkovsky /kernel/trunk/generic/ Added simpler userspace starting.  
955 6811 d 11 h palkovsky /kernel/trunk/ Added kernel IPC functionality.  
788 6847 d 13 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
703 6870 d 18 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 6899 d 21 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 6910 d 11 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6910 d 12 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6922 d 16 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6943 d 9 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
410 6959 d 12 h jermar /SPARTAN/trunk/ Doxygen-style comments.  
177 7007 d 19 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 7199 d 14 h jermar /SPARTAN/ Initial import