Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4552 |
5545 d 10 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Use fibril synchronization in FAT. |
|
/trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_fat.c /trunk/uspace/srv/fs/fat/fat_idx.c /trunk/uspace/srv/fs/fat/fat_ops.c
|
4551 |
5545 d 11 h |
jermar |
/trunk/uspace/srv/vfs/ |
Handle each VFS request using a dedicated connection. |
|
/trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_ops.c /trunk/uspace/srv/vfs/vfs_register.c
|
4549 |
5546 d 10 h |
svoboda |
/trunk/uspace/ |
Fix assorted warnings and tiny glitches. |
|
/trunk/uspace/app/init/init.c /trunk/uspace/app/tester/stdio/stdio2.c /trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libc/generic/devmap.c /trunk/uspace/srv/fb/ppm.c
|
4548 |
5546 d 11 h |
svoboda |
/trunk/uspace/srv/fb/ |
Fix signedness issues and warnings in fb. |
|
/trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c
|
4547 |
5546 d 12 h |
svoboda |
/trunk/uspace/srv/loader/ |
Suppress warnings in loader. |
|
/trunk/uspace/srv/loader/arch/ia32/ia32.s /trunk/uspace/srv/loader/elf_load.c /trunk/uspace/srv/loader/main.c
|
4546 |
5546 d 12 h |
svoboda |
/trunk/uspace/srv/bd/ata_bd/ |
Improve ATA cmd regs block definition to suppress warnings. |
|
/trunk/uspace/srv/bd/ata_bd/ata_bd.h
|
4545 |
5546 d 13 h |
svoboda |
/trunk/uspace/srv/bd/ |
Get rid of warnings (size_t is enough for block size). |
|
/trunk/uspace/srv/bd/ata_bd/ata_bd.c /trunk/uspace/srv/bd/file_bd/file_bd.c /trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
|
4542 |
5547 d 10 h |
jermar |
/trunk/uspace/ |
Handle pending input using only one fibril.
Relax serialization in console, keep your fingers crossed.
Do not create a new "pending" fibril after each received call. |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/srv/console/console.c
|
4540 |
5547 d 11 h |
jermar |
/trunk/uspace/srv/devmap/ |
Handle pending lookups using only one fibril. |
|
/trunk/uspace/srv/devmap/devmap.c
|
4539 |
5547 d 12 h |
jermar |
/trunk/uspace/srv/vfs/ |
Handle pending mounts using only one fibril. |
|
/trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_ops.c /trunk/uspace/srv/vfs/vfs_register.c
|
4538 |
5547 d 13 h |
svoboda |
/trunk/uspace/srv/console/ |
Revert clandestine removal of delayed cursor position update by c4456. |
|
/trunk/uspace/srv/console/console.c
|
4534 |
5549 d 13 h |
svoboda |
/trunk/uspace/srv/bd/file_bd/ |
Add forgotten files. |
|
/trunk/uspace/srv/bd/file_bd /trunk/uspace/srv/bd/file_bd/Makefile /trunk/uspace/srv/bd/file_bd/file_bd.c
|
4532 |
5549 d 19 h |
svoboda |
/trunk/uspace/srv/bd/ata_bd/ |
Write support in ata_bd. Not used, not tested. |
|
/trunk/uspace/srv/bd/ata_bd/ata_bd.c
|
4531 |
5549 d 22 h |
svoboda |
/trunk/uspace/srv/bd/ata_bd/ |
Use named constants. |
|
/trunk/uspace/srv/bd/ata_bd/ata_bd.c /trunk/uspace/srv/bd/ata_bd/ata_bd.h
|
4530 |
5549 d 22 h |
svoboda |
/trunk/uspace/srv/bd/ata_bd/ |
Move type declarations to a header file. |
|
/trunk/uspace/srv/bd/ata_bd/ata_bd.h
/trunk/uspace/srv/bd/ata_bd/ata_bd.c
|
4529 |
5550 d 10 h |
svoboda |
/trunk/uspace/srv/bd/ata_bd/ |
Properly support two disks per ATA controller. Fake (Qemu-only) check whether disk is present. Only create device nodes for detected disks. |
|
/trunk/uspace/srv/bd/ata_bd/ata_bd.c
|
4528 |
5550 d 12 h |
svoboda |
/trunk/uspace/ |
Use 'fibril_local' modifier for fibril-local variables instead of '__thread'. Since it is decalred in fibril.h, it need not begin with '__'. |
|
/trunk/uspace/lib/libc/arch/arm32/include/tls.h /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/vfs/vfs_file.c
|
4525 |
5552 d 10 h |
svoboda |
/trunk/uspace/srv/fb/ |
Fix coordinate issues in EGA fb. |
|
/trunk/uspace/srv/fb/ega.c
|
4524 |
5552 d 12 h |
decky |
/trunk/uspace/srv/devmap/ |
get back fine-grained locking (which was removed in commit 4458), but this time with proper fibril synchronization |
|
/trunk/uspace/srv/devmap/devmap.c
|
4520 |
5552 d 13 h |
jermar |
/trunk/uspace/srv/vfs/ |
Synchronize access to pending_req. |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|
4519 |
5552 d 17 h |
decky |
/trunk/uspace/srv/vfs/ |
remove yet another serialization which is not needed anymore |
|
/trunk/uspace/srv/vfs/vfs_lookup.c
|
4518 |
5553 d 9 h |
jermar |
/trunk/uspace/srv/vfs/ |
Make VFS use the new synchronization for fibrils. Now there should be no (or
only secondary) fibril serialization. Code reorganized not to hold the phone
lock during async_wait_for() in most cases. Tested on ia32. On amd64, VFS
crashes, but I think it is an unrelated problem. |
|
/trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_file.c /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
|
4509 |
5554 d 18 h |
decky |
/trunk/uspace/ |
rename libadt -> adt |
|
/trunk/uspace/lib/libc/generic/adt /trunk/uspace/lib/libc/include/adt
/trunk/uspace/lib/libc/generic/libadt /trunk/uspace/lib/libc/include/libadt
/trunk/uspace/app/trace/ipcp.c /trunk/uspace/app/trace/proto.c /trunk/uspace/app/trace/proto.h /trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libblock/libblock.h /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/adt/hash_table.c /trunk/uspace/lib/libc/generic/adt/list.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/adt/hash_table.h /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/lib/libc/include/ipc/devmap.h /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/fs/fat/fat_idx.c /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/genarch/gsp.c /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/kbd/include/gsp.h /trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/service.c /trunk/uspace/srv/ns/task.c /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
|
4507 |
5556 d 8 h |
svoboda |
/trunk/ |
Primitive ATA disk driver that you can use in Qemu (read only). |
|
/trunk/uspace/srv/bd/ata_bd /trunk/uspace/srv/bd/ata_bd/Makefile /trunk/uspace/srv/bd/ata_bd/ata_bd.c
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/ia32/Makefile.inc /trunk/uspace/Makefile
|
4504 |
5557 d 19 h |
decky |
/trunk/ |
group fhc and obio under a common directory |
|
/trunk/uspace/srv/cir /trunk/uspace/srv/cir/fhc /trunk/uspace/srv/cir/obio
/trunk/uspace/srv/fhc /trunk/uspace/srv/obio
/trunk/boot/arch/sparc64/loader/Makefile /trunk/uspace/Makefile /trunk/uspace/srv/cir/fhc/Makefile /trunk/uspace/srv/cir/obio/Makefile
|
4497 |
5558 d 14 h |
decky |
/trunk/uspace/srv/console/ |
no not disturb console initialization by connections |
|
/trunk/uspace/srv/console/console.c
|
4496 |
5558 d 15 h |
decky |
/trunk/uspace/ |
be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files |
|
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/mem.c /trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/ns.c
|
4494 |
5558 d 19 h |
decky |
/trunk/uspace/srv/console/ |
keep the kernel console intact as long as it is possible (to be able to see any out-of-order errors) |
|
/trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c
|
4493 |
5558 d 20 h |
decky |
/trunk/uspace/srv/console/ |
add forgotten answer in case of an error |
|
/trunk/uspace/srv/console/console.c
|
4492 |
5558 d 22 h |
jermar |
/trunk/uspace/ |
inode_t -> fdi_node_t |
|
/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
|
4491 |
5559 d 9 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 |
5559 d 13 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 |
5559 d 13 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 |
5559 d 13 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 |
5559 d 13 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 |
5559 d 13 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 |
5559 d 13 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 |
5559 d 13 h |
decky |
/trunk/uspace/srv/devmap/ |
remove futex (devmap is not multithreaded), use fibril serialization instead |
|
/trunk/uspace/srv/devmap/devmap.c
|
4457 |
5559 d 13 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 |
5559 d 13 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
|