diff options
author | Greg Pearson <greg.pearson@hpe.com> | 2016-02-09 11:58:32 -0700 |
---|---|---|
committer | Greg Pearson <greg.pearson@hpe.com> | 2016-02-09 11:58:32 -0700 |
commit | 220ab76b5d1a95ffced0e48023abdea926ae6bfc (patch) | |
tree | a5f026a7099a5ab4870fd0bc3f264a40c2511196 | |
parent | 27d76e442d96139f9038d83d23275877fa3d3c9b (diff) | |
download | fusepy-220ab76b5d1a95ffced0e48023abdea926ae6bfc.tar.gz |
Add support for arm64 architecture
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | fuse.py | 17 |
2 files changed, 18 insertions, 1 deletions
@@ -28,7 +28,7 @@ To get started download_ fusepy or just browse the source_. fusepy requires FUSE 2.6 (or later) and runs on: -- Linux (i386, x86_64, PPC) +- Linux (i386, x86_64, PPC, arm64) - Mac OS X (Intel, PowerPC) - FreeBSD (i386, amd64) @@ -171,6 +171,23 @@ elif _system == 'Linux': ('st_atimespec', c_timespec), ('st_mtimespec', c_timespec), ('st_ctimespec', c_timespec)] + elif _machine == 'aarch64': + c_stat._fields_ = [ + ('st_dev', c_dev_t), + ('st_ino', c_ulong), + ('st_mode', c_mode_t), + ('st_nlink', c_uint), + ('st_uid', c_uid_t), + ('st_gid', c_gid_t), + ('st_rdev', c_dev_t), + ('__pad1', c_ulong), + ('st_size', c_off_t), + ('st_blksize', c_int), + ('__pad2', c_int), + ('st_blocks', c_long), + ('st_atimespec', c_timespec), + ('st_mtimespec', c_timespec), + ('st_ctimespec', c_timespec)] else: # i686, use as fallback for everything else c_stat._fields_ = [ |