Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4601 5477 d 3 h decky /trunk/uspace/lib/libc/ small fixes and coding style changes related to the new memory allocator  
4482 5504 d 0 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 5559 d 1 h jermar /trunk/uspace/lib/libc/include/ _exit() is a noreturn function.  
3757 5660 d 6 h svoboda /trunk/uspace/ fgetc(), fputc(), fputs(), fseek().  
2773 5949 d 10 h cejka /trunk/uspace/lib/libc/ United headers using context_t in uspace.  
2755 5961 d 19 h jermar /trunk/uspace/ Add support for relative paths: chdir() and getcwd().  
2735 5976 d 3 h jermar /trunk/uspace/ Support for rmdir(), unlink() and the respective VFS operations.  
2694 6010 d 23 h jermar /trunk/uspace/lib/libc/ Add opendir(), rewinddir(), closedir() and some prototypes and stubs. Add dirent.h.  
2693 6011 d 6 h jermar /trunk/uspace/ Add ftruncate() and support for VFS_TRUNCATE to VFS and TMPFS.  
2684 6018 d 0 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 6066 d 3 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 6119 d 7 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 6215 d 6 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2188 6293 d 5 h decky /trunk/ new user space testing framework (unfinished)  
2071 6371 d 23 h jermar /trunk/ (c) versus (C)  
1866 6506 d 23 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6562 d 1 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1781 6569 d 2 h jermar /uspace/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1653 6596 d 0 h cejka /uspace/trunk/ Doxygen comments.  
1465 6603 d 4 h cejka /uspace/trunk/ Support for reading from stdin.
Getchar() implemented.
 
1452 6604 d 2 h palkovsky /uspace/trunk/libc/ Added some additional functionality.  
1250 6636 d 6 h jermar /uspace/trunk/ Add as.h to libc and compile pci module only for amd64 and ia32.  
1237 6638 d 2 h jermar /uspace/trunk/libc/ Add userspace support for SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND syscalls.  
1228 6641 d 3 h jermar /uspace/trunk/ Reflect changes in syscall names in userspace.  
1113 6672 d 9 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 6679 d 19 h jermar /uspace/trunk/libc/ mmap() syscall.  
985 6681 d 3 h palkovsky /uspace/trunk/libc/ Added malloc implementation.  
978 6681 d 5 h jermar /uspace/trunk/libc/ Add mremap() syscall.  
713 6739 d 2 h decky /uspace/trunk/ some fancy stuff  
505 6793 d 2 h decky /uspace/trunk/libc/ forgotten stuff