Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2230 6301 d 11 h jermar /trunk/uspace/ Remove printf() serialization from thread1 test in tester.
The agreement among developers seems to be that:
- there _must_ be a futex to serialize access to printf()
- there _must_ be pseudo thread serialization in printf()
- the best place for this is vprintf(), the one that goes to console
 
2229 6301 d 13 h jermar /trunk/ Revert some of the changes introduced in revision 2209.
I think it is not correct to remove serialization of pseudo threads in printf_core.c.
With thread-level futex serialization, several pseudo threads running in one thread could easily deadlock
the task.

Add a dedicated futex serialization to thread1.c test only.
 
2209 6303 d 9 h decky /trunk/uspace/ use futex instead of pthread serialization
synchronize only output to stdout
cleanup
 
2071 6383 d 6 h jermar /trunk/ (c) versus (C)  
2070 6383 d 14 h jermar /trunk/ Rather big indentation and formatting changes.
More inteligent long line wrapping.
 
1872 6516 d 5 h jermar /trunk/uspace/libc/generic/io/ read() and write() now check if the virtual function they want to
call exists. Thus, these calls will not kill the whole task
if called for instance from a driver task but gracefully fail.
 
1866 6518 d 7 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6573 d 8 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1719 6598 d 6 h decky /uspace/trunk/ big code cleanup, compile with -Wall -Werror to enforce better coding
there is currently one warning that requires attention, please review
 
1653 6607 d 7 h cejka /uspace/trunk/ Doxygen comments.  
1623 6608 d 6 h cejka /uspace/trunk/libc/generic/io/ Simple doxygen comments for printf functions.  
1617 6608 d 10 h cejka /uspace/trunk/libc/generic/io/ Printf return value fix ported from kernel to uspace.  
1616 6608 d 10 h palkovsky /uspace/trunk/ Fixed console disconnect.
Added serialization to printf.
 
1610 6608 d 12 h palkovsky /uspace/trunk/ Revised ipc. Now it is preferrable to use only functions from async.h, they
take care of correct buffering, waiting for answers etc.
 
1536 6612 d 2 h palkovsky /uspace/trunk/ Fixed some weird bugs (I wonder how this COULD even work on the other platforms).  
1519 6612 d 10 h palkovsky /uspace/trunk/ Slowly porting tetris screen... not yet done.  
1518 6612 d 11 h palkovsky /uspace/trunk/ Changed recommended way of asynchronous communication.  
1508 6612 d 13 h vana /uspace/trunk/ Ia64 uspace keuboard uspace part  
1497 6612 d 18 h cejka /uspace/trunk/ Another console improvement.  
1490 6613 d 4 h palkovsky /uspace/trunk/ Added very preliminary support for console on architectures
that do not support framebuffer.
 
1476 6614 d 3 h cejka /uspace/trunk/ Fixed some bugs.  
1465 6614 d 11 h cejka /uspace/trunk/ Support for reading from stdin.
Getchar() implemented.
 
1452 6615 d 10 h palkovsky /uspace/trunk/libc/ Added some additional functionality.  
1451 6615 d 16 h cejka /uspace/trunk/ Basic support for console driver.
Does not provide separate screens yet.
TODO: fix many unhandled states.
 
1444 6616 d 13 h cejka /uspace/trunk/libc/generic/io/ Fixed wrong doxygen formating.  
1366 6628 d 6 h decky /uspace/trunk/ code cleanup (somebody should read the coding style guide)
remove __DONT_OPEN_STDIO__ (this has to be done in a different way, ppc32 linker segfaults on initiating extern variable)
remove deprecated libipc stuff
 
1363 6629 d 3 h vana /uspace/trunk/ Earliest version of Userspace Framebuffer driver, with stream support in libc.
Also Virtual framebuffers made as split on main fb and its usage by streams

(please test it and report)
 
1272 6643 d 15 h cejka /uspace/trunk/libc/generic/io/ Comments update.  
1234 6651 d 6 h cejka /uspace/trunk/libc/ Another version of printf function, now with support for sprintf, snprintf and v*printf functions.  
1225 6652 d 12 h cejka /uspace/trunk/libc/generic/io/ Printf precision is counted without prefixes now.  
1199 6658 d 12 h cejka /uspace/trunk/libc/generic/io/ Update comments in printf.  
1197 6659 d 14 h cejka /uspace/trunk/ Bugfix in printf, some support for testing.  
1173 6663 d 17 h cejka /uspace/trunk/libc/ Printf support for width and precision modifiers.
Several necessary helping functions added.
 
1073 6689 d 15 h cejka /uspace/trunk/ Userspace printf was rewritten to support standard format. Not all needed features implemented yet.  
1010 6691 d 14 h cejka /uspace/trunk/libc/ Fixed problem with stackarg/stdarg for 64-bit platforms.  
995 6692 d 6 h cejka /uspace/trunk/ Fixed bug in printf (__native from kernel must be unsigned long).
Putting prefixes in printf optimized.
Test function created in init.c.
 
992 6692 d 7 h jermar /uspace/trunk/libc/ Add -N to ia64 libc/Makefile.  
975 6692 d 14 h cejka /uspace/trunk/libc/generic/io/ Uspace printf bug repaired.  
974 6692 d 15 h cejka /uspace/trunk/libc/ Userspace printf, stdarg, and some other printf support.