Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2678 |
6122 d 16 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 |
6123 d 12 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 |
6123 d 12 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 |
6130 d 11 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 |
6130 d 14 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 |
6131 d 13 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 |
6134 d 17 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 |
6149 d 14 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 |
6151 d 14 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 |
6163 d 12 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 |
6164 d 0 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 |
6164 d 21 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 |
6178 d 13 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 |
6217 d 21 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 |
6313 d 20 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
|
2230 |
6388 d 17 h |
jermar |
/trunk/uspace/ |
Remove printf() serialization from thread1 test in tester.
The agreement among developers seems to be that:
- there _must_ be a futex to serialize access to printf()
- there _must_ be pseudo thread serialization in printf()
- the best place for this is vprintf(), the one that goes to console |
|
/trunk/uspace/libc/generic/io/printf_core.c /trunk/uspace/libc/generic/io/vprintf.c /trunk/uspace/tester/thread/thread1.c
|
2229 |
6388 d 20 h |
jermar |
/trunk/ |
Revert some of the changes introduced in revision 2209.
I think it is not correct to remove serialization of pseudo threads in printf_core.c.
With thread-level futex serialization, several pseudo threads running in one thread could easily deadlock
the task.
Add a dedicated futex serialization to thread1.c test only. |
|
/trunk/kernel/generic/src/proc/thread.c /trunk/uspace/libc/arch/sparc64/src/thread_entry.s /trunk/uspace/libc/generic/io/printf_core.c /trunk/uspace/libc/generic/io/vprintf.c /trunk/uspace/tester/fault/fault1.c /trunk/uspace/tester/fault/fault2.c /trunk/uspace/tester/thread/thread1.c
|
2216 |
6390 d 13 h |
decky |
/trunk/ |
make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls |
|
/trunk/kernel/arch/amd64/include/types.h /trunk/kernel/arch/arm32/include/types.h /trunk/kernel/arch/ia32/include/types.h /trunk/kernel/arch/ia32xen/include/types.h /trunk/kernel/arch/ia64/include/types.h /trunk/kernel/arch/mips32/include/types.h /trunk/kernel/arch/ppc32/include/types.h /trunk/kernel/arch/ppc64/include/types.h /trunk/kernel/arch/sparc64/include/types.h /trunk/kernel/generic/include/interrupt.h /trunk/kernel/generic/include/proc/task.h /trunk/kernel/generic/include/proc/thread.h /trunk/kernel/generic/src/adt/btree.c /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/proc/scheduler.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/proc/thread.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/kernel/test/fpu/fpu1.c /trunk/kernel/test/fpu/mips2.c /trunk/kernel/test/fpu/sse1.c /trunk/kernel/test/mm/falloc2.c /trunk/kernel/test/mm/slab1.c /trunk/kernel/test/mm/slab2.c /trunk/kernel/test/synch/rwlock3.c /trunk/kernel/test/synch/rwlock4.c /trunk/kernel/test/synch/semaphore2.c /trunk/kernel/test/thread/thread1.c /trunk/uspace/libc/generic/thread.c /trunk/uspace/libc/include/thread.h /trunk/uspace/tester/thread/thread1.c
|
2210 |
6390 d 15 h |
decky |
/trunk/ |
use more useful values |
|
/trunk/kernel/test/thread/thread1.c /trunk/uspace/tester/thread/thread1.c
|
2193 |
6391 d 19 h |
decky |
/trunk/uspace/tester/ |
reimplement all tests from original ipcc
(cleanup needed) |
|
/trunk/uspace/tester/fault /trunk/uspace/tester/fault/fault1.c /trunk/uspace/tester/fault/fault1.def /trunk/uspace/tester/fault/fault2.c /trunk/uspace/tester/fault/fault2.def /trunk/uspace/tester/ipc/answer.c /trunk/uspace/tester/ipc/answer.def /trunk/uspace/tester/ipc/hangup.c /trunk/uspace/tester/ipc/hangup.def /trunk/uspace/tester/ipc/send_async.c /trunk/uspace/tester/ipc/send_async.def /trunk/uspace/tester/ipc/send_sync.c /trunk/uspace/tester/ipc/send_sync.def
/trunk/uspace/tester/Makefile /trunk/uspace/tester/tester.c /trunk/uspace/tester/tester.h
|