From 693a3cd049ec61c8195ee885bc5e62c9d84d42f1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 12 Apr 2004 22:12:43 +0000 Subject: [PATCH] Create the devices earlier on during startup. --- dlls/kernel/kernel_main.c | 4 ---- dlls/kernel/process.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/kernel/kernel_main.c b/dlls/kernel/kernel_main.c index e6dc0b72d6a..dd74a7e6e30 100644 --- a/dlls/kernel/kernel_main.c +++ b/dlls/kernel/kernel_main.c @@ -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(); diff --git a/dlls/kernel/process.c b/dlls/kernel/process.c index 3bc7d3bf41d..67984c8fa01 100644 --- a/dlls/kernel/process.c +++ b/dlls/kernel/process.c @@ -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 ) {