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
1889 6496 d 7 h jermar /trunk/kernel/ Fix bug in mm/as.c:
- as_area_destroy() should not work with AS but as

sparc64 work:
- start implementing TSB support
 
1888 6499 d 10 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1882 6500 d 13 h jermar /trunk/kernel/ Support for sparc64 FPU context.  
1854 6515 d 16 h jermar /trunk/kernel/ Define architecture-specific thread sub-constructors and sub-destructors on all architectures.
Define the THREAD_FLAG_USPACE which means that the thread runs in user space.
The forementioned changes allow for allocating of user window buffer on sparc64
threads that execute in userspace.

A lot of formatting and indentation fixes.
 
1787 6564 d 8 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6571 d 9 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1731 6588 d 2 h jermar /kernel/trunk/ Updates in Doxygen-style comments.
Make architecture specific modules appear conditionally in the documentation.
Add time management module.
Improve names of other modules and sort module order
to be more like in the design documentation.
 
1708 6589 d 15 h jermar /kernel/trunk/ Fix some broken doxygen comments.  
1702 6592 d 12 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1675 6596 d 14 h jermar /kernel/trunk/arch/ia64/ On ia64, purge DTR entry before overwriting it with new contents.  
1621 6599 d 10 h vana /kernel/trunk/arch/ia64/ itanium faulting task kill  
1595 6599 d 19 h palkovsky /kernel/trunk/ Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO: Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog.
 
1587 6600 d 9 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.
 
1511 6603 d 12 h palkovsky /kernel/trunk/arch/ Remove __address from include file included by uspace  
1507 6603 d 13 h vana /kernel/trunk/ IA64 uspace keyboard kernel part  
1488 6604 d 9 h vana /kernel/trunk/arch/ia64/include/ Lost file  
1295 6630 d 14 h jermar /kernel/trunk/arch/ia64/ Complete implementation of memcpy_from_uspace() and memcpy_to_uspace().
The memcpy() variants are based on the assembler output of the generic
_memcpy().
 
1290 6631 d 13 h vana /kernel/trunk/arch/ VESA detection failure fix.

(Some headers)
 
1288 6631 d 15 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.
 
1265 6635 d 13 h jermar /kernel/trunk/arch/ Add dummy IRQ_COUNT and irq_ipc_bind_arch() to ia64, ppc32 and sparc64 so that they compile again.  
1210 6645 d 14 h vana /kernel/trunk/ Incomplete VHPT walker support for Itanium  
1185 6653 d 12 h jermar /kernel/trunk/ Add task_create_arch() for all architectures.  
1184 6653 d 12 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.
 
1171 6654 d 18 h jermar /kernel/trunk/ Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer.
 
1170 6655 d 10 h vana /kernel/trunk/ Stack size definition macro definition fix  
1138 6670 d 10 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().
 
1137 6670 d 13 h vana /kernel/trunk/arch/ia64/include/ context_set patch in kernel for changed allocation of ia64 RSE and stack  
1124 6673 d 16 h jermar /kernel/trunk/arch/ Small changes.
Make sparc64 and ppc32 compile again.
 
1108 6675 d 4 h jermar /kernel/trunk/ Small PTE_* macros and SET_PTL0_ADDRESS macro changes.  
1107 6675 d 4 h jermar /kernel/trunk/ Small atomic #include and typedef changes.  
1104 6675 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.
 
1078 6680 d 9 h jermar /kernel/trunk/ Improved uspace threads.
ia64 needs fixing.
 
1070 6680 d 17 h jermar /kernel/trunk/ More checks for address space area conflicts.  
1053 6681 d 10 h vana /kernel/trunk/ Itanium FPU Lazy context switching... but not so much tested  
1024 6682 d 8 h jermar /kernel/trunk/ Redefine semantics of unary atomic operations.
Add test to verify that an architecture understands the semantics correctly.
 
1023 6682 d 8 h vana /kernel/trunk/ Itanium FPU active context switch  
993 6683 d 7 h jermar /kernel/trunk/arch/ia64/ Fix bug in switch to userspace on ia64: ensure start in bank 1.
Fix bug in tlb_invalidate_all() that cause interrupts to be unconditionally enabled.
Optimize context switching by discarding packed attribute of context structures.
 
979 6683 d 12 h vana /kernel/trunk/arch/ia64/ Itanium FPU context save/restore  
967 6683 d 16 h palkovsky /kernel/trunk/ Allowed userspace to include page.h.  
962 6684 d 5 h jermar /kernel/trunk/arch/ia64/ ia64 work.
Support for __SYSCALL4.
Fix user stack initial address.