Subversion Repositories HelenOS

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2230 6320 d 23 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 6321 d 1 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 6322 d 21 h decky /trunk/uspace/ use futex instead of pthread serialization
synchronize only output to stdout
cleanup
 
2071 6402 d 18 h jermar /trunk/ (c) versus (C)  
2070 6403 d 2 h jermar /trunk/ Rather big indentation and formatting changes.
More inteligent long line wrapping.
 
1872 6535 d 17 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 6537 d 19 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6592 d 21 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1719 6617 d 18 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 6626 d 20 h cejka /uspace/trunk/ Doxygen comments.  
1623 6627 d 18 h cejka /uspace/trunk/libc/generic/io/ Simple doxygen comments for printf functions.  
1617 6627 d 22 h cejka /uspace/trunk/libc/generic/io/ Printf return value fix ported from kernel to uspace.  
1616 6627 d 22 h palkovsky /uspace/trunk/ Fixed console disconnect.
Added serialization to printf.
 
1610 6628 d 0 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 6631 d 14 h palkovsky /uspace/trunk/ Fixed some weird bugs (I wonder how this COULD even work on the other platforms).  
1519 6631 d 22 h palkovsky /uspace/trunk/ Slowly porting tetris screen... not yet done.  
1518 6631 d 23 h palkovsky /uspace/trunk/ Changed recommended way of asynchronous communication.  
1508 6632 d 1 h vana /uspace/trunk/ Ia64 uspace keuboard uspace part  
1497 6632 d 6 h cejka /uspace/trunk/ Another console improvement.  
1490 6632 d 16 h palkovsky /uspace/trunk/ Added very preliminary support for console on architectures
that do not support framebuffer.
 
1476 6633 d 15 h cejka /uspace/trunk/ Fixed some bugs.  
1465 6633 d 23 h cejka /uspace/trunk/ Support for reading from stdin.
Getchar() implemented.
 
1452 6634 d 22 h palkovsky /uspace/trunk/libc/ Added some additional functionality.  
1451 6635 d 4 h cejka /uspace/trunk/ Basic support for console driver.
Does not provide separate screens yet.
TODO: fix many unhandled states.
 
1444 6636 d 1 h cejka /uspace/trunk/libc/generic/io/ Fixed wrong doxygen formating.  
1366 6647 d 18 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 6648 d 15 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 6663 d 3 h cejka /uspace/trunk/libc/generic/io/ Comments update.  
1234 6670 d 18 h cejka /uspace/trunk/libc/ Another version of printf function, now with support for sprintf, snprintf and v*printf functions.  
1225 6672 d 0 h cejka /uspace/trunk/libc/generic/io/ Printf precision is counted without prefixes now.  
1199 6678 d 1 h cejka /uspace/trunk/libc/generic/io/ Update comments in printf.  
1197 6679 d 2 h cejka /uspace/trunk/ Bugfix in printf, some support for testing.  
1173 6683 d 5 h cejka /uspace/trunk/libc/ Printf support for width and precision modifiers.
Several necessary helping functions added.
 
1073 6709 d 3 h cejka /uspace/trunk/ Userspace printf was rewritten to support standard format. Not all needed features implemented yet.  
1010 6711 d 2 h cejka /uspace/trunk/libc/ Fixed problem with stackarg/stdarg for 64-bit platforms.  
995 6711 d 18 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 6711 d 19 h jermar /uspace/trunk/libc/ Add -N to ia64 libc/Makefile.  
975 6712 d 2 h cejka /uspace/trunk/libc/generic/io/ Uspace printf bug repaired.  
974 6712 d 3 h cejka /uspace/trunk/libc/ Userspace printf, stdarg, and some other printf support.