Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4491 |
5601 d 15 h |
decky |
/trunk/uspace/ |
rename libc's fs_node_t to inode_t to avoid type conflict with VFS |
|
/trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/loader/loader.h /trunk/uspace/lib/libc/include/loader/pcb.h /trunk/uspace/lib/libc/include/vfs/vfs.h /trunk/uspace/srv/loader/main.c
|
4465 |
5601 d 19 h |
decky |
/trunk/uspace/srv/fs/ |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_fat.c /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4464 |
5601 d 19 h |
decky |
/trunk/uspace/srv/fs/devfs/ |
devfs rewrite:
- implement VFS_OPEN_NODE, VFS_DEVICE, VFS_SYNC, VFS_CLOSE
- connect to underlying device during VFS_LOOKUP (if L_OPEN flag is used) and VFS_OPEN_NODE
- disconnect from underlying device during VFS_CLOSE
- forward VFS_READ, VFS_WRITE and VFS_SYNC to the underlying device
- VFS_DEVICE: return underlying device handle |
|
/trunk/uspace/srv/fs/devfs/devfs.c /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/fs/devfs/devfs_ops.h
|
4463 |
5601 d 19 h |
decky |
/trunk/uspace/srv/vfs/ |
VFS rewrite:
- add new VFS methods
- VFS_NODE for getting VFS node for a file descriptor
- VFS_OPEN_NODE for opening an i-node directly
- VFS_DEVICE for getting the underlying device of a file (if any)
- VFS_SYNC for syncing buffers
- L_OPEN flag is set to underlying filesystem in VFS_LOOKUP when opening a file to support initialization (if any)
- VFS_CLOSE is now propagated to underlying filesystem to support cleanup (if any) |
|
/trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_node.c /trunk/uspace/srv/vfs/vfs_ops.c /trunk/uspace/srv/vfs/vfs_register.c
|
4462 |
5601 d 19 h |
decky |
/trunk/uspace/srv/kbd/ |
keyboard server rewrite: rename "kbd events" to more generic "console events" and similar changes
rename key_buffer.* to keybuffer.*
coding style changes |
|
/trunk/uspace/srv/kbd/generic/keybuffer.c /trunk/uspace/srv/kbd/include/keybuffer.h
/trunk/uspace/srv/kbd/generic/key_buffer.c /trunk/uspace/srv/kbd/include/key_buffer.h
/trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/ctl/gxe_fb.c /trunk/uspace/srv/kbd/ctl/pc.c /trunk/uspace/srv/kbd/ctl/stty.c /trunk/uspace/srv/kbd/ctl/sun.c /trunk/uspace/srv/kbd/genarch/stroke.c /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/kbd/include/kbd.h /trunk/uspace/srv/kbd/include/layout.h /trunk/uspace/srv/kbd/layout/cz.c /trunk/uspace/srv/kbd/layout/us_dvorak.c /trunk/uspace/srv/kbd/layout/us_qwerty.c
|
4461 |
5601 d 19 h |
decky |
/trunk/uspace/srv/loader/ |
add support for passing preset files
rename loader_ prefix to ldr_ prefix (to avoid confusion with libc functions) |
|
/trunk/uspace/srv/loader/main.c
|
4459 |
5601 d 19 h |
decky |
/trunk/uspace/srv/ns/ |
split naming service into multiple files for better readability
add support for waiting on tasks (receives kernel task notifications) |
|
/trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/clonable.h /trunk/uspace/srv/ns/ns.h /trunk/uspace/srv/ns/service.c /trunk/uspace/srv/ns/service.h /trunk/uspace/srv/ns/task.c /trunk/uspace/srv/ns/task.h
/trunk/uspace/srv/ns/Makefile /trunk/uspace/srv/ns/ns.c
|
4458 |
5601 d 19 h |
decky |
/trunk/uspace/srv/devmap/ |
remove futex (devmap is not multithreaded), use fibril serialization instead |
|
/trunk/uspace/srv/devmap/devmap.c
|
4457 |
5601 d 19 h |
decky |
/trunk/uspace/srv/fb/ |
framebuffer server rewrite: cleanup, always use canonical order of coordinates (x, y) |
|
/trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/ega.h /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/serial_console.c /trunk/uspace/srv/fb/serial_console.h
|
4456 |
5601 d 19 h |
decky |
/trunk/uspace/srv/console/ |
console server rewrite: use VFS_READ/VFS_WRITE for generic I/O, register separate virtual consoles using device mapper |
|
/trunk/uspace/srv/console/Makefile /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/console/gcons.h /trunk/uspace/srv/console/screenbuffer.c /trunk/uspace/srv/console/screenbuffer.h
|
4445 |
5603 d 21 h |
decky |
/trunk/uspace/srv/vfs/ |
revert commit 4443 and implement a much finer solution as suggested by Jakub Jermar in commit 4444 |
|
/trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4444 |
5606 d 18 h |
jermar |
/trunk/uspace/srv/vfs/ |
Put a comment for consideration. |
|
/trunk/uspace/srv/vfs/vfs_lookup.c
|
4443 |
5606 d 20 h |
decky |
/trunk/uspace/srv/vfs/ |
serialization of VFS_OPEN implementation to avoid lockup by concurrent open() operations from multiple tasks |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|
4442 |
5607 d 10 h |
svoboda |
/trunk/uspace/srv/bd/gxe_bd/ |
Support more than one disk in gxe_bd (hardcoded to 2). |
|
/trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
|
4440 |
5607 d 18 h |
jermar |
/trunk/uspace/srv/bd/gxe_bd/ |
Large I/O areas actually work as expected. Fix the definition of the gxe_bd device and pio_enable() the whole I/O area at once. |
|
/trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
|
4437 |
5608 d 4 h |
jermar |
/trunk/uspace/srv/vfs/ |
Fix function definition. |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|
4435 |
5608 d 18 h |
jermar |
/trunk/uspace/ |
More conversions to dev_handle_t. |
|
/trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libblock/libblock.h /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
|
4432 |
5612 d 21 h |
decky |
/trunk/uspace/srv/vfs/ |
avoid accessing uninitialized files array at all times |
|
/trunk/uspace/srv/vfs/vfs_file.c
|
4431 |
5612 d 21 h |
jermar |
/trunk/uspace/srv/vfs/ |
Hold the namespace rwlock during the entire operation of vfs_mount_internal().
Get rid of rootfs futex, which is not needed anymore.
Do not instantiate VFS node for the mounted root if the mount failed. |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|
4429 |
5613 d 18 h |
jermar |
/trunk/uspace/ |
Add fs_handle argument to libfs_mount() needed to recognize homogenous mounts. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4428 |
5614 d 18 h |
svoboda |
/trunk/uspace/srv/bd/gxe_bd/ |
Allow arbitrary block size in gxe_bd. Fix offset calculation. |
|
/trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
|
4427 |
5614 d 18 h |
jermar |
/trunk/uspace/srv/vfs/ |
Fix rename() on a non-root file system. |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|
4425 |
5614 d 18 h |
svoboda |
/trunk/ |
Move ramdisk under bd. |
|
/trunk/uspace/srv/bd/rd
/trunk/uspace/srv/rd
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/ia64/loader/Makefile /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/uspace/Makefile /trunk/uspace/srv/bd/rd/Makefile
|
4424 |
5614 d 19 h |
jermar |
/trunk/uspace/srv/fs/tmpfs/ |
Call libfs_mount() from tmpfs_mount(). |
|
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4421 |
5614 d 22 h |
decky |
/trunk/uspace/srv/console/ |
console cleanup (no functional changes) |
|
/trunk/uspace/srv/console/gfx /trunk/uspace/srv/console/gfx/anim_1.ppm /trunk/uspace/srv/console/gfx/anim_2.ppm /trunk/uspace/srv/console/gfx/anim_3.ppm /trunk/uspace/srv/console/gfx/anim_4.ppm /trunk/uspace/srv/console/gfx/cons_has_data.ppm /trunk/uspace/srv/console/gfx/cons_idle.ppm /trunk/uspace/srv/console/gfx/cons_kernel.ppm /trunk/uspace/srv/console/gfx/cons_selected.ppm /trunk/uspace/srv/console/gfx/helenos.ppm /trunk/uspace/srv/console/gfx/nameic.ppm
/trunk/uspace/srv/console/anim_1.ppm /trunk/uspace/srv/console/anim_2.ppm /trunk/uspace/srv/console/anim_3.ppm /trunk/uspace/srv/console/anim_4.ppm /trunk/uspace/srv/console/cons_has_data.ppm /trunk/uspace/srv/console/cons_idle.ppm /trunk/uspace/srv/console/cons_kernel.ppm /trunk/uspace/srv/console/cons_selected.ppm /trunk/uspace/srv/console/helenos.ppm /trunk/uspace/srv/console/nameic.ppm
/trunk/uspace/srv/console/Makefile /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/console.h /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/console/gcons.h /trunk/uspace/srv/console/screenbuffer.c /trunk/uspace/srv/console/screenbuffer.h
|
4417 |
5615 d 7 h |
decky |
/trunk/ |
add simple devfs filesystem and mount it as /dev
add generic NULL device "null" |
|
/trunk/uspace/dist/dev /trunk/uspace/srv/fs/devfs /trunk/uspace/srv/fs/devfs/Makefile /trunk/uspace/srv/fs/devfs/devfs.c /trunk/uspace/srv/fs/devfs/devfs.h /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/fs/devfs/devfs_ops.h
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/ia64/loader/Makefile /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/uspace/Makefile /trunk/uspace/app/init/init.c
|
4416 |
5615 d 7 h |
decky |
/trunk/uspace/ |
improve devmap interface
remove spared device |
|
/trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/lib/libc/generic/devmap.c /trunk/uspace/lib/libc/include/devmap.h /trunk/uspace/lib/libc/include/ipc/devmap.h /trunk/uspace/srv/bd/gxe_bd/gxe_bd.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/rd/rd.c
|
4413 |
5616 d 2 h |
decky |
/trunk/uspace/ |
add space before $@ |
|
/trunk/uspace/app/init/Makefile /trunk/uspace/app/klog/Makefile /trunk/uspace/app/tester/Makefile /trunk/uspace/app/tetris/Makefile /trunk/uspace/srv/bd/gxe_bd/Makefile /trunk/uspace/srv/console/Makefile /trunk/uspace/srv/devmap/Makefile /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fhc/Makefile /trunk/uspace/srv/fs/fat/Makefile /trunk/uspace/srv/fs/tmpfs/Makefile /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/ns/Makefile /trunk/uspace/srv/obio/Makefile /trunk/uspace/srv/rd/Makefile /trunk/uspace/srv/vfs/Makefile
|
4412 |
5616 d 3 h |
decky |
/trunk/uspace/srv/ |
remove obsolete reference to libipc |
|
/trunk/uspace/srv/devmap/Makefile /trunk/uspace/srv/fb/Makefile
|
4411 |
5616 d 16 h |
svoboda |
/trunk/ |
Experimental GXemul disk driver (device 'disk0'). |
|
/trunk/uspace/srv/bd /trunk/uspace/srv/bd/gxe_bd /trunk/uspace/srv/bd/gxe_bd/Makefile /trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
/trunk/boot/arch/mips32/loader/Makefile /trunk/uspace/Makefile
|
4410 |
5616 d 16 h |
svoboda |
/trunk/uspace/srv/rd/ |
Fix type definition. |
|
/trunk/uspace/srv/rd/rd.c
|
4409 |
5616 d 16 h |
jermar |
/trunk/uspace/ |
Rudimentary support for non-root mounts. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4406 |
5616 d 16 h |
jermar |
/trunk/uspace/srv/vfs/ |
Remove unused and non-functional code. |
|
/trunk/uspace/srv/vfs/vfs.c
|
4401 |
5617 d 18 h |
svoboda |
/trunk/uspace/ |
C binding for devmap. Gets rid of duplicate code. |
|
/trunk/uspace/lib/libc/generic/devmap.c /trunk/uspace/lib/libc/include/devmap.h
/trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/ipc/devmap.h /trunk/uspace/lib/libc/include/vfs/vfs.h /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs.h
|
4400 |
5617 d 20 h |
svoboda |
/trunk/uspace/ |
Rename ramdisk protocol -> block device protocol. |
|
/trunk/uspace/lib/libc/include/ipc/bd.h
/trunk/uspace/srv/rd/rd.h
/trunk/uspace/lib/libblock/libblock.c /trunk/uspace/srv/rd/rd.c
|
4374 |
5624 d 18 h |
jermar |
/trunk/uspace/srv/rd/ |
Create a second RD device called "spared".
This is for testing purposes. |
|
/trunk/uspace/srv/rd/rd.c
|
4370 |
5626 d 16 h |
jermar |
/trunk/uspace/ |
Streamline TMPFS and fix its design so that it properly supports hardlinks.
libfs operation unlink() is now passed also the name of the component being
unlinked. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4368 |
5627 d 5 h |
jermar |
/trunk/uspace/ |
Lookup a node's parent lexically rather than using the broken L_PARENT flag of
VFS_LOOKUP. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_ops.c
|
4366 |
5627 d 17 h |
jermar |
/trunk/uspace/srv/vfs/ |
Allow rename("a", "aa"); |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|
4362 |
5629 d 17 h |
jermar |
/trunk/uspace/srv/vfs/ |
Negative file descriptors shoud be considered invalid.
This fixes ticket #70. |
|
/trunk/uspace/srv/vfs/vfs_file.c
|