Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2755 |
6091 d 0 h |
jermar |
/trunk/uspace/ |
Add support for relative paths: chdir() and getcwd(). |
|
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/lib/libc/include/vfs.h
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/errno.h /trunk/uspace/lib/libc/include/unistd.h /trunk/uspace/lib/libc/include/vfs/canonify.h
|
2737 |
6105 d 3 h |
jermar |
/trunk/uspace/app/tester/vfs/ |
Modify the vfs1 test to excercise unlink() and rmdir(). |
|
/trunk/uspace/app/tester/vfs/vfs1.c
|
2711 |
6126 d 6 h |
jermar |
/trunk/uspace/ |
Remove the debugging hack from tmpfs_init(), which created several files and
directories on the filesystem. TMPFS is now self-sufficient enough to be able
to create its content via the standard VFS interface. |
|
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2710 |
6126 d 6 h |
jermar |
/trunk/uspace/ |
VFS_WRITE and tmpfs_write fixes. |
|
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/vfs.c /trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs_ops.c
|
2707 |
6126 d 10 h |
jermar |
/trunk/uspace/ |
Support for mkdir(). |
|
/trunk/uspace/lib/libc/include/sys/stat.h
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/vfs.c /trunk/uspace/lib/libc/include/sys/types.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_ops.c
|
2699 |
6135 d 1 h |
jermar |
/trunk/uspace/ |
Finish implementation of readdir(). Functions from this family are implemented
via using file descriptors for directories. For example, readdir() is
implemented as read() from an open directory. Of course, FS implementations
must understand that they are asked to read a directory and behave accordingly. |
|
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/vfs.c /trunk/uspace/lib/libc/include/dirent.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
2678 |
6153 d 7 h |
jermar |
/trunk/uspace/ |
The IPC_M_SHARE_* and IPC_M_DATA_* calls pass through 3 stages. Rename the send,
receive and deliver wrappers to names ending with 'start', 'receive' and
'finalize', respectively. This should make it clearer for dummies. |
|
/trunk/uspace/app/klog/klog.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/generic/time.c /trunk/uspace/lib/libc/generic/vfs.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs_mount.c /trunk/uspace/srv/vfs/vfs_open.c /trunk/uspace/srv/vfs/vfs_register.c
|
2674 |
6154 d 3 h |
jermar |
/trunk/uspace/ |
Add libc VFS wrapper for VFS_WRITE. Fix a small bug in read(). Place open(),
read() and write() declarations in their respective headers according to SUSv3. |
|
/trunk/uspace/lib/libc/include/fcntl.h
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/vfs.c /trunk/uspace/lib/libc/include/vfs.h
|
2672 |
6154 d 4 h |
jermar |
/trunk/uspace/app/tester/vfs/ |
Use libc's VFS wrappers instead of direct communication with VFS. |
|
/trunk/uspace/app/tester/vfs/vfs1.c
|
2665 |
6161 d 2 h |
jermar |
/trunk/uspace/app/tester/vfs/ |
The vfs1 test now reads a file on a TMPFS file system. |
|
/trunk/uspace/app/tester/vfs/vfs1.c
|
2660 |
6161 d 5 h |
jermar |
/trunk/ |
Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver(). |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/vfs/vfs_mount.c /trunk/uspace/srv/vfs/vfs_open.c /trunk/uspace/srv/vfs/vfs_register.c
|
2657 |
6162 d 4 h |
jermar |
/trunk/uspace/ |
VFS work.
Cleaner VFS_MOUNT protocol. |
|
/trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/srv/vfs/vfs_mount.c
|
2656 |
6165 d 8 h |
jermar |
/trunk/uspace/app/tester/ |
Add a simple test of VFS_MOUNT and VFS_OPEN to tester. |
|
/trunk/uspace/app/tester/vfs /trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/app/tester/vfs/vfs1.def
/trunk/uspace/app/tester/Makefile /trunk/uspace/app/tester/tester.c /trunk/uspace/app/tester/tester.h
|
2637 |
6180 d 5 h |
cejka |
/trunk/ |
Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/ipc/ipcrsc.c /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tester/ipc/register.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fb/main.c /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/pci/pci.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs_register.c
|
2635 |
6182 d 5 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. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tester/ipc/connect.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/devmap/devmap.h /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/vfs/vfs_read.c
|
2619 |
6194 d 3 h |
jermar |
/trunk/ |
Modify ipc_answer_*() to make use of all six syscall arguments. The recommended
means of answering calls is via the ipc_answer_m() macros (where m denotes the
number of return arguments) that automatically decide between the fast register
version or the slow universal version of ipc_answer(). |
|
/trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/tester/ipc/answer.c /trunk/uspace/app/tester/ipc/register.c /trunk/uspace/app/tester/ipc/send_async.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/main.c /trunk/uspace/srv/fb/sysio.c /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/pci/pci.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs_mount.c /trunk/uspace/srv/vfs/vfs_open.c /trunk/uspace/srv/vfs/vfs_register.c
|
2618 |
6194 d 16 h |
jermar |
/trunk/ |
Modify asynchronous IPC to make use of all six syscall arguments. The preferred
means of asynchronous communication is now via the set of ipc_call_async_m()
macros, where m is the number of payload arguments passed to the kernel. These
macros will automatically decide between the fast and the universal slow version
of ipc_call_async. |
|
/trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/tester/ipc/send_async.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/console/console.c
|
2615 |
6195 d 12 h |
jermar |
/trunk/ |
Modify synchronous IPC to make use of all six syscall arguments. The preferred
means of synchronous communication is now via the set of ipc_call_sync_m_n()
macros, where m is the number of payload arguments passed to the kernel and n is
the number of return values. These macros will automatically decide between the
fast and the universal slow version of ipc_call_sync. |
|
/trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/klog/klog.c /trunk/uspace/app/tester/ipc/send_sync.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/generic/time.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/fs/fat/fat.c
|
2594 |
6209 d 4 h |
cejka |
/trunk/uspace/ |
New version of device mapper.
Added devmap test to tester. |
|
/trunk/uspace/app/tester/devmap /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tester/devmap/devmap1.def
/trunk/uspace/app/tester/Makefile /trunk/uspace/app/tester/tester.c /trunk/uspace/app/tester/tester.h /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/devmap/devmap.h /trunk/uspace/srv/ns/ns.c
|
2541 |
6248 d 12 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. |
|
/trunk/uspace/lib/libc/include/types.h
/trunk/uspace/app/tester/tester.h /trunk/uspace/lib/libc/arch/amd64/include/fibril.h /trunk/uspace/lib/libc/arch/amd64/include/types.h /trunk/uspace/lib/libc/arch/arm32/include/fibril.h /trunk/uspace/lib/libc/arch/arm32/include/types.h /trunk/uspace/lib/libc/arch/ia32/include/fibril.h /trunk/uspace/lib/libc/arch/ia32/include/stackarg.h /trunk/uspace/lib/libc/arch/ia32/include/types.h /trunk/uspace/lib/libc/arch/ia64/include/fibril.h /trunk/uspace/lib/libc/arch/ia64/include/types.h /trunk/uspace/lib/libc/arch/mips32/include/fibril.h /trunk/uspace/lib/libc/arch/mips32/include/stackarg.h /trunk/uspace/lib/libc/arch/mips32/include/types.h /trunk/uspace/lib/libc/arch/ppc32/include/fibril.h /trunk/uspace/lib/libc/arch/ppc32/include/types.h /trunk/uspace/lib/libc/arch/ppc64/include/fibril.h /trunk/uspace/lib/libc/arch/ppc64/include/types.h /trunk/uspace/lib/libc/arch/sparc64/include/atomic.h /trunk/uspace/lib/libc/arch/sparc64/include/fibril.h /trunk/uspace/lib/libc/arch/sparc64/include/syscall.h /trunk/uspace/lib/libc/arch/sparc64/include/types.h /trunk/uspace/lib/libc/generic/as.c /trunk/uspace/lib/libc/generic/futex.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/mman.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/as.h /trunk/uspace/lib/libc/include/async.h /trunk/uspace/lib/libc/include/bitops.h /trunk/uspace/lib/libc/include/futex.h /trunk/uspace/lib/libc/include/io/io.h /trunk/uspace/lib/libc/include/io/printf_core.h /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libc/include/libc.h /trunk/uspace/lib/libc/include/stdarg.h /trunk/uspace/lib/libc/include/stddef.h /trunk/uspace/lib/libc/include/stdint.h /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/string.h /trunk/uspace/lib/libc/include/sys/mman.h /trunk/uspace/lib/libc/include/sys/time.h /trunk/uspace/lib/libc/include/sys/types.h /trunk/uspace/lib/libc/include/syscall.h /trunk/uspace/lib/libc/include/task.h /trunk/uspace/lib/libc/include/thread.h /trunk/uspace/lib/libc/include/unistd.h /trunk/uspace/srv/fb/ppm.c /trunk/uspace/srv/fb/ppm.h /trunk/uspace/srv/kbd/arch/sparc64/src/kbd.c /trunk/uspace/srv/kbd/include/key_buffer.h /trunk/uspace/srv/pci/libpci/types.h
|