Subversion Repositories HelenOS-historic

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
515 6762 d 14 h jermar /kernel/trunk/ SMP cleanup continued.
Add nice type for IO APIC ID register.
Replace some magic numbers with more descriptive macros.
 
514 6763 d 8 h jermar /kernel/trunk/arch/ia32/ More SMP cleanup.
Suddenly, keyboard started to work on SMP under Simics.
Still not functional on Bochs (will consult Bochs people).
Doxygen style comments for apic.c.
 
513 6763 d 15 h jermar /kernel/trunk/arch/ia32/ APIC code cleanup.  
512 6763 d 19 h jermar /kernel/trunk/ SMP work.
Add madt_irq_to_pin().
Make ksmp() use virtual irq_to_pin() function, which makes better sence for ACPI configurations.
 
511 6764 d 8 h jermar /kernel/trunk/ Enable dummy kconsole for ia32 and amd64 (UP mode works).  
510 6764 d 9 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 6764 d 11 h jermar /kernel/trunk/ Basic keyboard support for mips32 (msim).  
508 6764 d 11 h jermar /kernel/trunk/ Basic keyboard support for ia32.
For some reason, keyoboard looks dead on SMP.

Make kinit() print "kinit..." strings in longer intervals.
 
507 6764 d 14 h decky /kernel/trunk/arch/ia32/include/boot/ revert bug in multiboot flags  
506 6764 d 14 h decky /kernel/trunk/ preparation for init task loading  
503 6764 d 16 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 6764 d 17 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
494 6765 d 10 h jermar /SPARTAN/trunk/genarch/ Remove genarch/{src|include}/firmware.  
493 6765 d 10 h jermar /SPARTAN/trunk/ Move genarch/{src|include}/firmware/ofw to genarch/{src|include}/ofw.  
492 6765 d 10 h jermar /SPARTAN/trunk/ Rename map_page_to_frame() to page_mapping_insert() and find_mapping() to page_mapping_find().
New names should make it more apparent that these two belong together.
 
490 6771 d 16 h jermar /SPARTAN/trunk/generic/src/mm/ Fix typo and clean up comments.  
489 6771 d 16 h jermar /SPARTAN/trunk/generic/ Make the buddy system more general.
Store implementation defined pointer in buddy_system_t.
Pass buddy system pointer to implementation defined buddy system operations.
 
488 6771 d 22 h bondari /SPARTAN/trunk/generic/src/mm/ Small fix :)  
487 6771 d 22 h bondari /SPARTAN/trunk/generic/src/mm/ Frame isect/coalesce functions optimization  
486 6772 d 10 h jermar /SPARTAN/trunk/ Revert to -O3 for all architectures as the mips32 bug got fixed.  
485 6772 d 10 h decky /SPARTAN/trunk/ fix small clean bug  
484 6772 d 10 h palkovsky /SPARTAN/trunk/arch/mips32/src/ Fixed typo in context save.  
483 6772 d 13 h jermar /SPARTAN/trunk/ For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).

New mips32 atomic_add() function.

Cleanup.
 
482 6773 d 13 h jermar /SPARTAN/trunk/generic/include/ Fix typo in buddy.h.
Make default memsize 8M.
 
481 6774 d 10 h vana /SPARTAN/trunk/arch/ia32/include/ Revert of =m in ia32 atomic operations. In according to gcc docs +m should be right but as Jakub said it is not working
with amd64 but =m is... and I'm not able to build tools for that platform to test it now :-( . (Maybe bug in gcc ???)
 
480 6774 d 12 h bondari /SPARTAN/trunk/generic/ Buddy system allocator implementation. Not checked. For review only.  
479 6775 d 14 h bondari /SPARTAN/trunk/generic/ Buddy system implementation. Not functional yet - only framework prepeared.
Also added 2 macros FRAME2ADDR and ADDR2FRAME.
 
478 6775 d 15 h jermar /SPARTAN/trunk/ Re-aply mistakenly reverted changes.  
477 6775 d 18 h vana /SPARTAN/trunk/ Atomic inc & dec functions synchronized on all ia32,ia64 and mips platforms. Now there are 3 versions which returns no value, new value and old value och changed variable.  
476 6775 d 20 h jermar /SPARTAN/trunk/arch/ia64/ ia64 CPU identification.  
475 6776 d 18 h jermar /SPARTAN/trunk/ Define atomic_t type.  
474 6776 d 18 h decky /SPARTAN/trunk/ clean test directory  
473 6777 d 10 h jermar /SPARTAN/trunk/arch/ia64/src/ ia64 work.
Comment some offending steps of heavyweight interrupt handler regarding RSE switching.
With this change, ia64 will do well on tests rwlock #4 and thread #1.
Cleanup.
 
472 6777 d 18 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.
 
471 6777 d 18 h decky /SPARTAN/trunk/ remove NDEBUG, replace it by ~CONFIG_DEBUG
set CONFIG_DEBUG = y
 
470 6778 d 7 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.
 
469 6778 d 14 h jermar /SPARTAN/trunk/arch/ia32/include/ Get the memory barriers on ia32 right.  
468 6778 d 15 h decky /SPARTAN/trunk/ fix IA-32 fences (1/2)  
467 6778 d 16 h jermar /SPARTAN/trunk/arch/ Add sparc64 context_offset.h.
Fix symbolic links in amd64 to be relative.
 
466 6778 d 17 h jermar /SPARTAN/trunk/ Rename build.ia32 to tools/build.
Point build.{amd64,ia32,ia64,mips32,ppc32,sparc64} to tools/build.
The same for clean.