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 6300 d 8 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 6300 d 11 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 6302 d 7 h decky /trunk/uspace/ use futex instead of pthread serialization
synchronize only output to stdout
cleanup
 
2071 6382 d 4 h jermar /trunk/ (c) versus (C)  
2070 6382 d 12 h jermar /trunk/ Rather big indentation and formatting changes.
More inteligent long line wrapping.
 
1872 6515 d 3 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 6517 d 4 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6572 d 6 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1719 6597 d 4 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 6606 d 5 h cejka /uspace/trunk/ Doxygen comments.  
1623 6607 d 4 h cejka /uspace/trunk/libc/generic/io/ Simple doxygen comments for printf functions.  
1617 6607 d 8 h cejka /uspace/trunk/libc/generic/io/ Printf return value fix ported from kernel to uspace.  
1616 6607 d 8 h palkovsky /uspace/trunk/ Fixed console disconnect.
Added serialization to printf.
 
1610 6607 d 9 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 6611 d 0 h palkovsky /uspace/trunk/ Fixed some weird bugs (I wonder how this COULD even work on the other platforms).  
1519 6611 d 8 h palkovsky /uspace/trunk/ Slowly porting tetris screen... not yet done.  
1518 6611 d 9 h palkovsky /uspace/trunk/ Changed recommended way of asynchronous communication.  
1508 6611 d 10 h vana /uspace/trunk/ Ia64 uspace keuboard uspace part  
1497 6611 d 16 h cejka /uspace/trunk/ Another console improvement.  
1490 6612 d 2 h palkovsky /uspace/trunk/ Added very preliminary support for console on architectures
that do not support framebuffer.
 
1476 6613 d 0 h cejka /uspace/trunk/ Fixed some bugs.  
1465 6613 d 9 h cejka /uspace/trunk/ Support for reading from stdin.
Getchar() implemented.
 
1452 6614 d 7 h palkovsky /uspace/trunk/libc/ Added some additional functionality.  
1451 6614 d 14 h cejka /uspace/trunk/ Basic support for console driver.
Does not provide separate screens yet.
TODO: fix many unhandled states.
 
1444 6615 d 11 h cejka /uspace/trunk/libc/generic/io/ Fixed wrong doxygen formating.  
1366 6627 d 4 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 6628 d 1 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 6642 d 13 h cejka /uspace/trunk/libc/generic/io/ Comments update.  
1234 6650 d 4 h cejka /uspace/trunk/libc/ Another version of printf function, now with support for sprintf, snprintf and v*printf functions.  
1225 6651 d 10 h cejka /uspace/trunk/libc/generic/io/ Printf precision is counted without prefixes now.  
1199 6657 d 10 h cejka /uspace/trunk/libc/generic/io/ Update comments in printf.  
1197 6658 d 11 h cejka /uspace/trunk/ Bugfix in printf, some support for testing.  
1173 6662 d 14 h cejka /uspace/trunk/libc/ Printf support for width and precision modifiers.
Several necessary helping functions added.
 
1073 6688 d 13 h cejka /uspace/trunk/ Userspace printf was rewritten to support standard format. Not all needed features implemented yet.  
1010 6690 d 12 h cejka /uspace/trunk/libc/ Fixed problem with stackarg/stdarg for 64-bit platforms.  
995 6691 d 3 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 6691 d 5 h jermar /uspace/trunk/libc/ Add -N to ia64 libc/Makefile.  
975 6691 d 12 h cejka /uspace/trunk/libc/generic/io/ Uspace printf bug repaired.  
974 6691 d 12 h cejka /uspace/trunk/libc/ Userspace printf, stdarg, and some other printf support.