HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
/
branches
/
sparc
/
uspace
/
srv
/
fs
/
fat
/
fat_fat.c
– Rev 3665
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
3665
5824 d 3 h
rimsky
/branches/sparc/
Merged latest trunk changes into the sparc brach.
/branches/sparc/boot/arch/ia64/loader/gefi/HelenOS/mkimage.c
/branches/sparc/kernel/arch/ia64/include/drivers/kbd.h
/branches/sparc/uspace/app/tester/loop
/branches/sparc/uspace/dist/readme
/branches/sparc/uspace/lib/libc/arch/ia64/include/ddi.h
/branches/sparc/uspace/lib/libc/arch/ia64/src/ddi.c
/branches/sparc/uspace/srv/kbd/arch/ia64/include/lkbd.h
/branches/sparc/uspace/srv/kbd/arch/ia64/include/scanc.h
/branches/sparc/uspace/srv/kbd/arch/ia64/src/lkbd.c
/branches/sparc/uspace/srv/kbd/arch/ia64/src/mouse.c
/branches/sparc/uspace/srv/kbd/arch/ia64/src/scanc.c
/branches/sparc/boot/arch/ia64/loader/gefi/HelenOS/hello.c
/branches/sparc/boot/arch/ia64/loader/main.c
/branches/sparc/kernel/Makefile
/branches/sparc/kernel/arch/ia32/src/asm.S
/branches/sparc/kernel/arch/ia64/include/bootinfo.h
/branches/sparc/kernel/arch/ia64/include/cpu.h
/branches/sparc/kernel/arch/ia64/include/interrupt.h
/branches/sparc/kernel/arch/ia64/include/mm/page.h
/branches/sparc/kernel/arch/ia64/include/mm/tlb.h
/branches/sparc/kernel/arch/ia64/include/proc/task.h
/branches/sparc/kernel/arch/ia64/src/ddi/ddi.c
/branches/sparc/kernel/arch/ia64/src/drivers/ega.c
/branches/sparc/kernel/arch/ia64/src/ia64.c
/branches/sparc/kernel/arch/ia64/src/interrupt.c
/branches/sparc/kernel/arch/ia64/src/mm/frame.c
/branches/sparc/kernel/arch/ia64/src/mm/tlb.c
/branches/sparc/kernel/arch/ia64/src/ski/ski.c
/branches/sparc/kernel/arch/ia64/src/smp/smp.c
/branches/sparc/kernel/arch/sparc64/include/drivers/fhc.h
/branches/sparc/kernel/arch/sparc64/include/drivers/pci.h
/branches/sparc/kernel/arch/sparc64/src/console.c
/branches/sparc/kernel/arch/sparc64/src/drivers/fhc.c
/branches/sparc/kernel/arch/sparc64/src/drivers/kbd.c
/branches/sparc/kernel/arch/sparc64/src/drivers/pci.c
/branches/sparc/kernel/arch/sparc64/src/trap/interrupt.c
/branches/sparc/kernel/genarch/include/kbd/ns16550.h
/branches/sparc/kernel/genarch/include/kbd/z8530.h
/branches/sparc/kernel/genarch/include/ofw/ofw_tree.h
/branches/sparc/kernel/genarch/src/kbd/i8042.c
/branches/sparc/kernel/genarch/src/kbd/ns16550.c
/branches/sparc/kernel/genarch/src/kbd/z8530.c
/branches/sparc/kernel/genarch/src/ofw/ebus.c
/branches/sparc/kernel/genarch/src/ofw/fhc.c
/branches/sparc/kernel/genarch/src/ofw/pci.c
/branches/sparc/kernel/generic/include/adt/bitmap.h
/branches/sparc/kernel/generic/include/byteorder.h
/branches/sparc/kernel/generic/include/ddi/irq.h
/branches/sparc/kernel/generic/include/ipc/kbox.h
/branches/sparc/kernel/generic/include/proc/task.h
/branches/sparc/kernel/generic/include/udebug/udebug.h
/branches/sparc/kernel/generic/src/ddi/irq.c
/branches/sparc/kernel/generic/src/interrupt/interrupt.c
/branches/sparc/kernel/generic/src/ipc/irq.c
/branches/sparc/kernel/generic/src/ipc/kbox.c
/branches/sparc/kernel/generic/src/ipc/sysipc.c
/branches/sparc/kernel/generic/src/mm/tlb.c
/branches/sparc/kernel/generic/src/proc/task.c
/branches/sparc/kernel/generic/src/proc/thread.c
/branches/sparc/kernel/generic/src/synch/futex.c
/branches/sparc/kernel/generic/src/syscall/syscall.c
/branches/sparc/kernel/generic/src/time/clock.c
/branches/sparc/kernel/generic/src/udebug/udebug.c
/branches/sparc/kernel/generic/src/udebug/udebug_ipc.c
/branches/sparc/kernel/generic/src/udebug/udebug_ops.c
/branches/sparc/kernel/kernel.config
/branches/sparc/usiii.simics
/branches/sparc/uspace/app/bdsh/cmds/modules/cp/cp.c
/branches/sparc/uspace/app/tester/Makefile
/branches/sparc/uspace/app/tester/tester.c
/branches/sparc/uspace/app/tester/tester.h
/branches/sparc/uspace/app/trace/trace.c
/branches/sparc/uspace/lib/libc/arch/ia64/Makefile.inc
/branches/sparc/uspace/lib/libc/include/ctype.h
/branches/sparc/uspace/lib/libc/include/errno.h
/branches/sparc/uspace/lib/libc/include/ipc/loader.h
/branches/sparc/uspace/lib/libfs/libfs.c
/branches/sparc/uspace/lib/libfs/libfs.h
/branches/sparc/uspace/srv/fb/Makefile
/branches/sparc/uspace/srv/fb/ega.c
/branches/sparc/uspace/srv/fs/fat/fat.c
/branches/sparc/uspace/srv/fs/fat/fat.h
/branches/sparc/uspace/srv/fs/fat/fat_dentry.c
/branches/sparc/uspace/srv/fs/fat/fat_dentry.h
/branches/sparc/uspace/srv/fs/fat/fat_fat.c
/branches/sparc/uspace/srv/fs/fat/fat_idx.c
/branches/sparc/uspace/srv/fs/fat/fat_ops.c
/branches/sparc/uspace/srv/fs/tmpfs/tmpfs_dump.c
/branches/sparc/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/sparc/uspace/srv/kbd/Makefile
/branches/sparc/uspace/srv/kbd/arch/ia64/src/kbd.c
/branches/sparc/uspace/srv/vfs/vfs.h
/branches/sparc/uspace/srv/vfs/vfs_lookup.c
/branches/sparc/uspace/srv/vfs/vfs_node.c
/branches/sparc/uspace/srv/vfs/vfs_ops.c
3602
5835 d 6 h
rimsky
/branches/sparc/
Merge latest trunk changes into the sparc branch.
/branches/sparc/kernel/arch/ppc32/src/mm/tlb.c
/branches/sparc/kernel/generic/include/udebug/udebug.h
/branches/sparc/kernel/generic/src/udebug/udebug.c
/branches/sparc/kernel/generic/src/udebug/udebug_ops.c
/branches/sparc/uspace/lib/libblock/libblock.c
/branches/sparc/uspace/lib/libblock/libblock.h
/branches/sparc/uspace/srv/console/console.c
/branches/sparc/uspace/srv/fs/fat/fat_fat.c
/branches/sparc/uspace/srv/fs/fat/fat_fat.h
/branches/sparc/uspace/srv/fs/fat/fat_ops.c
3593
5839 d 3 h
rimsky
/branches/sparc/
Merged latest trunk changes into sparc branch.
/branches/sparc/kernel/arch/ia64/src/smp
/branches/sparc/uspace/lib/libblock
/branches/sparc/uspace/srv/fs/fat/fat_dentry.c
/branches/sparc/uspace/srv/fs/fat/fat_dentry.h
/branches/sparc/uspace/srv/fs/fat/fat_fat.c
/branches/sparc/uspace/srv/fs/fat/fat_fat.h
/branches/sparc/tools/mkfat.sh
/branches/sparc/boot/arch/amd64/Makefile.inc
/branches/sparc/boot/arch/arm32/loader/Makefile
/branches/sparc/boot/arch/ia32/Makefile.inc
/branches/sparc/boot/arch/ia64/loader/Makefile
/branches/sparc/boot/arch/ia64/loader/asm.S
/branches/sparc/boot/arch/ia64/loader/boot.S
/branches/sparc/boot/arch/ia64/loader/gefi/HelenOS/Makefile
/branches/sparc/boot/arch/ia64/loader/gefi/HelenOS/hello.c
/branches/sparc/boot/arch/ia64/loader/gefi/apps/Makefile
/branches/sparc/boot/arch/ia64/loader/main.c
/branches/sparc/boot/arch/ia64/loader/main.h
/branches/sparc/boot/arch/mips32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/Makefile
/branches/sparc/kernel/arch/ia64/Makefile.inc
/branches/sparc/kernel/arch/ia64/include/asm.h
/branches/sparc/kernel/arch/ia64/include/atomic.h
/branches/sparc/kernel/arch/ia64/include/bootinfo.h
/branches/sparc/kernel/arch/ia64/include/cpu.h
/branches/sparc/kernel/arch/ia64/include/drivers/it.h
/branches/sparc/kernel/arch/ia64/include/mm/page.h
/branches/sparc/kernel/arch/ia64/src/drivers/it.c
/branches/sparc/kernel/arch/ia64/src/ia64.c
/branches/sparc/kernel/arch/ia64/src/mm/frame.c
/branches/sparc/kernel/arch/ia64/src/mm/page.c
/branches/sparc/kernel/arch/ia64/src/start.S
/branches/sparc/kernel/arch/mips32/src/mm/tlb.c
/branches/sparc/kernel/arch/ppc32/src/asm.S
/branches/sparc/kernel/arch/ppc32/src/mm/tlb.c
/branches/sparc/kernel/arch/ppc64/src/mm/page.c
/branches/sparc/kernel/arch/sparc64/include/asm.h
/branches/sparc/kernel/arch/sparc64/include/drivers/ns16550.h
/branches/sparc/kernel/arch/sparc64/include/types.h
/branches/sparc/kernel/arch/sparc64/src/drivers/kbd.c
/branches/sparc/kernel/genarch/include/kbd/ns16550.h
/branches/sparc/kernel/genarch/src/kbd/key.c
/branches/sparc/kernel/genarch/src/kbd/ns16550.c
/branches/sparc/kernel/generic/include/proc/program.h
/branches/sparc/kernel/generic/include/proc/task.h
/branches/sparc/kernel/generic/include/proc/thread.h
/branches/sparc/kernel/generic/include/stdarg.h
/branches/sparc/kernel/generic/include/synch/spinlock.h
/branches/sparc/kernel/generic/src/ipc/kbox.c
/branches/sparc/kernel/generic/src/main/kinit.c
/branches/sparc/kernel/generic/src/main/main.c
/branches/sparc/kernel/generic/src/mm/tlb.c
/branches/sparc/kernel/generic/src/proc/program.c
/branches/sparc/kernel/generic/src/proc/task.c
/branches/sparc/kernel/generic/src/proc/thread.c
/branches/sparc/kernel/kernel.config
/branches/sparc/tools/mkfat.py
/branches/sparc/tools/mktmpfs.py
/branches/sparc/usiii.simics
/branches/sparc/uspace/Makefile
/branches/sparc/uspace/app/bdsh/cmds/modules/cat/cat.c
/branches/sparc/uspace/app/klog/Makefile
/branches/sparc/uspace/app/tester/Makefile
/branches/sparc/uspace/app/tetris/Makefile
/branches/sparc/uspace/app/trace/Makefile
/branches/sparc/uspace/app/trace/trace.c
/branches/sparc/uspace/lib/libc/Makefile
/branches/sparc/uspace/lib/libc/arch/ppc32/src/entry.s
/branches/sparc/uspace/lib/libc/generic/loader.c
/branches/sparc/uspace/lib/libc/generic/task.c
/branches/sparc/uspace/lib/libc/generic/thread.c
/branches/sparc/uspace/lib/libc/include/align.h
/branches/sparc/uspace/lib/libc/include/byteorder.h
/branches/sparc/uspace/lib/libc/include/errno.h
/branches/sparc/uspace/lib/libc/include/loader/loader.h
/branches/sparc/uspace/lib/libfs/Makefile
/branches/sparc/uspace/lib/libfs/libfs.c
/branches/sparc/uspace/lib/libfs/libfs.h
/branches/sparc/uspace/lib/softfloat/Makefile
/branches/sparc/uspace/lib/softint/Makefile
/branches/sparc/uspace/srv/console/Makefile
/branches/sparc/uspace/srv/devmap/Makefile
/branches/sparc/uspace/srv/fb/Makefile
/branches/sparc/uspace/srv/fs/fat/Makefile
/branches/sparc/uspace/srv/fs/fat/fat.c
/branches/sparc/uspace/srv/fs/fat/fat.h
/branches/sparc/uspace/srv/fs/fat/fat_idx.c
/branches/sparc/uspace/srv/fs/fat/fat_ops.c
/branches/sparc/uspace/srv/fs/tmpfs/Makefile
/branches/sparc/uspace/srv/fs/tmpfs/tmpfs_dump.c
/branches/sparc/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/sparc/uspace/srv/kbd/Makefile
/branches/sparc/uspace/srv/loader/Makefile
/branches/sparc/uspace/srv/loader/arch/ppc32/ppc32.s
/branches/sparc/uspace/srv/loader/main.c
/branches/sparc/uspace/srv/ns/Makefile
/branches/sparc/uspace/srv/pci/Makefile
/branches/sparc/uspace/srv/rd/Makefile
/branches/sparc/uspace/srv/vfs/Makefile
3573
5847 d 7 h
jermar
/trunk/uspace/srv/fs/fat/
VFS_WRITE has two return arguments on success.
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3572
5847 d 9 h
jermar
/trunk/uspace/srv/fs/fat/
Finish implementation of fat_truncate() and fix several warnings.
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3571
5847 d 12 h
jermar
/trunk/uspace/
Simplify the fat_cluster_walk() interface.
Introduce the bn_t type for holding block offsets.
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
3551
5851 d 3 h
jermar
/trunk/uspace/srv/fs/fat/
Need to initialize the lcl variable via a call to fat_cluster_walk().
/trunk/uspace/srv/fs/fat/fat_fat.c
3550
5851 d 4 h
jermar
/trunk/uspace/srv/fs/fat/
Extend _fat_blcks_get() to fat_cluster_walk(). Use fat_cluster_walk() to
implement fat_clusters_get() and _fat_block_get().
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3542
5854 d 8 h
jermar
/trunk/uspace/
Do not use/pass the superfluous block size argument to block_get().
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_fat.c
3521
5860 d 9 h
jermar
/trunk/uspace/
Move libfs_blockread(), block_get() and block_put() to libblock.
/trunk/uspace/lib/libblock
/trunk/uspace/lib/libblock/Makefile
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/Makefile
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/Makefile
/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/Makefile
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3518
5860 d 12 h
jermar
/trunk/uspace/srv/fs/fat/
Add comments to functions in fat_fat.c.
/trunk/uspace/srv/fs/fat/fat_fat.c
3517
5860 d 13 h
jermar
/trunk/uspace/srv/fs/fat/
Add FAT allocation futex.
/trunk/uspace/srv/fs/fat/fat_fat.c
3516
5860 d 14 h
jermar
/trunk/uspace/srv/fs/fat/
Pass the buffer holding the boot sector to the internal functions so that it
doesn't have to be block_get()'ed in each function. The idea is that the boot
block should be read by the top-level functions in fat_ops.c and passed down the
call chain.
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3513
5861 d 6 h
jermar
/trunk/uspace/srv/fs/fat/
Implementation of fat_append_clusters().
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3512
5861 d 8 h
jermar
/trunk/uspace/srv/fs/fat/
Make sure that data are converted from / to the native endianity when writing them
out to / reading them in from the file system.
/trunk/uspace/srv/fs/fat/fat_fat.c
3510
5861 d 9 h
jermar
/trunk/uspace/srv/fs/fat/
Implementation of fat_mark_cluster().
/trunk/uspace/srv/fs/fat/fat_fat.c
3507
5861 d 11 h
jermar
/trunk/uspace/srv/fs/fat/
Implement fat_alloc_shadow_clusters().
/trunk/uspace/srv/fs/fat/fat_fat.c
3506
5861 d 12 h
jermar
/trunk/uspace/srv/fs/fat/
Move functionality related to manipulatings file allocation tables to fat_fat.c.
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3504
5861 d 14 h
jermar
/trunk/uspace/srv/fs/fat/
Prepare to break fat_ops.c into multiple files.
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/Makefile