Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1187 6626 d 5 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 6626 d 8 h jermar /kernel/trunk/ Add task_create_arch() for all architectures.  
1184 6626 d 8 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 6627 d 14 h jermar /kernel/trunk/ Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer.
 
1165 6630 d 6 h decky /kernel/trunk/arch/ set ELF format explicitly  
1163 6630 d 6 h decky /kernel/trunk/arch/ fix types  
1162 6630 d 7 h decky /kernel/trunk/arch/ make the ppc ports generate proper 32b or 64b code  
1160 6630 d 7 h decky /kernel/trunk/ start ppc64 port
the code is currently a wild mixture of 32/64b code, will be fixed
 
1151 6634 d 12 h decky /kernel/trunk/arch/ppc32/src/mm/ ppc32: mark four first frames as unavailable  
1145 6637 d 8 h decky /kernel/trunk/arch/ppc32/ align ppc32 framebuffer on 128K boundary  
1135 6645 d 0 h decky /kernel/trunk/ framebuffer code cleanup, support for non-standard scanline sizes
ppc32: get framebuffer parameters from boot loader
 
1132 6646 d 3 h decky /kernel/trunk/arch/ppc32/ kernel boot API change  
1124 6646 d 12 h jermar /kernel/trunk/arch/ Small changes.
Make sparc64 and ppc32 compile again.
 
1107 6648 d 0 h jermar /kernel/trunk/ Small atomic #include and typedef changes.  
1106 6648 d 0 h jermar /kernel/trunk/arch/ Pass either -DCONFIG_PAGE_PT or -DCONFIG_PAGE_HT to the compiler.  
1104 6648 d 5 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.
 
1070 6653 d 13 h jermar /kernel/trunk/ More checks for address space area conflicts.  
1067 6653 d 21 h decky /kernel/trunk/arch/ppc32/include/boot/ respect two more reserved frames  
1057 6654 d 4 h decky /kernel/trunk/arch/ppc32/ update kernel/loader API  
1024 6655 d 4 h jermar /kernel/trunk/ Redefine semantics of unary atomic operations.
Add test to verify that an architecture understands the semantics correctly.
 
1007 6655 d 10 h decky /kernel/trunk/ ppc32: preemptive scheduling works now
FPU context saving disabled for now
 
1004 6655 d 22 h decky /kernel/trunk/ ppc32: basic exception and interrupt handling  
1001 6655 d 22 h decky /kernel/trunk/arch/ppc32/include/ fix semantics  
1000 6655 d 23 h decky /kernel/trunk/arch/ppc32/include/ add atomic_pre/post_inc/dec  
990 6656 d 4 h decky /kernel/trunk/ ppc32: initial stack, memory barriers, atomic operations, stack offset fix  
987 6656 d 6 h decky /kernel/trunk/arch/ppc32/ ppc32: initial exception support  
982 6656 d 7 h decky /kernel/trunk/arch/ppc32/ ppc32: initial I/O support  
977 6656 d 9 h jermar /kernel/trunk/ Add sys_mremap() syscall.  
972 6656 d 11 h decky /kernel/trunk/arch/ppc32/ ppc32: move kernel one frame up
frame zones initialization
 
970 6656 d 12 h decky /kernel/trunk/arch/ppc32/ ppc32: get memory map from loader  
967 6656 d 12 h palkovsky /kernel/trunk/ Allowed userspace to include page.h.  
957 6657 d 3 h decky /kernel/trunk/arch/ run ppc32 kernel above 2 GB  
951 6657 d 7 h decky /kernel/trunk/arch/ppc32/ ppc32 boots again (temporarily)  
940 6658 d 4 h jermar /kernel/trunk/ Get rid of unneeded macros.
Their functionality has been replaced by the ELF loader.
 
938 6658 d 4 h jermar /kernel/trunk/ Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention.
 
934 6658 d 5 h decky /kernel/trunk/arch/ppc32/ remove all OpenFirmware bindings from ppc32 kernel code
kernel now runs in real mode (ppc32)
 
910 6665 d 9 h bondari /kernel/trunk/ ELF framework for all archs. SPARC V9 not tested to compile.  
899 6670 d 6 h jermar /kernel/trunk/arch/ ia64 work.
Add dummy TLB fault handlers.
Improve code reuse in arch/mm/tlb.c.
 
897 6670 d 23 h jermar /kernel/trunk/ sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to the switch to the thread's stack. Add comment why this is crucial.
Add after_thread_ran() to the scheduler.
Add before_thread_runs_arch() and after_thread_ran_arch() for sparc64, mapping/demapping thread's kernel stack.
Add dummy after_thread_ran_arch() to all other architectures.
Add dtlb_insert_mapping() to promote code reuse.
 
884 6672 d 10 h decky /kernel/trunk/arch/ppc32/ move ppc boot loader to /boot tree