Rev |
Age |
Author |
Path |
Log message |
Diff |
4482 |
5645 d 2 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 |
|
4481 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/include/ipc/ |
sync header files with implementation
coding style |
|
4480 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/include/loader/ |
sync header files with implementation |
|
4479 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/include/ |
add error constant from VFS
cleanup |
|
4478 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
explicit typecast |
|
4477 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
setup stdin, stdout and stderr according to preset file nodes
cleanup |
|
4476 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add support for passing preset files
cleanup |
|
4475 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/ |
async framework: add generic support for processing pending operations (in a separate fibril)
coding style |
|
4474 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add serialization (just to be sure) |
|
4473 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
4472 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/ |
replace count_t with size_t
coding style |
|
4471 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
cstyle |
|
4470 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/ |
pass current task stdin, stdout and stderr as preset files to the loader
add task_wait() |
|
4469 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
4468 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/arch/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
4467 |
5645 d 2 h |
decky |
/trunk/uspace/lib/libc/arch/arm32/include/ |
fix include |
|
4466 |
5645 d 3 h |
decky |
/trunk/uspace/lib/libc/ |
reorder compiler options to be consistent with kernel |
|
4465 |
5645 d 3 h |
decky |
/trunk/uspace/srv/fs/ |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE |
|
4464 |
5645 d 3 h |
decky |
/trunk/uspace/srv/fs/devfs/ |
devfs rewrite:
- implement VFS_OPEN_NODE, VFS_DEVICE, VFS_SYNC, VFS_CLOSE
- connect to underlying device during VFS_LOOKUP (if L_OPEN flag is used) and VFS_OPEN_NODE
- disconnect from underlying device during VFS_CLOSE
- forward VFS_READ, VFS_WRITE and VFS_SYNC to the underlying device
- VFS_DEVICE: return underlying device handle |
|
4463 |
5645 d 3 h |
decky |
/trunk/uspace/srv/vfs/ |
VFS rewrite:
- add new VFS methods
- VFS_NODE for getting VFS node for a file descriptor
- VFS_OPEN_NODE for opening an i-node directly
- VFS_DEVICE for getting the underlying device of a file (if any)
- VFS_SYNC for syncing buffers
- L_OPEN flag is set to underlying filesystem in VFS_LOOKUP when opening a file to support initialization (if any)
- VFS_CLOSE is now propagated to underlying filesystem to support cleanup (if any) |
|