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
384 6828 d 13 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for semaphore.c.  
383 6828 d 14 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for spinlock.c.  
382 6829 d 6 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for waitq.c.  
381 6831 d 6 h jermar /SPARTAN/trunk/ Make cross-compiler the default compiler on IA-32.
For native compilations, use ./build.ia32 native.

Small changes elsewhere.
 
380 6831 d 9 h jermar /SPARTAN/trunk/include/ Implement splitting and concatenation for headless doubly-linked circular lists.
This is going to be needed during implementation of buddy system operations for zones.
Add doxygen-style comments to all functions in list.h.
 
379 6832 d 16 h jermar /SPARTAN/trunk/src/mm/ Optimize buddy_system_free().
Remove special-case code from the main codepath.
 
378 6832 d 16 h jermar /SPARTAN/trunk/ Redeclare eraly_malloc() with __attribute__ ((malloc)) to improve optimizations.

Reorganize #include's in scheduler.c.

Buddy system improvements.
Make buddy_system_free() explicitly invalidate order of blocks before they are coalesced.
Add some assertions.
 
377 6835 d 9 h jermar /SPARTAN/trunk/ Generic buddy allocator.
Please review the code before it is deployed.
 
376 6835 d 12 h jermar /SPARTAN/trunk/ Move kernel build files one level up the directory tree.
Fix paths in your testing environment!
 
375 6835 d 13 h jermar /SPARTAN/trunk/src/mm/ Replace free() call with early_free() call in zone_create().  
374 6837 d 6 h jermar /SPARTAN/trunk/ Revert previous change in frame_t as it broke IA-64.
(Most likely some alignment problem.)

Rename heap_init(), malloc() and free(), respectively, to early_heap_init(), early_malloc() and early_free(), respectively.
Define new macros malloc() and free(). They are to be replaced by real functions some day.
 
373 6837 d 8 h jermar /SPARTAN/trunk/ Physical memory management work.
Add "__attribute__ ((packed))" to frame_t so that it takes up less space.
Note that this is essential as there is lot of these structures.
Remove busy list from zone_t as it is redundant.
 
372 6838 d 15 h cejka /SPARTAN/trunk/arch/ia32/src/mm/ Memmap print fixed.  
371 6839 d 7 h jermar /SPARTAN/trunk/arch/ia32/src/ Complete map_kernel() in boot.S to map the entire 4G space.

Change IA-32 frame_arch_init() to add zone with lower base addresses first.
 
370 6839 d 8 h jermar /SPARTAN/trunk/arch/ia32/src/acpi/ During MADT parse, count only enabled CPUs.  
369 6839 d 10 h jermar /SPARTAN/trunk/src/main/ The more physical frames, the more memory allocated for heap.  
368 6839 d 16 h jermar /SPARTAN/trunk/ Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap.
 
367 6840 d 6 h jermar /SPARTAN/trunk/ Physical memory management work.
Implement zone_*() and some frame_*() functions.
 
366 6840 d 7 h jermar /SPARTAN/trunk/include/ Add zone pointer to frame_t.
This will be essential for fast frame_free().

Rename frame_zone_t to zone_t.

Declare frame and zone functions to be implemented.
 
365 6840 d 8 h jermar /SPARTAN/trunk/ Replace #define's in list.h with type-safe inlines.

Update mips32 documentation.
 
364 6840 d 19 h palkovsky /SPARTAN/trunk/ Added support for msim with 4kc instructions.
Fixed support for upstream msim.

Small boot fix on Indy.
 
363 6841 d 8 h jermar /SPARTAN/trunk/arch/ Fix copyright notices.  
362 6841 d 9 h bondari /SPARTAN/trunk/include/ Some junk code removed  
361 6841 d 9 h bondari /SPARTAN/trunk/ Memory routines per-arch declations for future implementation  
360 6841 d 15 h jermar /SPARTAN/trunk/ Compilation fixes.
memcpy() must be declared in memstr.h
 
359 6842 d 8 h bondari /SPARTAN/trunk/arch/ia32/include/ I think some comments to the algoritm would be helful  
358 6842 d 8 h bondari /SPARTAN/trunk/ built-in memcpy is not used anymore on IA-32.
IA-32 memcpy is now fast and inline.
 
357 6842 d 9 h bondari /SPARTAN/trunk/arch/ia32/src/ small fix  
356 6842 d 10 h bondari /SPARTAN/trunk/arch/ia32/ Get from port functions are now inline  
355 6842 d 14 h jermar /SPARTAN/trunk/include/mm/ Add 'base' attribute to frame_zone_t structure.  
354 6842 d 15 h jermar /SPARTAN/trunk/ Physical memory management work.
Define structures for frame zones and frames.

Add some comments.
 
353 6842 d 20 h bondari /SPARTAN/trunk/arch/ia32/ Outb, outw, outl are now inline functions  
352 6843 d 8 h bondari /SPARTAN/trunk/arch/ia32/ outb inline function  
351 6844 d 19 h jermar /SPARTAN/trunk/src/lib/ Ok. The idea of _qsort() was not broken at all.
Revert the changes and make _qsort() call _qsort() rather than qsort() so that the idea has effect.
Add _bubblesort() to optimize number of allocations when bubblesort algorithm is invoked from _qsort().
Add doxygen-style comments.
 
350 6845 d 8 h jermar /SPARTAN/trunk/src/ Remove _qsort() as its concept is fundamentally broken.

Move lib/the.c to proc/the.c.
 
349 6845 d 8 h jermar /SPARTAN/trunk/ Optimize sorting functions so that malloc() and free() is called only for e_size > EBUFSIZE.
Smaller buffers are allocated directly on the stack.

Some copyright holder fixes on some files written by Ondrej Palkovsky.
 
348 6847 d 8 h jermar /SPARTAN/trunk/arch/ Optimize some assembler functions.  
347 6847 d 9 h jermar /SPARTAN/trunk/ Documentation updates for amd64, mips32 and ia32.

Replace %L with %P printf() formatter in MPS and ACPI detection functions to print addresses in maximal width.

Tweak memmap.S and IA-32 and AMd64 boot.S.
Cancel unneeded instructions.
Replace cmpl $0, %ebx with testl %ebx, %ebx.
Move memmap.S data to K_DATA_START section.
 
346 6848 d 8 h jermar /SPARTAN/trunk/doc/ Update documentation of ports.  
345 6848 d 9 h palkovsky /SPARTAN/trunk/arch/mips32/include/