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
1354 6577 d 15 h palkovsky /kernel/trunk/ Support for mips kbd driver.  
1332 6579 d 10 h palkovsky /kernel/trunk/ Added support for more processes in mips.  
1222 6601 d 7 h decky /kernel/trunk/arch/ init tasks must be registered before main_bsp()  
1187 6610 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.
 
1122 6631 d 5 h palkovsky /kernel/trunk/arch/mips32/ Set up T9 to entry point on entry to userspace to facilitate better
PIC running.
 
1121 6631 d 9 h jermar /kernel/trunk/ Small textual changes.  
1112 6631 d 20 h palkovsky /kernel/trunk/ Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction).
 
1078 6637 d 12 h jermar /kernel/trunk/ Improved uspace threads.
ia64 needs fixing.
 
1066 6638 d 5 h jermar /kernel/trunk/ Support for user space threads.  
1037 6638 d 19 h decky /kernel/trunk/ support for more init tasks
(might break some archs yet)
 
938 6642 d 12 h jermar /kernel/trunk/ Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention.
 
897 6655 d 6 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.
 
853 6664 d 15 h palkovsky /kernel/trunk/arch/mips32/ Some arc bios tweaks. Wanted to print configuration data, but
the ARC seems to return strange values.
Newport graphics card does not seem to be easy to port, give up now.
 
817 6674 d 16 h palkovsky /kernel/trunk/ Small cleanup.  
814 6674 d 18 h palkovsky /kernel/trunk/ Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print.
 
812 6675 d 8 h jermar /kernel/trunk/ Documentation and dot.bochsrc upgrade.  
797 6676 d 12 h palkovsky /kernel/trunk/arch/mips32/ Fixed uspace address constants.  
796 6676 d 13 h palkovsky /kernel/trunk/ Gxemul support for mips userspace. MIPS now _must_ be started
always with userspace, there is (almost) no way how to pass parameters
to kernel.
 
794 6676 d 14 h palkovsky /kernel/trunk/ Added MIPS userspace. Currently can't make it work in gxemul.  
703 6700 d 17 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().
 
614 6732 d 5 h palkovsky /kernel/trunk/ Added support for mips breakpoints.
We have a kind of kernel debugger :-)
Breakpoints on JMP/Branch instructions are not supported and
they are reported after the breakpoint is fired and exited as
a BranchDelay exception. If we found a way, how to detect these
instructions, we would be able to support them as 'one-time' breakpoints.
 
590 6734 d 12 h palkovsky /kernel/trunk/ Move all MIPS exceptions to generic dispatcher.
Align size in malloc() to __native size, some architectures
don't like it unaligned.
 
575 6735 d 6 h palkovsky /kernel/trunk/ Added generic exc_register/exc_dispatch functions,
copied from ia32 architecture. Currently only mips32 uses them.

The chardev_t can now be both input & output device (was
needed for serial driver).

Broken other architectures - ia64, sparc, powerpc will not compile.

Mips32 supports input on all msim, gxemul, indy(tested emulation
in gxemul, loses characters), simics. Simics serial line
is done using polling, I was unable to make it produce
an interrupt when the key was pressed.
 
573 6735 d 12 h palkovsky /kernel/trunk/ Added MIPS ARC memory initializaiton.  
534 6740 d 11 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6740 d 11 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
510 6752 d 7 h jermar /kernel/trunk/ Add chardev_t.
This type is meant to abstract any input character device such as keyboard, serial port etc.
Add stdin.
Add dummy kconsole.
 
509 6752 d 9 h jermar /kernel/trunk/ Basic keyboard support for mips32 (msim).  
503 6752 d 14 h jermar /kernel/trunk/ Rename arch_late_init() to arch_pre_smp_init().
Add arch_post_smp_init().
Enable IRQ_KBD on ia-32 (doesn't work on Bochs SMP, works on Bochs UP).
 
501 6752 d 15 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
413 6788 d 7 h jermar /SPARTAN/trunk/ Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority.
 
391 6801 d 8 h jermar /SPARTAN/trunk/ mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.

Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile.
 
344 6823 d 10 h palkovsky /SPARTAN/trunk/ Added more code to arc.
Fixed bad name in byteorder.h
 
342 6823 d 16 h jermar /SPARTAN/trunk/arch/ Rename ppc port to ppc32.  
341 6823 d 17 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
332 6824 d 18 h palkovsky /SPARTAN/trunk/ Updated symtab so that it works correctly with BE architectures.
Changed compiler for BE MIPS to be mips-sgi-irix5, because
mipsel -EB does not behave correctly.
Doc updates to amd64.
Added ARC BIOS support to MIPS architecture. Putchar works correctly,
kernel passed FPU & some rwlock tests.
 
330 6825 d 12 h palkovsky /SPARTAN/trunk/arch/mips/ Fixed bad address loading in simulators.
FPU cooprocessor unusable now checks, if it is FPU that is unusable.
 
329 6825 d 13 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
326 6826 d 5 h palkovsky /SPARTAN/trunk/ Cleanup of makefiles to have common options in one main makefile.

Add simple build process for different simulators for MIPS.
Added FPU context & lazy FPU context switching to MIPS.
Cleanup of MIPS linker script.
Moved MIPS kernel above 1MB. Not tested on real machine yet, but it might help.

There is something broken with gcc inlined memcpy (either simulator or gcc), it is disabled on BigEndian mips now.
 
324 6826 d 16 h palkovsky /SPARTAN/trunk/ MIPS architecture now works without any problems in
- msim: compile as OUTPUT_FORMAT(binary)
- gxemul: compile as OUTPUT_FORMAT(ecoff-littlemips), or create
configuration file for binary format (will be done later)
- simics: compile as OUTPUT_FORMAT(elf32-little), might work with binary
format, didn't try yet.