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
1822 6499 d 11 h jermar /trunk/ sparc64 work.
1. Formatting fixes.
2. When writing to DMMU ASI's, simple membar() can be used in place of flush().
3. Substantial changes in the way the TLB is taken over.
4. Remove unneeded functions.

This is the first revision that also runs on a real world Ultra 5 with UltraSPARC IIi
processor.

Note that 3. needs further work as the current implementation depends on the fact
that the compiler will use registers for local variables in take_over_tlb_and_tt().
Rewrite of that function into assembly is to follow.
 
1790 6518 d 5 h jermar /trunk/ Remove OpenFirmware calls from kernel/ entirely.

Switch the sparc64 port to use bootinfo.

Copy memcpy from boot/ to sparc64 kernel/ and
adjust it for memcpy_from/to_uspace.
 
1787 6520 d 4 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1784 6521 d 1 h jermar /kernel/trunk/ Sync OpenFirmware functionality with boot.
Random cleanup.
 
1769 6530 d 1 h jermar /kernel/trunk/arch/ Change cache_error exception to take istate * as a parameter.
Make cache_error() print epc in the panic message.
Do not rely on the compiler to generate 'nop' after 'beq' in atomic_add()
and put it there explicitly.
Indentation fixes and cosmetic changes.
 
1702 6548 d 8 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1410 6568 d 9 h jermar /kernel/trunk/arch/sparc64/ Modify sparc64 to choose optimal page size in each invocation of hw_map().
Use hw_map() to map keyboard device memory.
 
1382 6572 d 1 h decky /kernel/trunk/ make hardware memory mapping more generic  
1376 6573 d 9 h jermar /kernel/trunk/ Change the way the framebuffer is mapped so that sparc64 is usable again.  
1135 6628 d 0 h decky /kernel/trunk/ framebuffer code cleanup, support for non-standard scanline sizes
ppc32: get framebuffer parameters from boot loader
 
897 6653 d 22 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.
 
895 6654 d 2 h jermar /kernel/trunk/ sparc64 work.
Very raw and fragile preliminary standalone keyboard support - polling mode only.
Because of a workaround in Simics, the scan codes are the same as on ia32.
 
894 6654 d 5 h jermar /kernel/trunk/ Move i8042 driver to genarch as it might be used by more architectures.  
893 6654 d 10 h jermar /kernel/trunk/arch/ sparc64 work.
Revive OFW console code and use it before the kernel switches to standalone console.

ia32 + ia64 cosmetic changes.
 
883 6655 d 10 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Switch console to framebuffer (needs proper detection and initialization).
No native keyboard support, so far.
Memory management trap handler fixes.
Do not use OpenFirmware trap table anymore.
 
669 6713 d 0 h jermar /kernel/trunk/ sparc64 work.
kconsole support.
Add non-blocking ofw_getchar().
 
664 6717 d 21 h jermar /kernel/trunk/ sparc64 work.
Interrupt Levels 1 - 15 serviced.
Minor changes in the exc_* functions.
 
586 6733 d 6 h jermar /kernel/trunk/ Fix ppc32 and sparc64 to compile again.
Fix sparc64 to function again.
 
534 6739 d 3 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6739 d 3 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6751 d 7 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
493 6752 d 0 h jermar /SPARTAN/trunk/ Move genarch/{src|include}/firmware/ofw to genarch/{src|include}/ofw.  
426 6774 d 9 h jermar /SPARTAN/trunk/ sparc64 work.
Add context_save(), context_set() and context_restore().
Remove putchar() definition from ofw.c.
Add sparc64 putchar().
Add ppc32 putchar() (i.e. the original ofw.c putchar()).
Make arg.h use the builtin va_* constructs.