Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2652 |
6092 d 19 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
Fix VFS node hash function to hash only within the limits of its supposed
ranges. |
|
/trunk/uspace/srv/vfs/vfs_node.c
|
2651 |
6092 d 19 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work. Releas the FS phone earlier. |
|
/trunk/uspace/srv/vfs/vfs_mount.c
|
2650 |
6092 d 19 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work. FS info futex must be initialized. |
|
/trunk/uspace/srv/vfs/vfs_register.c
|
2649 |
6095 d 5 h |
jermar |
/trunk/boot/arch/ |
Enable tmpfs in arm32, ia32xen, ia64, ppc32, ppc64 and sparc64. |
|
/trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32xen/Makefile.inc /trunk/boot/arch/ia32xen/grub/menu.lst /trunk/boot/arch/ia64/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/ppc64/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile
|
2648 |
6095 d 17 h |
jermar |
/trunk/boot/arch/ |
Added support for tmpfs loading to amd64, ia32 and mips32.
Added support for devmap loading to amd64. |
|
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/amd64/grub/menu.lst /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/ia32/grub/menu.lst /trunk/boot/arch/mips32/loader/Makefile
|
2647 |
6095 d 17 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Fix a bug in anonymous address space area sharing. Call the backend's share
function only if the source area is not already shared. Otherwise increment the
sh_info refcount. Without this fix, the kernel will try to recreate the pagemap
if three and more address space areas attempt to share the same data. |
|
/trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/mm/backend_elf.c
|
2646 |
6095 d 18 h |
jermar |
/trunk/kernel/generic/include/ |
Formatting. |
|
/trunk/kernel/generic/include/panic.h
|
2645 |
6095 d 19 h |
jermar |
/trunk/uspace/ |
Start TMPFS.
Not loaded during boot as there is a reproducible kernel panic which occurs when
both tmpfs and fat are loaded. |
|
/trunk/uspace/srv/fs/tmpfs /trunk/uspace/srv/fs/tmpfs/Makefile /trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/Makefile
|
2644 |
6095 d 19 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 |
6095 d 20 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
|
2642 |
6096 d 23 h |
jermar |
/trunk/uspace/ |
Start libfs.
libfs is to contain all common fs code. |
|
/trunk/uspace/lib/libfs /trunk/uspace/lib/libfs/Makefile /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/Makefile
|
2641 |
6097 d 18 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
During VFS_REGISTER, use strncmp() instead of strcmp().
Add one excessive convenience byte to vfs_info.name to support the
above-mentioned change. In case the fs name spans all available
characters, make sure this convenience byte is zero. |
|
/trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_register.c
|
2640 |
6099 d 12 h |
cejka |
/trunk/uspace/lib/libc/ |
Function strncmp() added to libc. |
|
/trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/string.h
|
2639 |
6106 d 13 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 |
6107 d 16 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 |
6107 d 16 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
|
2636 |
6109 d 15 h |
jermar |
/trunk/ |
Update comments wrt the previous commit.
Minor formatting fixes. |
|
/trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/lib/libc/generic/ipc.c
|
2635 |
6109 d 16 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
|
2634 |
6110 d 11 h |
decky |
/trunk/kernel/arch/mips32/src/ |
fix trivial bug in storing lastcount |
|
/trunk/kernel/arch/mips32/src/interrupt.c
|
2633 |
6110 d 11 h |
decky |
/trunk/kernel/arch/mips32/ |
CPU cycle accounting on MIPS |
|
/trunk/kernel/arch/mips32/include/cycle.h /trunk/kernel/arch/mips32/include/interrupt.h /trunk/kernel/arch/mips32/src/interrupt.c
|
2632 |
6110 d 11 h |
decky |
/trunk/kernel/generic/src/proc/ |
try to kill the tasks fewer times by introducing a delay in iterations |
|
/trunk/kernel/generic/src/proc/task.c
|
2630 |
6115 d 14 h |
jermar |
/trunk/kernel/arch/ |
Formatting fixes. |
|
/trunk/kernel/arch/amd64/include/proc/task.h /trunk/kernel/arch/amd64/src/ddi/ddi.c /trunk/kernel/arch/ia32/include/proc/task.h /trunk/kernel/arch/ia32/src/ddi/ddi.c /trunk/kernel/arch/ia32/src/proc/scheduler.c
|
2629 |
6116 d 15 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
FAT work.
Add type describing FAT directory entry. |
|
/trunk/uspace/srv/fs/fat/fat.h
|
2628 |
6116 d 15 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
FAT work.
Add type describing FAT boot sector. |
|
/trunk/uspace/srv/fs/fat/fat.h
|
2627 |
6116 d 16 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
|
2626 |
6117 d 2 h |
jermar |
/trunk/kernel/generic/ |
Support for 5 payload arguments for IPC irq notifications and the pseudo code. |
|
/trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/console/klog.c /trunk/kernel/generic/src/ipc/irq.c
|
2625 |
6117 d 17 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
Proto implementation of VFS_READ. |
|
/trunk/uspace/srv/vfs/vfs_read.c
/trunk/uspace/srv/vfs/Makefile /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs.h
|
2624 |
6117 d 17 h |
jermar |
/trunk/uspace/srv/vfs/ |
Add sanity checks to functions using file descriptors as indices into files. |
|
/trunk/uspace/srv/vfs/vfs_file.c
|
2623 |
6117 d 22 h |
jermar |
/trunk/kernel/generic/ |
Introduce the IPC_FF_ROUTE_FROM_ME forwarding flag. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/src/ipc/ipc.c
|
2622 |
6117 d 22 h |
jermar |
/trunk/ |
Add mode argument to IPC forward.
This argument can be used to modify the way forward behaves. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/ns/ns.c
|
2621 |
6119 d 20 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
|
2620 |
6120 d 3 h |
jermar |
/trunk/ |
Be more deterministic when a user accidently uses fast version of IPC
call/answer instead of the full one and passes fewer arguments than required by
the recipient of the call/response.
and the recipient interprets arguments that
were actually not passed by the sender. |
|
/trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/lib/libc/generic/ipc.c
|
2619 |
6121 d 15 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 |
6122 d 3 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
|
2617 |
6122 d 19 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
STRUCT_TO_USPACE may fail in sys_ipc_call_sync_fast. |
|
/trunk/kernel/generic/src/ipc/sysipc.c
|
2616 |
6122 d 20 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. |
|
/trunk/uspace/lib/libc/generic/time.c /trunk/uspace/lib/libc/include/unistd.h
|
2615 |
6123 d 0 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
|
2614 |
6123 d 22 h |
jermar |
/trunk/kernel/generic/include/ipc/ |
Grow the IPC data structures from 3 to 5 payload arguments.
No IPC API changes so far. |
|
/trunk/kernel/generic/include/ipc/ipc.h
|
2613 |
6124 d 16 h |
jermar |
/trunk/ |
Support for six syscall arguments for ia32. |
|
/trunk/uspace/lib/libc/arch/ia32/src/syscall.S
/trunk/uspace/lib/libc/arch/ia32/src/syscall.c
/trunk/kernel/arch/ia32/src/asm.S /trunk/uspace/lib/libc/arch/ia32/Makefile.inc /trunk/uspace/lib/libc/arch/ia32/src/fibril.S
|
2612 |
6124 d 16 h |
jermar |
/trunk/kernel/arch/ |
Cleanup. |
|
/trunk/kernel/arch/amd64/include/interrupt.h /trunk/kernel/arch/ia32/include/interrupt.h /trunk/kernel/arch/ia32/include/pm.h /trunk/kernel/arch/ia32/src/pm.c
|