Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4647 5596 d 15 h jermar /branches/arm/ Branch out a new arm branch.  
4556 5624 d 1 h decky /trunk/ define endianess externally to be able to exactly specify whether we are using UTF-32LE or UTF-32BE
quit messing with BOM in UTF-32
 
4482 5638 d 14 h decky /trunk/uspace/lib/libc/ I/O subsystem overhaul:
- add more POSIX-like file and stream functions (with real functionality of stdin, stdout, stderr)
- cleanup console access methods (now generic to any console-like device)
- remove unsafe stream functions
- add special open_node(), fd_node(), fd_phone() (file) and fopen_node(), fnode(), fphone() (stream) functions for HelenOS-specific I/O operations
 
4245 5696 d 18 h decky /trunk/uspace/lib/libc/ sync with kernel  
4234 5698 d 12 h svoboda /trunk/ Copy printf with Unicode support to userspace.  
3347 5923 d 23 h jermar /trunk/uspace/lib/libc/generic/io/ printf_putstr() must return the number of characters printed.  
2570 6246 d 19 h jermar /trunk/uspace/lib/libc/generic/io/ Fix a bug in interpretation of precision when printing strings. Fix cstyle.  
2479 6349 d 20 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2230 6424 d 17 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 6424 d 20 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 6426 d 16 h decky /trunk/uspace/ use futex instead of pthread serialization
synchronize only output to stdout
cleanup
 
2071 6506 d 13 h jermar /trunk/ (c) versus (C)  
2070 6506 d 21 h jermar /trunk/ Rather big indentation and formatting changes.
More inteligent long line wrapping.
 
1866 6641 d 13 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6696 d 15 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1653 6730 d 14 h cejka /uspace/trunk/ Doxygen comments.  
1617 6731 d 17 h cejka /uspace/trunk/libc/generic/io/ Printf return value fix ported from kernel to uspace.  
1616 6731 d 17 h palkovsky /uspace/trunk/ Fixed console disconnect.
Added serialization to printf.
 
1444 6739 d 20 h cejka /uspace/trunk/libc/generic/io/ Fixed wrong doxygen formating.  
1272 6766 d 22 h cejka /uspace/trunk/libc/generic/io/ Comments update.  
1234 6774 d 12 h cejka /uspace/trunk/libc/ Another version of printf function, now with support for sprintf, snprintf and v*printf functions.  
1199 6781 d 19 h cejka /uspace/trunk/libc/generic/io/ Update comments in printf.  
1197 6782 d 20 h cejka /uspace/trunk/ Bugfix in printf, some support for testing.  
1173 6786 d 23 h cejka /uspace/trunk/libc/ Printf support for width and precision modifiers.
Several necessary helping functions added.
 
1073 6812 d 22 h cejka /uspace/trunk/ Userspace printf was rewritten to support standard format. Not all needed features implemented yet.  
1010 6814 d 21 h cejka /uspace/trunk/libc/ Fixed problem with stackarg/stdarg for 64-bit platforms.  
995 6815 d 12 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 6815 d 14 h jermar /uspace/trunk/libc/ Add -N to ia64 libc/Makefile.  
975 6815 d 21 h cejka /uspace/trunk/libc/generic/io/ Uspace printf bug repaired.  
974 6815 d 21 h cejka /uspace/trunk/libc/ Userspace printf, stdarg, and some other printf support.