Rev |
Age |
Author |
Path |
Log message |
Diff |
374 |
6944 d 3 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 |
6944 d 5 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 |
6945 d 11 h |
cejka |
/SPARTAN/trunk/arch/ia32/src/mm/ |
Memmap print fixed. |
|
371 |
6946 d 3 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 |
6946 d 5 h |
jermar |
/SPARTAN/trunk/arch/ia32/src/acpi/ |
During MADT parse, count only enabled CPUs. |
|
369 |
6946 d 7 h |
jermar |
/SPARTAN/trunk/src/main/ |
The more physical frames, the more memory allocated for heap. |
|
368 |
6946 d 12 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap. |
|
367 |
6947 d 3 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
Implement zone_*() and some frame_*() functions. |
|
366 |
6947 d 4 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 |
6947 d 5 h |
jermar |
/SPARTAN/trunk/ |
Replace #define's in list.h with type-safe inlines.
Update mips32 documentation. |
|
364 |
6947 d 16 h |
palkovsky |
/SPARTAN/trunk/ |
Added support for msim with 4kc instructions.
Fixed support for upstream msim.
Small boot fix on Indy. |
|
363 |
6948 d 5 h |
jermar |
/SPARTAN/trunk/arch/ |
Fix copyright notices. |
|
362 |
6948 d 6 h |
bondari |
/SPARTAN/trunk/include/ |
Some junk code removed |
|
361 |
6948 d 6 h |
bondari |
/SPARTAN/trunk/ |
Memory routines per-arch declations for future implementation |
|
360 |
6948 d 12 h |
jermar |
/SPARTAN/trunk/ |
Compilation fixes.
memcpy() must be declared in memstr.h |
|
359 |
6949 d 4 h |
bondari |
/SPARTAN/trunk/arch/ia32/include/ |
I think some comments to the algoritm would be helful |
|
358 |
6949 d 4 h |
bondari |
/SPARTAN/trunk/ |
built-in memcpy is not used anymore on IA-32.
IA-32 memcpy is now fast and inline. |
|
357 |
6949 d 6 h |
bondari |
/SPARTAN/trunk/arch/ia32/src/ |
small fix |
|
356 |
6949 d 6 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
Get from port functions are now inline |
|
355 |
6949 d 11 h |
jermar |
/SPARTAN/trunk/include/mm/ |
Add 'base' attribute to frame_zone_t structure. |
|
354 |
6949 d 11 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
Define structures for frame zones and frames.
Add some comments. |
|
353 |
6949 d 17 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
Outb, outw, outl are now inline functions |
|
352 |
6950 d 5 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
outb inline function |
|
351 |
6951 d 15 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 |
6952 d 5 h |
jermar |
/SPARTAN/trunk/src/ |
Remove _qsort() as its concept is fundamentally broken.
Move lib/the.c to proc/the.c. |
|
349 |
6952 d 5 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 |
6954 d 5 h |
jermar |
/SPARTAN/trunk/arch/ |
Optimize some assembler functions. |
|
347 |
6954 d 6 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 |
6955 d 4 h |
jermar |
/SPARTAN/trunk/doc/ |
Update documentation of ports. |
|
345 |
6955 d 5 h |
palkovsky |
/SPARTAN/trunk/arch/mips32/include/ |
|
|
344 |
6955 d 6 h |
palkovsky |
/SPARTAN/trunk/ |
Added more code to arc.
Fixed bad name in byteorder.h |
|
343 |
6955 d 12 h |
jermar |
/SPARTAN/trunk/ |
Finish renaming of mips and ppc ports. |
|
342 |
6955 d 12 h |
jermar |
/SPARTAN/trunk/arch/ |
Rename ppc port to ppc32. |
|
341 |
6955 d 12 h |
jermar |
/SPARTAN/trunk/ |
Rename mips port to mips32. |
|
340 |
6955 d 14 h |
palkovsky |
/SPARTAN/trunk/doc/ |
|
|
339 |
6956 d 10 h |
palkovsky |
/SPARTAN/trunk/arch/mips/ |
Make the objcopy files compatibile with gnu-sgi-irix linker. |
|
338 |
6956 d 11 h |
jermar |
/SPARTAN/trunk/ |
Avoid code duplication by creating generic byteorder.h.
Some naming changes in swap functions. |
|
337 |
6956 d 12 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
Uncomment LONG(0xdeadbeaf) in IA-32 linker script so that the kernel is linked correctly. |
|
336 |
6956 d 12 h |
bondari |
/SPARTAN/trunk/src/lib/ |
minor |
|
335 |
6956 d 12 h |
bondari |
/SPARTAN/trunk/src/lib/ |
More effective memory allocations with help of qsort wrapper method |
|