Rev |
Age |
Author |
Path |
Log message |
Diff |
4587 |
5536 d 23 h |
jermar |
/trunk/uspace/ |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during ls.
In devfs, allow lookups that don't
specify one of L_FILE and L_DIRECTORY. |
|
4585 |
5537 d 1 h |
jermar |
/trunk/uspace/ |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well. |
|
4584 |
5537 d 7 h |
jermar |
/trunk/uspace/ |
Separate the VFS input and output protocols. |
|
4556 |
5547 d 12 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 |
|
4542 |
5549 d 22 h |
jermar |
/trunk/uspace/ |
Handle pending input using only one fibril.
Relax serialization in console, keep your fingers crossed.
Do not create a new "pending" fibril after each received call. |
|
4541 |
5549 d 22 h |
svoboda |
/trunk/uspace/ |
Stdio stream buffering (only for writing a.t.m.) Issue: Do we need two moving delimiters (head, tail) to recover from error or is one moving data delimiter enough, like in the current implementation? (Where the buffer must be drained as a whole, cannot do it part at a time. |
|
4535 |
5551 d 8 h |
jermar |
/trunk/uspace/lib/libc/ |
On condvar signal/broadcast, dequeue the waiting fibril from the waiters list.
Add FIBRIL_CONDVAR_INITIALIZE. |
|
4528 |
5553 d 1 h |
svoboda |
/trunk/uspace/ |
Use 'fibril_local' modifier for fibril-local variables instead of '__thread'. Since it is decalred in fibril.h, it need not begin with '__'. |
|
4527 |
5553 d 3 h |
jermar |
/trunk/uspace/lib/libc/ |
Condition variables for fibrils. |
|
4526 |
5554 d 0 h |
jermar |
/trunk/uspace/lib/libc/ |
Implement readers-writer locks for fibrils. |
|
4522 |
5555 d 1 h |
decky |
/trunk/uspace/lib/libc/ |
remove obsolete comment
cstyle |
|
4516 |
5555 d 22 h |
jermar |
/trunk/uspace/lib/libc/ |
Add simple synchronization primitives to be used with fibrils.
Provided are mutexes and dummy rwlocks. |
|
4514 |
5556 d 9 h |
decky |
/trunk/uspace/lib/libc/ |
simple implementation of fdopen() and rewind() |
|
4509 |
5557 d 7 h |
decky |
/trunk/uspace/ |
rename libadt -> adt |
|
4508 |
5557 d 8 h |
decky |
/trunk/uspace/lib/libc/ |
keep a list of open files to support proper cleanup |
|
4492 |
5561 d 10 h |
jermar |
/trunk/uspace/ |
inode_t -> fdi_node_t |
|
4491 |
5561 d 21 h |
decky |
/trunk/uspace/ |
rename libc's fs_node_t to inode_t to avoid type conflict with VFS |
|
4482 |
5562 d 1 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 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/include/ipc/ |
sync header files with implementation
coding style |
|
4480 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/include/loader/ |
sync header files with implementation |
|
4479 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/include/ |
add error constant from VFS
cleanup |
|
4475 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/ |
async framework: add generic support for processing pending operations (in a separate fibril)
coding style |
|
4472 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/ |
replace count_t with size_t
coding style |
|
4470 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/ |
pass current task stdin, stdout and stderr as preset files to the loader
add task_wait() |
|
4453 |
5562 d 2 h |
decky |
/trunk/uspace/lib/libc/include/ |
port macros from kernel |
|
4416 |
5575 d 13 h |
decky |
/trunk/uspace/ |
improve devmap interface
remove spared device |
|
4415 |
5575 d 13 h |
decky |
/trunk/uspace/lib/libc/ |
add list_count()
cstyle |
|
4401 |
5578 d 0 h |
svoboda |
/trunk/uspace/ |
C binding for devmap. Gets rid of duplicate code. |
|
4400 |
5578 d 3 h |
svoboda |
/trunk/uspace/ |
Rename ramdisk protocol -> block device protocol. |
|
4365 |
5588 d 9 h |
jermar |
/trunk/uspace/lib/libc/include/ |
Fix doxygen comments. |
|
4353 |
5593 d 11 h |
svoboda |
/trunk/uspace/lib/libc/ |
klog_puts() is useful for debugging. |
|
4326 |
5602 d 0 h |
svoboda |
/trunk/uspace/ |
Use better method names. |
|
4325 |
5602 d 0 h |
svoboda |
/trunk/uspace/ |
Better switch to kcon on serial console -- relinquish/reclaim screen before/after switching to kcon. |
|
4324 |
5602 d 5 h |
decky |
/trunk/uspace/lib/libc/ |
create a new fibril for each notification received, which allows to do nested async calls from the notification handler
(this fixes ticket #19 and solves various problems with klog) |
|
4317 |
5602 d 12 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 |
|
4305 |
5608 d 5 h |
jermar |
/trunk/uspace/ |
Support mount options.
Let tmpfs decide whether to start empty or restored a TMPFS dump based on the mount option. |
|
4293 |
5610 d 9 h |
decky |
/trunk/uspace/lib/libc/ |
don't forget to flush the console after the application finishes
(yes, this is not very elegant, but until we have a proper stdin/stdout/stderr, the whole console stuff, buffering, etc. is just a big heap of hacks) |
|
4280 |
5612 d 1 h |
svoboda |
/trunk/uspace/lib/libc/ |
strcat() -> str_append(). |
|
4279 |
5612 d 1 h |
svoboda |
/trunk/uspace/ |
Nuke strncmp(). |
|
4268 |
5616 d 12 h |
svoboda |
/trunk/uspace/ |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy(). |
|