|
|
@ae7d03c
|
6 years |
jiri |
Selected ccheck-proposed comment fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18b6a88
|
6 years |
jiri |
More ccheck fixes, sometimes with manual intervention.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d1d143
|
6 years |
jakub |
fat12: do not convert from little-endian twice
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35b458
|
6 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b20da0
|
6 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, in certain file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7fd2a0
|
6 years |
zarevucky.jiri |
Use errno_t in all uspace and kernel code.
Change type of every …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cde999a
|
6 years |
zarevucky.jiri |
Fix comments to stop referring to error codes as negative.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38d150e
|
7 years |
jiri |
Prefer to get memory allocation functions through the standard stdlib …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db8626d
|
7 years |
martin |
suppress compiler warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10092c9a
|
11 years |
martin |
fix compiler warnings (possible uninitialized value)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b56dc7
|
11 years |
martin |
fix compiler warnings (possible uninitialized value)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f73b291
|
12 years |
martin |
libblock.{c|h} → block.{c|h}
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc6b148
|
13 years |
martin |
cstyle
(no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ece4247
|
13 years |
jakub |
Cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4bf6895
|
13 years |
jakub |
Use 32-bit max number of clusters.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d95f02
|
13 years |
jakub |
Cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@375ab5e
|
13 years |
jakub |
Merge from lp:~romanenko-oleg/helenos/fat.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d963742
|
13 years |
romanenko.oleg |
FAT: replace uint16_t with uint32_t in fat_cluster_walk and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@efa8ed93
|
13 years |
romanenko.oleg |
Minor fix
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@616e73c
|
13 years |
romanenko.oleg |
Minor fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4bbca8
|
13 years |
romanenko.oleg |
Add copyrights
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15f3c3f
|
13 years |
jiri |
Rename devmap to loc, devfs to locfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17fa0280
|
13 years |
romanenko.oleg |
Fix fat_set_cluster_fat32. Now it is possible to do write on FAT32 fs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b9060a83
|
13 years |
romanenko.oleg |
Fix bug in fat_get_cluster_fat12 and fat_set_cluster_fat12:
offset …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0182e5cc
|
13 years |
romanenko.oleg |
1. Rewrite and clean fat_get_cluster_fat12
2. Support MIPS and other …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88a27f1
|
13 years |
romanenko.oleg |
1. Split fat_get_cluster into 3 methods: fat_get_cluster_fat[12,16,32] …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a8c14aa
|
13 years |
romanenko.oleg |
Initial support for writing on FAT32. fat_get_cluster correctly store …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@979c313a
|
13 years |
romanenko.oleg |
Fix bug with cluster at sector boundary (FAT12 only).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5db2ae
|
13 years |
romanenko.oleg |
1. Add macros for determining first cluster of root directory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a51029f
|
13 years |
romanenko.oleg |
Implemented readonly access to FAT32 file system
Support reading root …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa2ea13
|
13 years |
romanenko.oleg |
Breaking long lines at 80-character boundary
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@875edff6
|
13 years |
romanenko.oleg |
It is possible to mount FAT32 file system.
Changes:
1. 32bit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3dbe4ca2
|
13 years |
romanenko.oleg |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7bbf029
|
13 years |
martin |
improve stack traces and assertions
reduce header files pollution
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d260a95
|
13 years |
romanenko.oleg |
Improve code style for my changes. Adding macros for determining type …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97bc3ee
|
13 years |
romanenko.oleg |
Full support for FAT12 file system. Correct creating directories and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc35e98
|
13 years |
romanenko.oleg |
Basic support for FAT12 file system. With many limitations of course.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@991f645
|
14 years |
jakub |
Rename dev_handle_t to devmap_handle_t and make it explicitly clear …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db4ec8d
|
14 years |
jakub |
Fix fat_append_clusters() regression introduced in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4637c72
|
14 years |
jakub |
Instead of checking whether the first sector in a cluster is not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dba4a23
|
14 years |
jakub |
Speed up sequential I/O by caching the "current" cluster in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6da81e0
|
14 years |
jakub |
Modify _fat_block_get() to return the "current" cluster number to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a23d60
|
14 years |
jakub |
Use convenience macros for accessing FAT boot sector in fat_ops.c as well.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed6cf34b
|
14 years |
jakub |
Use convenience macros for accessing FAT boot sector members to save …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@746f623
|
14 years |
jakub |
Turn fat_block_get() into a real function and make it aware of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@377cce8
|
14 years |
jakub |
Start to cache the FAT node's last cluster in fat_node_t and change …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed903174
|
14 years |
martin |
implement support for 64bit file offsets
* the libc API is a small …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5178ee2
|
14 years |
jakub |
Harden _fat_get_block() against attempts to read a zero-length file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f93cdbe
|
14 years |
jakub |
Support for FAT16 file systems with 65536 or more sectors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7efc517
|
14 years |
jakub |
Move fat_sanity_check() to fat_fat.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@963462af
|
14 years |
jakub |
Merge FAT server fix.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50f9c3a
|
14 years |
jakub |
Be more careful when testing whether the considered cluster really exists.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@711e1f32
|
14 years |
jiri |
Do some sanity checks when mounting a fat file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e4cada
|
15 years |
martin |
rename fibril_sync.[ch] to fibril_synch.[ch]
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a8faba
|
15 years |
jakub |
Be more robust towards a discrepancy between the FAT size and total …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f636b6
|
15 years |
jakub |
Do not abort in fat_alloc_clusters() when an I/O error is detected.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cca29e3c
|
15 years |
jakub |
Make fat_append_clusters(), fat_chop_clusters(), fat_free_clusters(), …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc87ad11
|
15 years |
jakub |
Make fat_get_cluster() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e402382
|
15 years |
jakub |
Make fat_cluster_walk() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@684b655
|
15 years |
jakub |
Make _fat_block_get() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c91f2d1b
|
15 years |
jakub |
Enable the block_get() and block_put() APIs to return error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f116e7
|
15 years |
jakub |
Introduce fat_zero_cluster().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ebe721
|
15 years |
jakub |
Use fibril synchronization in FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c20aa06
|
15 years |
martin |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57e76cb
|
16 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
|
16 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
|
|
|
@d1b625b
|
16 years |
jakub |
Fix the bogus assert().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e478b2a4
|
16 years |
jakub |
fat_alloc_clusters() fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d8cdb1
|
16 years |
jakub |
Avoid unnecessary block reads in block_get().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac49f5d1
|
16 years |
jakub |
VFS_WRITE has two return arguments on success.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@913a821c
|
16 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
|
16 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
|
|
|
@9d20ea8
|
16 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
|
16 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
|
|
|
@6132b59
|
16 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
|
|
|
@fc840d9
|
16 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
|
|
|
@9f95a80
|
16 years |
jakub |
Add comments to functions in fat_fat.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ec862d
|
16 years |
jakub |
Add FAT allocation futex.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb682eb
|
16 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
|
16 years |
jakub |
Implementation of fat_append_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a429bfb
|
16 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
|
16 years |
jakub |
Implementation of fat_mark_cluster().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1178d0
|
16 years |
jakub |
Implement fat_alloc_shadow_clusters().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f57d0e
|
16 years |
jakub |
Move functionality related to manipulatings file allocation tables to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ebaff9
|
16 years |
jakub |
Prepare to break fat_ops.c into multiple files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|