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
374 6872 d 23 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 6873 d 1 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 6874 d 7 h cejka /SPARTAN/trunk/arch/ia32/src/mm/ Memmap print fixed.  
371 6874 d 23 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 6875 d 1 h jermar /SPARTAN/trunk/arch/ia32/src/acpi/ During MADT parse, count only enabled CPUs.  
369 6875 d 2 h jermar /SPARTAN/trunk/src/main/ The more physical frames, the more memory allocated for heap.  
368 6875 d 8 h jermar /SPARTAN/trunk/ Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap.
 
367 6875 d 23 h jermar /SPARTAN/trunk/ Physical memory management work.
Implement zone_*() and some frame_*() functions.
 
366 6876 d 0 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 6876 d 1 h jermar /SPARTAN/trunk/ Replace #define's in list.h with type-safe inlines.

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

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

Add some comments.
 
353 6878 d 12 h bondari /SPARTAN/trunk/arch/ia32/ Outb, outw, outl are now inline functions  
352 6879 d 0 h bondari /SPARTAN/trunk/arch/ia32/ outb inline function  
351 6880 d 11 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 6881 d 0 h jermar /SPARTAN/trunk/src/ Remove _qsort() as its concept is fundamentally broken.

Move lib/the.c to proc/the.c.
 
349 6881 d 1 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 6883 d 0 h jermar /SPARTAN/trunk/arch/ Optimize some assembler functions.  
347 6883 d 2 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 6884 d 0 h jermar /SPARTAN/trunk/doc/ Update documentation of ports.  
345 6884 d 1 h palkovsky /SPARTAN/trunk/arch/mips32/include/  
344 6884 d 1 h palkovsky /SPARTAN/trunk/ Added more code to arc.
Fixed bad name in byteorder.h
 
343 6884 d 8 h jermar /SPARTAN/trunk/ Finish renaming of mips and ppc ports.  
342 6884 d 8 h jermar /SPARTAN/trunk/arch/ Rename ppc port to ppc32.  
341 6884 d 8 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
340 6884 d 10 h palkovsky /SPARTAN/trunk/doc/  
339 6885 d 6 h palkovsky /SPARTAN/trunk/arch/mips/ Make the objcopy files compatibile with gnu-sgi-irix linker.  
338 6885 d 7 h jermar /SPARTAN/trunk/ Avoid code duplication by creating generic byteorder.h.
Some naming changes in swap functions.
 
337 6885 d 8 h jermar /SPARTAN/trunk/arch/ia32/ Uncomment LONG(0xdeadbeaf) in IA-32 linker script so that the kernel is linked correctly.  
336 6885 d 8 h bondari /SPARTAN/trunk/src/lib/ minor  
335 6885 d 8 h bondari /SPARTAN/trunk/src/lib/ More effective memory allocations with help of qsort wrapper method