Separated initialization of standard file systems from boot file system.

team_create_team() now uses the B_NORMAL_PRIORITY constant instead of the number directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7425 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-05-06 01:27:34 +00:00
parent 7f79432203
commit f7e706a409

View File

@ -148,12 +148,18 @@ main2(void *unused)
TRACE(("start of main2: initializing devices\n"));
/* bootstrap all the filesystems */
TRACE(("Bootstrap all filesystems\n"));
vfs_bootstrap_all_filesystems();
TRACE(("Bootstrap file systems\n"));
vfs_bootstrap_file_systems();
TRACE(("Init modules\n"));
module_init(&ka);
// ToDo: device manager starts here, bus_init()/dev_init() won't be necessary anymore,
// but instead, the hardware and drivers are rescanned then.
TRACE(("Mount boot file system\n"));
vfs_mount_boot_file_system();
TRACE(("Init busses\n"));
bus_init(&ka);
@ -189,8 +195,8 @@ main2(void *unused)
// start the init process
{
team_id pid;
pid = team_create_team("/boot/bin/init", "init", NULL, 0, NULL, 0, 5);
pid = team_create_team("/boot/bin/init", "init", NULL, 0, NULL, 0, B_NORMAL_PRIORITY);
TRACE(("Init started\n"));
if (pid < 0)
kprintf("error starting 'init' error = %ld \n", pid);