Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2670 |
6078 d 5 h |
jermar |
/trunk/uspace/ |
Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked. |
|
/trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/io/vprintf.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/include/io/stream.h
|
2665 |
6081 d 4 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 |
6081 d 7 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 |
6082 d 7 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 |
6085 d 10 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 |
6100 d 7 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 |
6102 d 7 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
|
2621 |
6112 d 11 h |
jermar |
/trunk/uspace/ |
Modify the async framework to make use of all six syscall arguments.
Supply user-friendly macros as in previous cases. |
|
/trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/kbd/arch/ia32/src/mouse.c /trunk/uspace/srv/kbd/generic/kbd.c
|
2619 |
6114 d 6 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 |
6114 d 18 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 |
6115 d 15 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 |
6129 d 6 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 |
6168 d 14 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
|
2479 |
6264 d 14 h |
jermar |
/trunk/ |
New, better-structured, directory layout for uspace. |
|
/trunk/uspace/app /trunk/uspace/app/init /trunk/uspace/app/klog /trunk/uspace/app/tester /trunk/uspace/app/tetris /trunk/uspace/lib /trunk/uspace/lib/libc /trunk/uspace/lib/softfloat /trunk/uspace/lib/softint /trunk/uspace/srv /trunk/uspace/srv/console /trunk/uspace/srv/fb /trunk/uspace/srv/fs /trunk/uspace/srv/kbd /trunk/uspace/srv/ns /trunk/uspace/srv/pci /trunk/uspace/srv/rd
/trunk/uspace/console /trunk/uspace/fb /trunk/uspace/fs /trunk/uspace/init /trunk/uspace/kbd /trunk/uspace/klog /trunk/uspace/libc /trunk/uspace/ns /trunk/uspace/pci /trunk/uspace/rd /trunk/uspace/softfloat /trunk/uspace/softint /trunk/uspace/tester /trunk/uspace/tetris
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/ia32xen/Makefile.inc /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/ppc64/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/contrib/conf/ski.conf /trunk/uspace/Makefile /trunk/uspace/app/init/Makefile /trunk/uspace/app/klog/Makefile /trunk/uspace/app/tester/Makefile /trunk/uspace/app/tetris/Makefile /trunk/uspace/app/tetris/input.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/arch/amd64/_link.ld.in /trunk/uspace/lib/libc/arch/arm32/Makefile.inc /trunk/uspace/lib/libc/arch/arm32/_link.ld.in /trunk/uspace/lib/libc/arch/ia32/_link.ld.in /trunk/uspace/lib/libc/arch/ia64/Makefile.inc /trunk/uspace/lib/libc/arch/ia64/_link.ld.in /trunk/uspace/lib/libc/arch/mips32/Makefile.inc /trunk/uspace/lib/libc/arch/mips32/_link.ld.in /trunk/uspace/lib/libc/arch/ppc32/_link.ld.in /trunk/uspace/lib/libc/arch/ppc64/_link.ld.in /trunk/uspace/lib/libc/arch/sparc64/_link.ld.in /trunk/uspace/srv/console/Makefile /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fs/Makefile /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/ns/Makefile /trunk/uspace/srv/pci/Makefile /trunk/uspace/srv/pci/libpci/Makefile /trunk/uspace/srv/rd/Makefile
|