|
|
@8d049ee0
|
16 years |
jakub |
Support multiple TMPFS instances.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@594303b
|
16 years |
jakub |
Support mount options.
Let tmpfs decide whether to start empty or …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eb2e96
|
16 years |
jirik.svoboda |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7afb4a5
|
16 years |
jirik.svoboda |
Nuke strchr() and strrchr().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92fd52d7
|
16 years |
jirik.svoboda |
Nuke strcpy() and strcmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@02fd705
|
16 years |
martin |
make sure the unions are packed (fixes FAT on arm32)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a32c9bb
|
16 years |
martin |
blocking connection to VFS
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fcd7053
|
16 years |
martin |
cleanup configuration
code cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4863e50b
|
17 years |
jakub |
Nuke VFS operations structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a0367f
|
17 years |
martin |
configuration system overhaul (requires newt)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@699743c
|
17 years |
jakub |
Set a loop control variable properly when growing the FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32b65a
|
17 years |
jakub |
Add the ability to grow a FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f0c9aff
|
17 years |
jirik.svoboda |
Clean .o files in individual makefiles.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1baec4b
|
17 years |
jakub |
Create "." and ".." entries on FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57e76cb
|
17 years |
jakub |
The number of the first sector in the FAT node structure must be in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abd36f7
|
17 years |
jakub |
Do not clear the last byte written to a FAT file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a31c1ccf
|
17 years |
jakub |
Implement fat_unlink().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1b625b
|
17 years |
jakub |
Fix the bogus assert().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83d9712
|
17 years |
jakub |
Propagate VFS_DESTROY to fat_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14c331a
|
17 years |
jakub |
Consider "prd" and "prd." to be the same FAT dentry names.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49df572
|
17 years |
jakub |
When creating a new directory node, allocate the first cluster for it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e478b2a4
|
17 years |
jakub |
fat_alloc_clusters() fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5da446
|
17 years |
jakub |
When syncing a FAT node, do not skip attributes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fdd6bb
|
17 years |
jakub |
Add somewhat functional fat_link().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0013b9ce
|
17 years |
jakub |
libfs operation link() should return standard error code instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50e5b25
|
17 years |
jakub |
Add implementation of fat_destroy_node() and fat_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48eb7a14
|
17 years |
jakub |
Add implementation of fat_idx_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6571b78
|
17 years |
jakub |
Implementation of fat_create_node().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d8cdb1
|
17 years |
jakub |
Avoid unnecessary block reads in block_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adb5fe3
|
17 years |
jakub |
libfs create operation should take the device handle as argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a3d5f0
|
17 years |
jakub |
Move common code to dedicated functions so that it can be easily reused.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac49f5d1
|
17 years |
jakub |
VFS_WRITE has two return arguments on success.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@913a821c
|
17 years |
jakub |
Finish implementation of fat_truncate() and fix several warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c8d267
|
17 years |
jakub |
Simplify the fat_cluster_walk() interface.
Introduce the bn_t type for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24d6efc
|
17 years |
jirik.svoboda |
Always include Makefile.config instead of passing ARCH and COMPILER to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9d20ea8
|
17 years |
jakub |
Need to initialize the lcl variable via a call to fat_cluster_walk().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f1c0b4
|
17 years |
jakub |
Extend _fat_blcks_get() to fat_cluster_walk(). Use fat_cluster_walk() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8334a427
|
17 years |
jakub |
More fat_truncate() bits.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c472aff
|
17 years |
jakub |
Enable fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c71a1f
|
17 years |
jakub |
Start implementing fat_truncate().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6132b59
|
17 years |
jakub |
Do not use/pass the superfluous block size argument to block_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1ba5d6
|
17 years |
jakub |
Add block_cache_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c243b4
|
17 years |
jakub |
block_read() should return the real error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6284978
|
17 years |
jakub |
Separate the block_init() phase from reading of the boot block.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d861950
|
17 years |
jakub |
move comment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d974d8
|
17 years |
jakub |
fat_read() needs to stop reading beyond the EOF.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7858bc5f
|
17 years |
jakub |
Setup communication parameters with the block device in block_init(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0247bac
|
17 years |
jakub |
Directory size is always a multiple of BPS. Fix computation of number …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc840d9
|
17 years |
jakub |
Move libfs_blockread(), block_get() and block_put() to libblock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@beb17734
|
17 years |
jakub |
Implementation of fat_node_sync().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f95a80
|
17 years |
jakub |
Add comments to functions in fat_fat.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ec862d
|
17 years |
jakub |
Add FAT allocation futex.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb682eb
|
17 years |
jakub |
Pass the buffer holding the boot sector to the internal functions so …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e17d986
|
17 years |
jakub |
Implementation of fat_append_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a429bfb
|
17 years |
jakub |
Make sure that data are converted from / to the native endianity when …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23b56ca
|
17 years |
jakub |
Implementation of fat_mark_cluster().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1178d0
|
17 years |
jakub |
Implement fat_alloc_shadow_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f57d0e
|
17 years |
jakub |
Move functionality related to manipulatings file allocation tables to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@033ef7d3
|
17 years |
jakub |
Move functionality related to FAT dentries to fat_dentry.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ebaff9
|
17 years |
jakub |
Prepare to break fat_ops.c into multiple files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b0bc1f
|
17 years |
jakub |
Implementation of fat_alloc_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4b7187
|
17 years |
jakub |
Implementation of fat_fill_gap().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f2dfd1
|
17 years |
jakub |
More complete prototype of fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d32152
|
17 years |
jakub |
Mark progress in fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c947dda
|
17 years |
jakub |
Dummy fat_write().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ab597d
|
17 years |
jakub |
Add reference to the mounted FS root.
This makes it possible to keep …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddd1219
|
17 years |
jakub |
Support for readdir() on FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2115311
|
17 years |
jakub |
Determine the size of a directory node by walking the FAT and counting …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6808614
|
17 years |
jakub |
fat_read() should expect IPC_M_DATA_READ instead of IPC_M_DATA_WRITE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c06dbf9
|
17 years |
jakub |
When removing a FAT node from the ffn list, use the correct pointer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79d031b
|
17 years |
jakub |
More complete fat_read().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4bf40f6
|
17 years |
jakub |
Dummy implementation of fat_read().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ab1023
|
17 years |
jakub |
FAT dentry type used for subdirectories doesn't store the directory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2e9c47
|
17 years |
jakub |
Several fixes for the FAT file system:
- do not copy padding during …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a35204a
|
17 years |
jakub |
First attempt at delivering the FAT16 read-only support.
Needless to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a61d1fc3
|
17 years |
jakub |
Pass block size to block_get() in the last argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61bc901
|
17 years |
jakub |
Add a comment to libfs_blockread() and change type from size_t to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2c1fd5
|
17 years |
jakub |
Move tmpfs_blockread() to libfs and rename it to libfs_blockread(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f429c0
|
17 years |
jakub |
Let tmpfs_blockread() use async_req_2_1() instead of ipc_call_sync_2_1().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ade06b4
|
17 years |
jakub |
Avoid magic numbers in tmpfs_dump.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@515a0102
|
17 years |
jirik.svoboda |
Do not disassemble needlessly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@689f036
|
17 years |
jakub |
Initialize in-core FAT root directory node during mount.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7b6753
|
17 years |
jakub |
Put a frequently used construct into a function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cde485d
|
17 years |
jakub |
Initialize global FAT IDX structures when the FAT server starts and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f49b0ea
|
17 years |
jakub |
Split the 'mount another filesystem here' and 'you are being mounted …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40257f5
|
17 years |
jakub |
Evict the code which loads the TMPFS file system from a file system …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f880ee8
|
17 years |
jakub |
Return value argument to ipc_call_sync_X_Y() may not be int or it will …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4b4b47
|
17 years |
martin |
initialize tmpfs from RAM disk
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64b67c3
|
17 years |
jakub |
Make VFS_MOUNT call even when mounting the root file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e811bde
|
17 years |
jakub |
Add synchronization to fat_match().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@add5835
|
17 years |
jakub |
Add locks to FAT index structures, FAT in-core node structures. Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78a1b7b
|
17 years |
jakub |
Introduce a futex protecting the up_hash and ui_hash.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4452366
|
17 years |
jakub |
Introduce futex for protecting the list of unused structures in FAT server.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34b3ce3
|
17 years |
jakub |
Implement fat_node_put() and remove the node from the free node list …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c4bbcde
|
17 years |
jakub |
More bits of fat_node_get().
Still needs to do some locking.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4573a79
|
17 years |
jakub |
New first bits of fat_node_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4797132
|
17 years |
jakub |
Need a way to locate the FAT index structure by VFS index. Also fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a5ccfb3
|
17 years |
jakub |
Add hash table for used fat_idx_t structures and implement fat_idx_map().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c1ad7ac
|
17 years |
jakub |
merge vs. coalesce
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a324099
|
17 years |
jakub |
Code for de/allocation of VFS indices for FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|