OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [fs/] [filesystems.c] - Blame information for rev 1775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
2
 *  linux/fs/filesystems.c
3
 *
4
 *  Copyright (C) 1991, 1992  Linus Torvalds
5
 *
6
 *  table of configured filesystems
7
 */
8
 
9
#include <linux/config.h>
10
#include <linux/fs.h>
11
 
12
#ifdef CONFIG_NLS
13
#include <linux/nls.h>
14
#endif
15
#include <linux/minix_fs.h>
16
#include <linux/ext_fs.h>
17
#include <linux/ext2_fs.h>
18
#include <linux/xia_fs.h>
19
#include <linux/msdos_fs.h>
20
#include <linux/umsdos_fs.h>
21
#include <linux/proc_fs.h>
22
#include <linux/nfs_fs.h>
23
#include <linux/iso_fs.h>
24
#include <linux/sysv_fs.h>
25
#include <linux/hpfs_fs.h>
26
#include <linux/smb_fs.h>
27
#include <linux/ncp_fs.h>
28
#include <linux/affs_fs.h>
29
#include <linux/ufs_fs.h>
30
#include <linux/auto_fs.h>
31
#include <linux/romfs_fs.h>
32
#include <linux/major.h>
33
 
34
extern void device_setup(void);
35
extern void binfmt_setup(void);
36
 
37
/* This may be used only once, enforced by 'static int callable' */
38
asmlinkage int sys_setup(void)
39
{
40
        static int callable = 1;
41 582 simons
 
42 199 simons
        if (!callable)
43
                return -1;
44
        callable = 0;
45
 
46
        device_setup();
47
 
48
        binfmt_setup();
49
 
50
#ifdef CONFIG_ROMFS_FS
51
        init_romfs_fs();
52
#endif
53
 
54
#ifdef CONFIG_JFFS_FS
55
        init_jffs_fs();
56
#endif
57
 
58
#ifdef CONFIG_NLS
59
        init_nls();
60
#endif
61
 
62
#ifdef CONFIG_EXT_FS
63
        init_ext_fs();
64
#endif
65
 
66
#ifdef CONFIG_EXT2_FS
67
        init_ext2_fs();
68
#endif
69
 
70
#ifdef CONFIG_XIA_FS
71
        init_xiafs_fs();
72
#endif
73
 
74
#ifdef CONFIG_MINIX_FS
75
        init_minix_fs();
76
#endif
77
 
78
#ifdef CONFIG_UMSDOS_FS
79
        init_umsdos_fs();
80
#endif
81
 
82
#ifdef CONFIG_FAT_FS
83
        init_fat_fs();
84
#endif
85
 
86
#ifdef CONFIG_MSDOS_FS
87
        init_msdos_fs();
88
#endif
89
 
90
#ifdef CONFIG_VFAT_FS
91
        init_vfat_fs();
92
#endif
93
 
94
#ifdef CONFIG_PROC_FS
95
        init_proc_fs();
96
#endif
97
 
98
#ifdef CONFIG_NFS_FS
99
        init_nfs_fs();
100
#endif
101
 
102
#ifdef CONFIG_SMB_FS
103
        init_smb_fs();
104
#endif
105
 
106
#ifdef CONFIG_NCP_FS
107
        init_ncp_fs();
108
#endif
109
 
110
#ifdef CONFIG_ISO9660_FS
111
        init_iso9660_fs();
112
#endif
113
 
114
#ifdef CONFIG_SYSV_FS
115
        init_sysv_fs();
116
#endif
117
 
118
#ifdef CONFIG_HPFS_FS
119
        init_hpfs_fs();
120
#endif
121
 
122
#ifdef CONFIG_AFFS_FS
123
        init_affs_fs();
124
#endif
125
 
126
#ifdef CONFIG_UFS_FS
127
        init_ufs_fs();
128
#endif
129
 
130
#ifdef CONFIG_AUTOFS_FS
131
        init_autofs_fs();
132
#endif
133
        mount_root();
134
 
135
        return 0;
136
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.