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
755 6721 d 17 h jermar /kernel/trunk/ Change page_mapping_find/insert interfaces to take as_t * as first argument
and not asid_t as second argument. This change was necessitated by the
removal of mapping array from as_area_t and the fact that an address
space doesn't have an ASID when it is created.
 
745 6726 d 20 h jermar /kernel/trunk/test/mm/ Fix and cleanup frame allocator tests.
falloc1:
- fix so that it compiles on ia64
- check that frames is not NULL
falloc2:
- threads cannot be passed argument in the way this test did
(otherwise some threads will use the same value for val)
- check that frames is not NULL
- free frames at the end of the test
 
735 6730 d 1 h bondari /kernel/trunk/ Fixes, comments, tests to frame allocator  
733 6730 d 2 h bondari /kernel/trunk/test/mm/falloc2/ frame allocator test #2  
724 6734 d 21 h palkovsky /kernel/trunk/ Commit of the falloc_bad branch to trunk (719:723).  
692 6744 d 0 h bondari /kernel/trunk/ Frame allocation test #2  
689 6744 d 1 h bondari /kernel/trunk/ Frame alloc test #1  
687 6744 d 1 h jermar /kernel/trunk/ Memory management work.
Pass address space identifier to functions in page_operations to support single global page hash table.
 
674 6748 d 6 h cejka /kernel/trunk/ Support for printing float numbers in kernel removed.  
627 6768 d 0 h jermar /kernel/trunk/ Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.

sparc64 work.
TBA must be set before a function call when MMU is switched off.
 
625 6768 d 1 h palkovsky /kernel/trunk/ We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning.
 
623 6768 d 7 h jermar /kernel/trunk/ Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed.
 
609 6771 d 0 h palkovsky /kernel/trunk/ added support for breakpoints to mips32  
548 6776 d 22 h jermar /kernel/trunk/ Cleanup and fixes.  
534 6778 d 22 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6778 d 22 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6791 d 2 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
492 6791 d 19 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.
 
483 6798 d 22 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.
 
475 6803 d 3 h jermar /SPARTAN/trunk/ Define atomic_t type.  
413 6826 d 18 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.
 
401 6836 d 8 h jermar /SPARTAN/trunk/test/mm/mapping1/ Finalize mm mapping test #1 once again.  
400 6836 d 8 h jermar /SPARTAN/trunk/ Finalize mapping1 test.
Record omitted excMod bug in msim.
 
399 6836 d 18 h jermar /SPARTAN/trunk/ mips32 memory management work.
TLB exceptions seem to be working on at least simics.
msim handles TLB Refill and TLB Invalid exceptions well,
but seems to skip writes to the mapped addressies in mm
mapping test #1 (the data is not written and exception
is not triggered).
 
397 6837 d 8 h jermar /SPARTAN/trunk/ Small changes to mips32 mm.
Small changes in mm mapping test #1.
 
396 6838 d 5 h jermar /SPARTAN/trunk/ Add mm/mapping1 test.
(Will not make it past TLB Invalid exception on mips32.)
Fixes in asid.c.
Make TLB register types union with __u32 value.
Implement tlb_invalidate() for mips32.
(TLB invalidation and shootdown path will have to be revised.)
 
329 6864 d 0 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
326 6864 d 17 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.
 
296 6869 d 6 h palkovsky /SPARTAN/trunk/ More logical fpu_context_engaged setting.
The sse1 test now correctly tests for thread migration settings.
 
295 6869 d 6 h palkovsky /SPARTAN/trunk/ Test that really tests SSE context switching.  
283 6870 d 8 h palkovsky /SPARTAN/trunk/ IA32 printf-double support migrated to amd64  
266 6871 d 3 h cejka /SPARTAN/trunk/ Support for NaN and infinity in printf.  
264 6871 d 4 h cejka /SPARTAN/trunk/ E option in printf added.  
263 6871 d 5 h palkovsky /SPARTAN/trunk/test/synch/rwlock2/ Bad prototype  
228 6873 d 2 h cejka /SPARTAN/trunk/ Created fmath as basic tool for IEEE 754 floating point numbers.
Added option $F for printf for printing "double" type.
 
225 6873 d 6 h jermar /SPARTAN/trunk/test/synch/rwlock4/ Revert the change in rwlock #4 test that added cpu_priority_high() and cpu_priority_restore() to random().
It is no longer necessary because spinlock disables preemption at least.
 
205 6874 d 7 h jermar /SPARTAN/trunk/ Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy().
 
195 6874 d 22 h vana /SPARTAN/trunk/ 1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option
 
187 6875 d 4 h cejka /SPARTAN/trunk/ Licence to print1/test.c added.
New function for printing memory map at ia32.
 
183 6875 d 8 h cejka /SPARTAN/trunk/ Small improvements in print1 test and its source code format.