Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2787 |
5963 d 15 h |
decky |
/branches/tracing/ |
add dynamic linking, debugging and tracing branch |
|
/branches/tracing /branches/tracing/kernel/arch/ia32/include/tdebug.h /branches/tracing/kernel/arch/ia32/src/tdebug.c /branches/tracing/kernel/generic/include/tdebug /branches/tracing/kernel/generic/include/tdebug/systdebug.h /branches/tracing/kernel/generic/include/tdebug/tdebug.h /branches/tracing/kernel/generic/include/tdebug/tdebug_type.h /branches/tracing/kernel/generic/src/tdebug /branches/tracing/kernel/generic/src/tdebug/systdebug.c /branches/tracing/kernel/generic/src/tdebug/tdebug.c /branches/tracing/uspace/app/tester/tdebug /branches/tracing/uspace/app/tester/tdebug/tdebug1.c /branches/tracing/uspace/app/tester/tdebug/tdebug1.def /branches/tracing/uspace/lib/libc/generic/tdebug.c /branches/tracing/uspace/lib/libc/include/tdebug.h
/branches/tracing/kernel/Makefile /branches/tracing/kernel/arch/ia32/Makefile.inc /branches/tracing/kernel/doc/doxygroups.h /branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/proc/tasklet.h /branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/syscall/syscall.h /branches/tracing/kernel/generic/src/interrupt/interrupt.c /branches/tracing/kernel/generic/src/proc/task.c /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/uspace/app/tester/Makefile /branches/tracing/uspace/app/tester/tester.h /branches/tracing/uspace/app/tetris/tetris.c /branches/tracing/uspace/lib/libc/Makefile
|
2731 |
6002 d 18 h |
jermar |
/trunk/uspace/srv/ |
Add the VFS_FREE operation. This operation frees up whatever resources used by
a file system node for which there is no name (i.e. an unlinked node).
Cleanup VFS operations enums and remove unneeded VFS operations. |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_file.c /trunk/uspace/srv/vfs/vfs_node.c /trunk/uspace/srv/vfs/vfs_register.c
|
2690 |
6042 d 9 h |
jermar |
/trunk/uspace/srv/ |
Make a distinction between VFS operations that are common to VFS and FS
implementations, operations that are VFS only and operations that are FS
implementations only. |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_ops.c
|
2644 |
6065 d 14 h |
jermar |
/trunk/uspace/ |
Move incomplete fs interface from fat.h to libfs. |
|
/trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/fat/fat.h
|
2643 |
6065 d 15 h |
jermar |
/trunk/uspace/ |
VFS work.
Move FS registration code to libfs. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/Makefile /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_ops.c
|
2639 |
6076 d 8 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
FAT work.
Foundation for FAT dentry comparison function.
Beware of looking at the diff or risk loosing sanity. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
2638 |
6077 d 11 h |
jermar |
/trunk/ |
Sync IPC comments with IPC code. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_ops.c
|
2637 |
6077 d 11 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 |
6079 d 11 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
|
2629 |
6086 d 10 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
FAT work.
Add type describing FAT directory entry. |
|
/trunk/uspace/srv/fs/fat/fat.h
|
2628 |
6086 d 10 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
FAT work.
Add type describing FAT boot sector. |
|
/trunk/uspace/srv/fs/fat/fat.h
|
2627 |
6086 d 12 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
FAT work.
Start VFS_LOOKUP support in FAT. |
|
/trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/fat/Makefile /trunk/uspace/srv/fs/fat/fat.c
|
2619 |
6091 d 10 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
|
2615 |
6092 d 19 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
|
2588 |
6108 d 16 h |
jermar |
/trunk/uspace/ |
Add ipc_answer_fast_[01] macros so that ipc_answer_fast() users don't have to
write zero arguments all the time. |
|
/trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs_mount.c /trunk/uspace/srv/vfs/vfs_register.c
|
2568 |
6140 d 0 h |
jermar |
/trunk/uspace/ |
Rename fibril_schedule_next_adv() to fibril_switch(). Rename
fibril_schedule_next() to fibril_yield(). Some fibril structures could be
uninitialized, set them to zero in fibril_setup(). For some fibrils, the stack
member can be NULL (e.g. every thread's first/main fibril); don't do free on
these stacks when cleaning up after a dead fibril. |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/generic/thread.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/srv/fs/fat/fat.c
|
2546 |
6144 d 21 h |
jermar |
/trunk/uspace/srv/ |
VFS work.
Upon FS registration via VFS_REGISTER, the client is assigned a unique file
system handle. When generating the VFS_LOOKUP request in VFS, we also need to
pass the device handle. Add function to transform file system handle to phone.
Implement basic multi-call VFS request serialization on VFS side. |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_register.c
|
2543 |
6145 d 16 h |
jermar |
/trunk/uspace/srv/ |
VFS work.
Modify the protocol so that VFS and FAT (or any other FS) have to share the Path
Lookup Buffer in read-only mode. |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs_register.c
|
2536 |
6150 d 11 h |
jermar |
/trunk/uspace/srv/ |
VFS work.
Describe the bottleneck of one VFS-FS connection in fat.c. Add a comment
outlining possible approaches.
Also in fat.c, the async_create_manager() _must_ be called as well as
async_set_client_connection(). The latter alows VFS to duplicate the connection.
Modify fat_connection() to ACK all IPC_M_CONNECT_ME_TO calls. |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/vfs/vfs_register.c
|
2534 |
6152 d 15 h |
jermar |
/trunk/uspace/ |
In async_new_connection(), be more robust in the case that the function
is called by the server directly after its client accepts the
IPC_M_CONNECT_TO_ME call.
In fat.c main(), kill the "main" fibril and switch to the connection
fibril. |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/srv/fs/fat/fat.c
|