Commit 693a3cd0 authored by Alexandre Julliard's avatar Alexandre Julliard

Create the devices earlier on during startup.

parent c420138d
......@@ -50,7 +50,6 @@ extern void LOCALE_InitRegistry(void);
extern void COMPUTERNAME_Init(void);
extern int __wine_set_signal_handler(unsigned, int (*)(unsigned));
extern void VOLUME_CreateDevices(void);
/* memory/environ.c */
extern void ENV_CopyStartupInformation(void);
......@@ -127,9 +126,6 @@ static BOOL process_attach(void)
/* Setup computer name */
COMPUTERNAME_Init();
/* Create device symlinks */
VOLUME_CreateDevices();
/* copy process information from ntdll */
ENV_CopyStartupInformation();
......
......@@ -83,6 +83,7 @@ static const WCHAR batW[] = {'.','b','a','t',0};
static const WCHAR winevdmW[] = {'w','i','n','e','v','d','m','.','e','x','e',0};
extern void SHELL_LoadRegistry(void);
extern void VOLUME_CreateDevices(void);
extern void VERSION_Init( const WCHAR *appname );
extern void LOCALE_Init(void);
......@@ -741,6 +742,9 @@ static BOOL process_init( char *argv[], char **environ )
/* registry initialisation */
SHELL_LoadRegistry();
/* Create device symlinks */
VOLUME_CreateDevices();
/* global boot finished, the rest is process-local */
SERVER_START_REQ( boot_done )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment