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
4482 5592 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
 
4259 5647 d 2 h jermar /trunk/uspace/lib/libc/include/ _exit() is a noreturn function.  
3757 5748 d 7 h svoboda /trunk/uspace/ fgetc(), fputc(), fputs(), fseek().  
2773 6037 d 11 h cejka /trunk/uspace/lib/libc/ United headers using context_t in uspace.  
2755 6049 d 20 h jermar /trunk/uspace/ Add support for relative paths: chdir() and getcwd().  
2735 6064 d 4 h jermar /trunk/uspace/ Support for rmdir(), unlink() and the respective VFS operations.  
2694 6099 d 0 h jermar /trunk/uspace/lib/libc/ Add opendir(), rewinddir(), closedir() and some prototypes and stubs. Add dirent.h.  
2693 6099 d 7 h jermar /trunk/uspace/ Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.  
2684 6106 d 1 h jermar /trunk/ Add libc and VFS implementation of lseek(), VFS_SEEK resp.
Add the size member to the VFS node structure (not yet initialized).
 
2616 6154 d 4 h jermar /trunk/uspace/lib/libc/ usleep() should return int. Non-void functions really should return a value, so
fix sleep() to always return 0.
 
2541 6207 d 8 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.
 
2479 6303 d 7 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2188 6381 d 6 h decky /trunk/ new user space testing framework (unfinished)  
2071 6460 d 0 h jermar /trunk/ (c) versus (C)  
1866 6595 d 0 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6650 d 2 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1781 6657 d 3 h jermar /uspace/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1653 6684 d 1 h cejka /uspace/trunk/ Doxygen comments.  
1465 6691 d 5 h cejka /uspace/trunk/ Support for reading from stdin.
Getchar() implemented.
 
1452 6692 d 3 h palkovsky /uspace/trunk/libc/ Added some additional functionality.  
1250 6724 d 7 h jermar /uspace/trunk/ Add as.h to libc and compile pci module only for amd64 and ia32.  
1237 6726 d 3 h jermar /uspace/trunk/libc/ Add userspace support for SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND syscalls.  
1228 6729 d 4 h jermar /uspace/trunk/ Reflect changes in syscall names in userspace.  
1113 6760 d 10 h palkovsky /uspace/trunk/ Added symbolic links 'libarch','libadt','libipc' into libc/include,
so that it can be easily used from anywhere.
Renamed thread_main to __thread_main.
Allowed MIPS to compile with -O0.
Added non-preemptible threads support (not yet secured by futexes).
Added simple way to hold Thread Local Storage. Support for compiler
will be added later.
This update breaks IA64 uspace.

There is some forgotten spinlock_lock() in futexes, amd64 gets locked
in the secod uspace thread probably with preemption disabled.
 
1033 6767 d 20 h jermar /uspace/trunk/libc/ mmap() syscall.  
985 6769 d 4 h palkovsky /uspace/trunk/libc/ Added malloc implementation.  
978 6769 d 6 h jermar /uspace/trunk/libc/ Add mremap() syscall.  
713 6827 d 3 h decky /uspace/trunk/ some fancy stuff  
505 6881 d 3 h decky /uspace/trunk/libc/ forgotten stuff