Create the devices earlier on during startup.
This commit is contained in:
parent
c420138d99
commit
693a3cd049
|
@ -50,7 +50,6 @@ extern void LOCALE_InitRegistry(void);
|
||||||
extern void COMPUTERNAME_Init(void);
|
extern void COMPUTERNAME_Init(void);
|
||||||
|
|
||||||
extern int __wine_set_signal_handler(unsigned, int (*)(unsigned));
|
extern int __wine_set_signal_handler(unsigned, int (*)(unsigned));
|
||||||
extern void VOLUME_CreateDevices(void);
|
|
||||||
/* memory/environ.c */
|
/* memory/environ.c */
|
||||||
extern void ENV_CopyStartupInformation(void);
|
extern void ENV_CopyStartupInformation(void);
|
||||||
|
|
||||||
|
@ -127,9 +126,6 @@ static BOOL process_attach(void)
|
||||||
/* Setup computer name */
|
/* Setup computer name */
|
||||||
COMPUTERNAME_Init();
|
COMPUTERNAME_Init();
|
||||||
|
|
||||||
/* Create device symlinks */
|
|
||||||
VOLUME_CreateDevices();
|
|
||||||
|
|
||||||
/* copy process information from ntdll */
|
/* copy process information from ntdll */
|
||||||
ENV_CopyStartupInformation();
|
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};
|
static const WCHAR winevdmW[] = {'w','i','n','e','v','d','m','.','e','x','e',0};
|
||||||
|
|
||||||
extern void SHELL_LoadRegistry(void);
|
extern void SHELL_LoadRegistry(void);
|
||||||
|
extern void VOLUME_CreateDevices(void);
|
||||||
extern void VERSION_Init( const WCHAR *appname );
|
extern void VERSION_Init( const WCHAR *appname );
|
||||||
extern void LOCALE_Init(void);
|
extern void LOCALE_Init(void);
|
||||||
|
|
||||||
|
@ -741,6 +742,9 @@ static BOOL process_init( char *argv[], char **environ )
|
||||||
/* registry initialisation */
|
/* registry initialisation */
|
||||||
SHELL_LoadRegistry();
|
SHELL_LoadRegistry();
|
||||||
|
|
||||||
|
/* Create device symlinks */
|
||||||
|
VOLUME_CreateDevices();
|
||||||
|
|
||||||
/* global boot finished, the rest is process-local */
|
/* global boot finished, the rest is process-local */
|
||||||
SERVER_START_REQ( boot_done )
|
SERVER_START_REQ( boot_done )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue