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
581 6782 d 3 h palkovsky /kernel/trunk/ Small debug changes.  
576 6782 d 14 h palkovsky /kernel/trunk/ Changed ia32 & amd64 to use exc_register instead of trap_register.

Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work.
 
575 6782 d 15 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.
 
569 6783 d 17 h jermar /kernel/trunk/ sparc64 work.
Implement functions for reading IMMU and DMMU TLBs.
 
566 6784 d 15 h palkovsky /kernel/trunk/ Fixed bug in Intel32/AMD64 boot, that could cause page fault on boot.
Fixes of configuration program.
 
557 6785 d 2 h jermar /kernel/trunk/ Add comments describing locking rules for some locks.
Cleanup.
 
540 6786 d 16 h jermar /kernel/trunk/arch/ Map all available frames of memory on ia32 and amd64 (ticket #10).  
534 6787 d 20 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6787 d 20 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
515 6797 d 21 h jermar /kernel/trunk/ SMP cleanup continued.
Add nice type for IO APIC ID register.
Replace some magic numbers with more descriptive macros.
 
514 6798 d 15 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 6798 d 22 h jermar /kernel/trunk/arch/ia32/ APIC code cleanup.  
512 6799 d 2 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.
 
508 6799 d 18 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 6799 d 21 h decky /kernel/trunk/arch/ia32/include/boot/ revert bug in multiboot flags  
506 6799 d 21 h decky /kernel/trunk/ preparation for init task loading  
501 6800 d 0 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
481 6809 d 17 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 ???)
 
477 6811 d 1 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.  
475 6812 d 1 h jermar /SPARTAN/trunk/ Define atomic_t type.  
470 6813 d 14 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 6813 d 21 h jermar /SPARTAN/trunk/arch/ia32/include/ Get the memory barriers on ia32 right.  
468 6813 d 22 h decky /SPARTAN/trunk/ fix IA-32 fences (1/2)  
458 6814 d 3 h decky /SPARTAN/trunk/ make configuration variables usage consistent  
457 6814 d 3 h decky /SPARTAN/trunk/ new build system almost finished  
452 6814 d 19 h decky /SPARTAN/trunk/ major build system revision (unfinished)
this patchset most definitively breaks a lot of things, be patient
 
432 6818 d 19 h jermar /SPARTAN/trunk/arch/ IA-64 work.
Add some asm functions for manipulation with PSR, AR and CR registers.
 
423 6825 d 23 h decky /SPARTAN/trunk/ Enable/disable CPU memory barriers at compile time  
422 6827 d 6 h jermar /SPARTAN/trunk/ Move ACPI code to genarch.
Enable it for ia32, amd64 and ia64.
For now, ia64 support is commented out.
 
419 6828 d 19 h bondari /SPARTAN/trunk/arch/ Memory inline functions for AMD64.
memcmp and memcpy are redefined according to norma
 
414 6835 d 6 h jermar /SPARTAN/trunk/ Create generic context_save() and context_restore().
These two functions are defined inline and only call context_save_arch() and context_restore_arch(), respectively.
The main purpose of this is to enable centralized commenting of these important and tricky functions.
 
413 6835 d 16 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.
 
408 6838 d 1 h decky /SPARTAN/trunk/ IA32 has_cpuid() inline
minor indentation fixes
 
393 6847 d 19 h bondari /SPARTAN/trunk/arch/ia32/include/ Comments fixed  
392 6847 d 20 h bondari /SPARTAN/trunk/arch/ia32/ Last inline functions for IA-32  
391 6848 d 17 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.
 
390 6848 d 17 h bondari /SPARTAN/trunk/arch/ia32/ ia-32 memcmp inline  
389 6849 d 4 h jermar /SPARTAN/trunk/ MIPS work.
Fix some name inconsistencies between cp0 functions' declarations and definitions.
Add and implement tlb_init_arch().
Add tlb_modified() exception handler.

Other architectures: add dummy tlb_init_arch().
 
363 6863 d 18 h jermar /SPARTAN/trunk/arch/ Fix copyright notices.  
361 6863 d 19 h bondari /SPARTAN/trunk/ Memory routines per-arch declations for future implementation