Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4647 5664 d 0 h jermar /branches/arm/ Branch out a new arm branch.  
3880 5816 d 22 h decky /trunk/kernel/arch/ simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup
 
3774 5857 d 3 h jermar /trunk/kernel/arch/ia64/include/ More of ia64 cleanup.  
3764 5860 d 5 h jermar /trunk/kernel/arch/ia64/ Legacy vs. lagacy.  
3661 5890 d 21 h vana /trunk/ IA64: repair similators support  
3657 5891 d 6 h vana /trunk/ Legacy IRQ support, uspace NS16550 support, some minor changes  
3626 5898 d 2 h vana /trunk/kernel/ Classic TLB shootdown support on ia64  
2608 6271 d 2 h jermar /trunk/ Support for six syscall arguments on ia64.

--iSupis line, and those below, will be ignored--

M kernel/arch/ia64/include/interrupt.h
M kernel/arch/ia64/src/ivt.S
M kernel/arch/ia64/src/interrupt.c
M uspace/lib/libc/arch/ia64/src/syscall.S
 
2516 6338 d 21 h vana /trunk/kernel/ IA64 rest of neaded changes to work with simics keyboard  
2089 6563 d 5 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6573 d 22 h jermar /trunk/ (c) versus (C)  
2064 6587 d 21 h vana /trunk/ SIMICS added as a simulator kernel runs on  
1942 6664 d 22 h jermar /trunk/ Convert ia64 to the new IRQ and notification scheme.  
1888 6699 d 1 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6764 d 0 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6771 d 1 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6792 d 4 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1621 6799 d 1 h vana /kernel/trunk/arch/ia64/ itanium faulting task kill  
1595 6799 d 11 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.
 
1507 6803 d 4 h vana /kernel/trunk/ IA64 uspace keyboard kernel part  
1295 6830 d 6 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().
 
1288 6831 d 7 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 6835 d 5 h jermar /kernel/trunk/arch/ Add dummy IRQ_COUNT and irq_ipc_bind_arch() to ia64, ppc32 and sparc64 so that they compile again.  
1053 6881 d 2 h vana /kernel/trunk/ Itanium FPU Lazy context switching... but not so much tested  
1023 6882 d 0 h vana /kernel/trunk/ Itanium FPU active context switch  
993 6882 d 22 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.
 
962 6883 d 21 h jermar /kernel/trunk/arch/ia64/ ia64 work.
Support for __SYSCALL4.
Fix user stack initial address.
 
958 6883 d 22 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.
 
921 6888 d 1 h jermar /kernel/trunk/arch/ia64/ ia64 work.
Userspace is now working.
There is an unrelated show stopper, however.
 
915 6890 d 8 h jermar /kernel/trunk/arch/ia64/ ia64 work.
- Another item had to be allocated on stack to remember new value written to ar.bspstore.
Fix heavyweight interruption handler to calculate RSC.loadrs from the new value of ar.bspstore
instead from the old one.
Uncomment instructions switching ar.bspstore.
- Configure kernel with 512M of memory.
 
912 6891 d 22 h jermar /kernel/trunk/ ia64 work.

ivt.S:
Detect userspace stack in heavyweight handler and switch to kernel stack.
Remember the old stack pointer.
As for register stack, kernel stack is assumed still.
Fix alignment issues that showed when STACK_ITEMS was odd.
Fix ld8 instruction that did subtraction of 8 instead of addition of 8.

scheduler.c:
Change before_thread_runs_arch() to calculate address of top of the stack
for the interrupt handler.
 
534 6982 d 23 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6982 d 23 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6995 d 3 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
472 7008 d 4 h jermar /SPARTAN/trunk/ Changes in build system.
For .S targets, always do -D__ASM__.
Remove unnecessary #define __ASM__ from various *.S files.
At the end of build, generate disassembler dump for kernel.raw.

ia64 work.
Better General Exception handler.
 
470 7008 d 17 h jermar /SPARTAN/trunk/ ia64 work.
Big cleanup of IA-64 interrupt processing.
Merge of interrupt.c and interrupt_handler.c.
Rewrite of ivt.S and interrupt.c.
Higher level interrupt handlers are now passed a vector number and a pointer to stack structure.

ia32 work.
ia32 has ordered writes. Until it deploys weaker memory ordering model, write_barrier() can be empty statement.
 
435 7011 d 21 h jermar /SPARTAN/trunk/arch/ia64/ ia64 work.
Begin implemention of heavyweight interrupt handler.
Finish implementation of interval timer.
Add some PAL macros.
 
433 7013 d 21 h jermar /SPARTAN/trunk/arch/ia64/ ia64 work.
Fix definition of __u32.
Add more register manipulation functions.
Add unions describing bit-structured registers.
Distinguish between timer, unhandled and spurious external interrupts.
Initialize interval timer to generate first timer interrupt.
 
431 7014 d 6 h jermar /SPARTAN/trunk/arch/ IA-64 work.
Exclude external interrupt from universal_handler() scope.
 
35 7200 d 7 h jermar /SPARTAN/trunk/ Early support for IA-64 architecture.