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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [fs/] [filesystems.c] - Diff between revs 199 and 582

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 199 Rev 582
Line 36... Line 36...
 
 
/* This may be used only once, enforced by 'static int callable' */
/* This may be used only once, enforced by 'static int callable' */
asmlinkage int sys_setup(void)
asmlinkage int sys_setup(void)
{
{
        static int callable = 1;
        static int callable = 1;
printk("sys_setup1\n");
 
        if (!callable)
        if (!callable)
                return -1;
                return -1;
        callable = 0;
        callable = 0;
 
 
printk("sys_setup2\n");
 
        device_setup();
        device_setup();
 
 
printk("sys_setup3\n");
 
        binfmt_setup();
        binfmt_setup();
 
 
printk("sys_setup4\n");
 
#ifdef CONFIG_ROMFS_FS
#ifdef CONFIG_ROMFS_FS
        init_romfs_fs();
        init_romfs_fs();
#endif
#endif
 
 
printk("sys_setup6\n");
 
#ifdef CONFIG_JFFS_FS
#ifdef CONFIG_JFFS_FS
        init_jffs_fs();
        init_jffs_fs();
#endif
#endif
 
 
#ifdef CONFIG_NLS
#ifdef CONFIG_NLS
Line 93... Line 89...
 
 
#ifdef CONFIG_VFAT_FS
#ifdef CONFIG_VFAT_FS
        init_vfat_fs();
        init_vfat_fs();
#endif
#endif
 
 
printk("sys_setup7\n");
 
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
        init_proc_fs();
        init_proc_fs();
#endif
#endif
printk("sys_setup8\n");
 
 
 
#ifdef CONFIG_NFS_FS
#ifdef CONFIG_NFS_FS
        init_nfs_fs();
        init_nfs_fs();
#endif
#endif
 
 
Line 134... Line 128...
#endif
#endif
 
 
#ifdef CONFIG_AUTOFS_FS
#ifdef CONFIG_AUTOFS_FS
        init_autofs_fs();
        init_autofs_fs();
#endif
#endif
printk("sys_setup9\n");
 
        mount_root();
        mount_root();
printk("sys_setup10\n");
 
 
 
        return 0;
        return 0;
}
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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