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

Subversion Repositories or1k

[/] [or1k/] [tags/] [before_ORP/] [uclinux/] [uClinux-2.0.x/] [fs/] [filesystems.c] - Blame information for rev 199

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
printk("sys_setup1\n");
42
        if (!callable)
43
                return -1;
44
        callable = 0;
45
 
46
printk("sys_setup2\n");
47
        device_setup();
48
 
49
printk("sys_setup3\n");
50
        binfmt_setup();
51
 
52
printk("sys_setup4\n");
53
#ifdef CONFIG_ROMFS_FS
54
        init_romfs_fs();
55
#endif
56
 
57
printk("sys_setup6\n");
58
#ifdef CONFIG_JFFS_FS
59
        init_jffs_fs();
60
#endif
61
 
62
#ifdef CONFIG_NLS
63
        init_nls();
64
#endif
65
 
66
#ifdef CONFIG_EXT_FS
67
        init_ext_fs();
68
#endif
69
 
70
#ifdef CONFIG_EXT2_FS
71
        init_ext2_fs();
72
#endif
73
 
74
#ifdef CONFIG_XIA_FS
75
        init_xiafs_fs();
76
#endif
77
 
78
#ifdef CONFIG_MINIX_FS
79
        init_minix_fs();
80
#endif
81
 
82
#ifdef CONFIG_UMSDOS_FS
83
        init_umsdos_fs();
84
#endif
85
 
86
#ifdef CONFIG_FAT_FS
87
        init_fat_fs();
88
#endif
89
 
90
#ifdef CONFIG_MSDOS_FS
91
        init_msdos_fs();
92
#endif
93
 
94
#ifdef CONFIG_VFAT_FS
95
        init_vfat_fs();
96
#endif
97
 
98
printk("sys_setup7\n");
99
#ifdef CONFIG_PROC_FS
100
        init_proc_fs();
101
#endif
102
printk("sys_setup8\n");
103
 
104
#ifdef CONFIG_NFS_FS
105
        init_nfs_fs();
106
#endif
107
 
108
#ifdef CONFIG_SMB_FS
109
        init_smb_fs();
110
#endif
111
 
112
#ifdef CONFIG_NCP_FS
113
        init_ncp_fs();
114
#endif
115
 
116
#ifdef CONFIG_ISO9660_FS
117
        init_iso9660_fs();
118
#endif
119
 
120
#ifdef CONFIG_SYSV_FS
121
        init_sysv_fs();
122
#endif
123
 
124
#ifdef CONFIG_HPFS_FS
125
        init_hpfs_fs();
126
#endif
127
 
128
#ifdef CONFIG_AFFS_FS
129
        init_affs_fs();
130
#endif
131
 
132
#ifdef CONFIG_UFS_FS
133
        init_ufs_fs();
134
#endif
135
 
136
#ifdef CONFIG_AUTOFS_FS
137
        init_autofs_fs();
138
#endif
139
printk("sys_setup9\n");
140
        mount_root();
141
printk("sys_setup10\n");
142
 
143
        return 0;
144
}

powered by: WebSVN 2.1.0

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