Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4509 5525 d 2 h decky /trunk/uspace/ rename libadt -> adt  
4508 5525 d 3 h decky /trunk/uspace/lib/libc/ keep a list of open files to support proper cleanup  
4492 5529 d 6 h jermar /trunk/uspace/ inode_t -> fdi_node_t  
4491 5529 d 17 h decky /trunk/uspace/ rename libc's fs_node_t to inode_t to avoid type conflict with VFS  
4482 5529 d 20 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 5561 d 7 h svoboda /trunk/uspace/lib/libc/ klog_puts() is useful for debugging.  
4317 5570 d 8 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 5588 d 1 h decky /trunk/uspace/lib/libc/ sync with kernel  
4239 5589 d 0 h svoboda /trunk/uspace/ Make Czech layout work partially in bdsh.  
4234 5589 d 18 h svoboda /trunk/ Copy printf with Unicode support to userspace.  
4164 5604 d 4 h svoboda /trunk/uspace/ Buffer console output with line granularity. Makes esp. msim/ski console faster. EGA-fb needs fixing.  
4160 5604 d 19 h jermar /trunk/uspace/ Improve the console library functions.  
4154 5606 d 17 h svoboda /trunk/uspace/ Consolidate console interface.  
4002 5622 d 22 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 5635 d 17 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 5637 d 17 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 5685 d 16 h svoboda /trunk/uspace/ fprintf(), vfprintf().  
3757 5686 d 2 h svoboda /trunk/uspace/ fgetc(), fputc(), fputs(), fseek().  
3756 5686 d 4 h svoboda /trunk/uspace/ Some ANSI C stream functions (stdio).  
3747 5688 d 20 h svoboda /trunk/uspace/ Put console IPC method numbers under libc.  
3351 5814 d 22 h jermar /trunk/uspace/lib/libc/generic/io/ Cstyle and formatting changes.  
3348 5815 d 5 h jermar /trunk/uspace/lib/libc/ Add asprintf().  
3347 5815 d 5 h jermar /trunk/uspace/lib/libc/generic/io/ printf_putstr() must return the number of characters printed.  
3222 5860 d 0 h svoboda /trunk/ Merge program-loader related stuff from dynload branch to trunk. (huge)  
3117 5891 d 2 h svoboda /trunk/uspace/ Make getchar() and tester behave sanely when there's no console.  
3112 5891 d 16 h decky /trunk/uspace/ uspace klog  
3075 5895 d 1 h decky /trunk/uspace/lib/libc/ use klog output until uspace console is available  
2670 6054 d 17 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 6054 d 18 h jermar /trunk/uspace/lib/libc/generic/io/ Remove file.c.  
2635 6078 d 20 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 6089 d 0 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 6138 d 1 h jermar /trunk/uspace/lib/libc/generic/io/ Fix a bug in interpretation of precision when printing strings. Fix cstyle.  
2541 6145 d 3 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 6222 d 0 h jermar /trunk/uspace/lib/libc/generic/io/ Formatting changes.  
2479 6241 d 2 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2445 6263 d 1 h decky /trunk/ initial merge of branches/fs
(not finished, huge cleanup is needed)
 
2230 6315 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 6316 d 2 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 6317 d 22 h decky /trunk/uspace/ use futex instead of pthread serialization
synchronize only output to stdout
cleanup
 
2071 6397 d 19 h jermar /trunk/ (c) versus (C)