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