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
501 6827 d 22 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6848 d 15 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 6863 d 14 h jermar /SPARTAN/trunk/ Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority.
 
360 6891 d 23 h jermar /SPARTAN/trunk/ Compilation fixes.
memcpy() must be declared in memstr.h
 
351 6895 d 3 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 6895 d 16 h jermar /SPARTAN/trunk/src/ Remove _qsort() as its concept is fundamentally broken.

Move lib/the.c to proc/the.c.
 
349 6895 d 16 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.
 
336 6899 d 23 h bondari /SPARTAN/trunk/src/lib/ minor  
335 6900 d 0 h bondari /SPARTAN/trunk/src/lib/ More effective memory allocations with help of qsort wrapper method  
333 6900 d 0 h bondari /SPARTAN/trunk/src/lib/ Copyright notice and proper tabs  
331 6900 d 1 h bondari /SPARTAN/trunk/ Generic quicksort and bubble sort implementation.
ACPI MADT parser now uses qsort() for index sorting
 
227 6909 d 23 h jermar /SPARTAN/trunk/ Add couple of assertions CPU != NULL.

Change type of nrdy from int to count_t.

Rewrite halt() to avoid page fault when CPU == NULL.
 
205 6911 d 3 h jermar /SPARTAN/trunk/ Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy().
 
202 6911 d 15 h palkovsky /SPARTAN/trunk/src/lib/ Fixed bad types in memsetw.  
200 6911 d 15 h palkovsky /SPARTAN/trunk/ Added putchar to AMD  
198 6911 d 16 h jermar /SPARTAN/trunk/ Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.
 
195 6911 d 17 h vana /SPARTAN/trunk/ 1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option
 
184 6912 d 3 h jermar /SPARTAN/trunk/ Add lib/the.c.
Add and deploy the_initialize() and the_copy().

Make IA-32's before_thread_runs() use SP_DELTA macro.
 
72 7022 d 17 h decky /SPARTAN/trunk/ size_t usage
const qualifier
code cleanup
 
67 7022 d 18 h decky /SPARTAN/trunk/ typedef short bool (as logical type), defines of false and true
const qualifier for list_member()
 

Show All