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
4491 5501 d 5 h decky /trunk/uspace/ rename libc's fs_node_t to inode_t to avoid type conflict with VFS  
4482 5501 d 8 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
 
4353 5532 d 19 h svoboda /trunk/uspace/lib/libc/ klog_puts() is useful for debugging.  
4317 5541 d 20 h decky /trunk/ use buffering for klog output (this can be used to avoid the ugly usleeps while starting tasks)
unify and cleanup console.c and related files
 
4245 5559 d 13 h decky /trunk/uspace/lib/libc/ sync with kernel  
4239 5560 d 12 h svoboda /trunk/uspace/ Make Czech layout work partially in bdsh.  
4234 5561 d 6 h svoboda /trunk/ Copy printf with Unicode support to userspace.  
4164 5575 d 16 h svoboda /trunk/uspace/ Buffer console output with line granularity. Makes esp. msim/ski console faster. EGA-fb needs fixing.  
4160 5576 d 7 h jermar /trunk/uspace/ Improve the console library functions.  
4154 5578 d 5 h svoboda /trunk/uspace/ Consolidate console interface.  
4002 5594 d 10 h decky /trunk/uspace/lib/libc/ add IPC_FLAG_BLOCKING for generic IPC blocking operations
add ipc_connect_me_to_blocking() for blocking connections
mount() has new flags argument
get_cons_phone() -> get_console_phone()
add common console_wait()
simplify vfs_connect() using blocking connection
add blocking support for device_get_handle()
swap VFS_MOUNT arguments, and blocking mount support
 
3923 5607 d 5 h svoboda /trunk/ Keyboard driver overhaul -- organize by hardware structure. This is w.i.p. Modifier keys, as well as ppc32, ia64 and sparc64 will not work yet.  
3905 5609 d 5 h svoboda /trunk/uspace/ Keycodes, keyboard events, kbd_event_get(). Keyboard driver now (formally) produces kbd events (press/release, keycode, mods, char) instead of just characters. In reality, the driver and client are only hacked to work with the new interface atm.  
3758 5657 d 4 h svoboda /trunk/uspace/ fprintf(), vfprintf().  
3757 5657 d 14 h svoboda /trunk/uspace/ fgetc(), fputc(), fputs(), fseek().  
3756 5657 d 16 h svoboda /trunk/uspace/ Some ANSI C stream functions (stdio).  
3747 5660 d 8 h svoboda /trunk/uspace/ Put console IPC method numbers under libc.  
3351 5786 d 10 h jermar /trunk/uspace/lib/libc/generic/io/ Cstyle and formatting changes.  
3348 5786 d 17 h jermar /trunk/uspace/lib/libc/ Add asprintf().  
3347 5786 d 17 h jermar /trunk/uspace/lib/libc/generic/io/ printf_putstr() must return the number of characters printed.  
3222 5831 d 12 h svoboda /trunk/ Merge program-loader related stuff from dynload branch to trunk. (huge)  
3117 5862 d 14 h svoboda /trunk/uspace/ Make getchar() and tester behave sanely when there's no console.  
3112 5863 d 4 h decky /trunk/uspace/ uspace klog  
3075 5866 d 13 h decky /trunk/uspace/lib/libc/ use klog output until uspace console is available  
2670 6026 d 5 h jermar /trunk/uspace/ Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked.
 
2669 6026 d 6 h jermar /trunk/uspace/lib/libc/generic/io/ Remove file.c.  
2635 6050 d 8 h cejka /trunk/ Function ipc_connect_me_to sends 3 user defined arguments now.
One argument added also to ipc_forward_fast.
Fixed devmap and improved its test.
 
2621 6060 d 12 h jermar /trunk/uspace/ Modify the async framework to make use of all six syscall arguments.
Supply user-friendly macros as in previous cases.
 
2570 6109 d 13 h jermar /trunk/uspace/lib/libc/generic/io/ Fix a bug in interpretation of precision when printing strings. Fix cstyle.  
2541 6116 d 15 h jermar /trunk/uspace/ Header cleanup.
Move off_t, size_t and ssize_t into sys/types.h.
Get rid off the non-standard and dummy types.h.
 
2495 6193 d 12 h jermar /trunk/uspace/lib/libc/generic/io/ Formatting changes.  
2479 6212 d 14 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2445 6234 d 13 h decky /trunk/ initial merge of branches/fs
(not finished, huge cleanup is needed)
 
2230 6287 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 6287 d 14 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 6289 d 10 h decky /trunk/uspace/ use futex instead of pthread serialization
synchronize only output to stdout
cleanup
 
2071 6369 d 7 h jermar /trunk/ (c) versus (C)  
2070 6369 d 15 h jermar /trunk/ Rather big indentation and formatting changes.
More inteligent long line wrapping.
 
1872 6502 d 6 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 6504 d 7 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.