Rev |
Age |
Author |
Path |
Log message |
Diff |
383 |
6893 d 10 h |
jermar |
/SPARTAN/trunk/src/synch/ |
Doxygen-style comments for spinlock.c. |
|
382 |
6894 d 2 h |
jermar |
/SPARTAN/trunk/src/synch/ |
Doxygen-style comments for waitq.c. |
|
381 |
6896 d 2 h |
jermar |
/SPARTAN/trunk/ |
Make cross-compiler the default compiler on IA-32.
For native compilations, use ./build.ia32 native.
Small changes elsewhere. |
|
380 |
6896 d 5 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 |
6897 d 11 h |
jermar |
/SPARTAN/trunk/src/mm/ |
Optimize buddy_system_free().
Remove special-case code from the main codepath. |
|
378 |
6897 d 12 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 |
6900 d 5 h |
jermar |
/SPARTAN/trunk/ |
Generic buddy allocator.
Please review the code before it is deployed. |
|
376 |
6900 d 8 h |
jermar |
/SPARTAN/trunk/ |
Move kernel build files one level up the directory tree.
Fix paths in your testing environment! |
|
375 |
6900 d 9 h |
jermar |
/SPARTAN/trunk/src/mm/ |
Replace free() call with early_free() call in zone_create(). |
|
374 |
6902 d 2 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 |
6902 d 4 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 |
6903 d 10 h |
cejka |
/SPARTAN/trunk/arch/ia32/src/mm/ |
Memmap print fixed. |
|
371 |
6904 d 2 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 |
6904 d 4 h |
jermar |
/SPARTAN/trunk/arch/ia32/src/acpi/ |
During MADT parse, count only enabled CPUs. |
|
369 |
6904 d 5 h |
jermar |
/SPARTAN/trunk/src/main/ |
The more physical frames, the more memory allocated for heap. |
|
368 |
6904 d 11 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap. |
|
367 |
6905 d 2 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
Implement zone_*() and some frame_*() functions. |
|
366 |
6905 d 3 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 |
6905 d 4 h |
jermar |
/SPARTAN/trunk/ |
Replace #define's in list.h with type-safe inlines.
Update mips32 documentation. |
|
364 |
6905 d 15 h |
palkovsky |
/SPARTAN/trunk/ |
Added support for msim with 4kc instructions.
Fixed support for upstream msim.
Small boot fix on Indy. |
|
363 |
6906 d 3 h |
jermar |
/SPARTAN/trunk/arch/ |
Fix copyright notices. |
|
362 |
6906 d 4 h |
bondari |
/SPARTAN/trunk/include/ |
Some junk code removed |
|
361 |
6906 d 4 h |
bondari |
/SPARTAN/trunk/ |
Memory routines per-arch declations for future implementation |
|
360 |
6906 d 11 h |
jermar |
/SPARTAN/trunk/ |
Compilation fixes.
memcpy() must be declared in memstr.h |
|
359 |
6907 d 3 h |
bondari |
/SPARTAN/trunk/arch/ia32/include/ |
I think some comments to the algoritm would be helful |
|
358 |
6907 d 3 h |
bondari |
/SPARTAN/trunk/ |
built-in memcpy is not used anymore on IA-32.
IA-32 memcpy is now fast and inline. |
|
357 |
6907 d 5 h |
bondari |
/SPARTAN/trunk/arch/ia32/src/ |
small fix |
|
356 |
6907 d 5 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
Get from port functions are now inline |
|
355 |
6907 d 10 h |
jermar |
/SPARTAN/trunk/include/mm/ |
Add 'base' attribute to frame_zone_t structure. |
|
354 |
6907 d 10 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
Define structures for frame zones and frames.
Add some comments. |
|
353 |
6907 d 16 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
Outb, outw, outl are now inline functions |
|
352 |
6908 d 3 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
outb inline function |
|
351 |
6909 d 14 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 |
6910 d 3 h |
jermar |
/SPARTAN/trunk/src/ |
Remove _qsort() as its concept is fundamentally broken.
Move lib/the.c to proc/the.c. |
|
349 |
6910 d 4 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 |
6912 d 3 h |
jermar |
/SPARTAN/trunk/arch/ |
Optimize some assembler functions. |
|
347 |
6912 d 5 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 |
6913 d 3 h |
jermar |
/SPARTAN/trunk/doc/ |
Update documentation of ports. |
|
345 |
6913 d 4 h |
palkovsky |
/SPARTAN/trunk/arch/mips32/include/ |
|
|
344 |
6913 d 4 h |
palkovsky |
/SPARTAN/trunk/ |
Added more code to arc.
Fixed bad name in byteorder.h |
|