|
|
1.1 root 1: /*
2: * UAE - The Un*x Amiga Emulator
3: *
4: * Unix file system handler for AmigaDOS
5: *
6: * Copyright 1997 Bernd Schmidt
7: */
8:
9: struct hardfiledata {
10: unsigned long size;
11: int nrcyls;
12: int secspertrack;
13: int surfaces;
14: int reservedblocks;
1.1.1.3 root 15: int blocksize;
1.1 root 16: FILE *fd;
17: };
18:
1.1.1.2 root 19: struct uaedev_mount_info;
20:
1.1 root 21: extern struct hardfiledata *get_hardfile_data (int nr);
1.1.1.5 ! root 22:
! 23: extern int nr_units (struct uaedev_mount_info *mountinfo);
! 24: extern int is_hardfile (struct uaedev_mount_info *mountinfo, int unit_no);
! 25:
! 26: extern char *set_filesys_unit (struct uaedev_mount_info *mountinfo, int,
! 27: const char *devname, const char *volname, const char *rootdir,
! 28: int readonly, int secs, int surfaces, int reserved,
! 29: int blocksize, int bootpri);
! 30: extern char *add_filesys_unit (struct uaedev_mount_info *mountinfo,
! 31: const char *devname, const char *volname, const char *rootdir,
! 32: int readonly, int secs, int surfaces, int reserved,
! 33: int blocksize, int bootpri);
! 34: extern char *get_filesys_unit (struct uaedev_mount_info *mountinfo, int nr,
! 35: char **devname, char **volname, char **rootdir,
! 36: int *readonly, int *secspertrack, int *surfaces, int *reserved,
! 37: int *cylinders, int *size, int *blocksize, int *bootpri);
! 38: extern int kill_filesys_unit (struct uaedev_mount_info *mountinfo, int);
! 39: extern int move_filesys_unit (struct uaedev_mount_info *mountinfo, int nr, int to);
! 40: extern int sprintf_filesys_unit (struct uaedev_mount_info *mountinfo, char *buffer, int num);
! 41: extern void write_filesys_config (struct uaedev_mount_info *mountinfo, const char *unexpanded,
! 42: const char *defaultpath, FILE *f);
! 43:
! 44: extern struct uaedev_mount_info *alloc_mountinfo (void);
! 45: extern struct uaedev_mount_info *dup_mountinfo (struct uaedev_mount_info *);
! 46: extern void free_mountinfo (struct uaedev_mount_info *);
! 47:
! 48: extern void filesys_reset (void);
! 49: extern void filesys_prepare_reset (void);
! 50: extern void filesys_start_threads (void);
! 51:
! 52: extern void filesys_install (void);
! 53: extern void filesys_install_code (void);
! 54: extern void filesys_store_devinfo (uae_u8 *);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.