Commit Graph

104 Commits (master)

Author SHA1 Message Date
Alexandre Julliard e854ea34cc ntdll: Create user shared data section in the server, and initialize it in wineboot.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-29 16:17:32 +02:00
Alexandre Julliard c42b415fab wineboot: Use wide character string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 15:38:45 +02:00
Jacek Caban d0a57cf988 wineboot: Use __cpuid from intrin.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 10:53:28 +02:00
Zebediah Figura 561a84ec91 wineboot: Install wineusb as a root-enumerated PnP service.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:19 +02:00
Brendan Shanks 68a01c8c6f wineboot: Populate BIOS registry keys.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 13:48:44 +01:00
Nikolay Sivov 664d57d0eb wineboot: Do not use SHGetMalloc() internally.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 14:43:25 +01:00
Alexandre Julliard 95c9dee30a wineboot: Keep config directory path in Unicode.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 08:51:17 +01:00
Alexandre Julliard 63f8231570 wineboot: Also set the Flags value under ProfileList.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-21 09:24:35 +01:00
Dmitry Timoshkov aa3d01e650 wineboot: Automatically create ProfileList key for current user.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 23:03:21 +01:00
Zebediah Figura 9cf9483a4a wineboot: Create a root-enumerated device object for winebus.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-07 14:12:42 +01:00
Alexandre Julliard 461b5e56f9 kernel32: Move support for running wineboot to ntdll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 13:25:02 +01:00
Alexandre Julliard 44ee1c47ff wineboot: Only use cpuid on platforms where it makes sense.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 20:24:48 +02:00
Alexandre Julliard e245df2a0c wineboot: Fix do_cpuid() calling convention.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47464
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-06 16:14:46 +02:00
Alexandre Julliard 4a8483044e wineboot: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 11:38:15 +02:00
Alexandre Julliard 51bc180c1f wineboot: Avoid using getopt_long().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 23:44:24 +02:00
Alexandre Julliard f2a7405a09 winecrt0: Make the main() and wmain() entry points cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Alexandre Julliard d5a372abbb include: Move inline assembly definitions to a new wine/asm.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Hans Leidekker 6c486058f8 wineboot: Also process Run keys from the 32-bit registry view.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:04:36 +02:00
Brendan McGrath 4cd78c3507 wineboot: Fix PROCESSOR_ARCHITECTURE reg value.
On my Windows machine, PROCESSOR_ARCHITECTURE has the value "AMD64",
but under wine (since 4.1) the value is "Intel64".

Signed-off-by: Brendan McGrath <brendan@redmandi.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-11 11:52:00 +01:00
Hans Leidekker d929a1fa86 wineboot: More accurate reporting of AMD and Intel processors.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-30 18:34:34 +01:00
Zhiyi Zhang 193fc95628 wineboot: Create user folders if they don't exist.
When creating volatile environment registry keys during first
wineprefix creation, none of the user folders are existent.  Create
them before setting registry keys so that volatile environment gets
initialized and corresponding environment variables such as
%USERPROFILE% can be set. Otherwise, such environment variables are
set only after another wineboot, causing applications to fail if they
need them after first boot.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 20:59:38 +02:00
Michael Stefaniuc 0f5b224bfa wineboot: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:44:12 +02:00
Fabian Maurer 8fc3f3437c wineboot: In ProcessRunKeys use correct parentheses in condition.
Spotted by David Binderman.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 21:10:59 +02:00
Sebastian Lackner d38b334bab wineboot: Remove unused declaration for __wine_make_process_system.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:46:35 +09:00
André Hentschel 645ffcbdd3 wineboot: Remove unused macro.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-06 00:01:56 +09:00
André Hentschel 30c5f3bd63 wineboot: Move a function call after a possible return.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 22:27:12 +09:00
André Hentschel 48d150dc31 wineboot: Add hardware registry keys on ARM64. 2015-05-22 14:10:02 +09:00
André Hentschel b4a46dbcaa wineboot: Add environment registry keys on ARM64. 2015-05-22 14:09:50 +09:00
André Hentschel 57c54bc9ad wineboot: Don't add registry keys for unsupported IA64 architecture. 2013-11-11 17:06:46 +01:00
André Hentschel cc2866d521 wineboot: Add hardware registry keys on ARM. 2013-11-11 17:06:46 +01:00
André Hentschel 6e0b88006f wineboot: Add environment registry keys on ARM. 2013-11-11 17:06:46 +01:00
Frédéric Delanoy 189ac56e6d wineboot: Use BOOL type where appropriate. 2013-10-23 11:21:49 +02:00
Alexandre Julliard 2292b06281 makefiles: Move l_intl.nls and wine.inf to loader so that they are installed even when tools are not built. 2013-10-07 13:32:03 +02:00
Alexandre Julliard 849ea3d651 wineboot: Don't print an error when failing to delete a file. 2013-06-11 13:50:05 +02:00
Eric Pouech d1ccbceb4d Various background processes must be launched detached from current console (if any). 2013-01-16 14:02:55 +01:00
James Eder 7f9dfe273a wineboot: Expect one PROCESSOR_POWER_INFORMATION structure for each CPU present when calling NtPowerInformation. 2012-09-13 16:49:39 +02:00
Francois Gouget a0f0476707 wineboot: Store the RunKey names in regular string variables. 2012-01-05 21:27:34 +01:00
Frédéric Delanoy 52000a7748 wineboot: Make runkeys_names global variable static. 2011-11-18 15:37:04 +01:00
Andrew Nguyen 1bffb577e3 wineboot: Set a placeholder ProcessorNameString value in the volatile CPU registry keys. 2010-12-27 15:39:40 +01:00
Andrew Nguyen 0c8820563c wineboot: Set the FeatureSet value in the volatile CPU registry keys. 2010-12-27 15:39:40 +01:00
Alexandre Julliard 9b34838992 wineboot: Relaunch the 64-bit version of wineboot on Wow64. 2010-12-15 22:29:37 +01:00
Hans Leidekker 86a7b45a7a wineboot: Set the USERDOMAIN environment variable.
Microsoft Robotics Developer Studio installer needs this.
2010-12-15 12:02:29 +01:00
Alexandre Julliard 6838b4629e wineboot: Set the correct architecture in the process identifier variable. 2010-12-14 22:48:11 +01:00
Marcus Meissner a2dfa7d8a6 wineboot: Fixed 2 buffer sizes. 2010-10-25 12:41:42 +02:00
Alexandre Julliard 0647a85dda wineboot: Always create the various RunOnce keys. 2010-10-01 14:22:40 +02:00
Konrad Wartke 8ac60d56b6 wineboot: Added more architectures in create_enviroment_registry_keys. 2010-08-16 15:54:22 +02:00
Vincent Povirk 4f30ff875b wineboot: Query windows from all desktops when --end-session --kill is used. 2010-07-23 11:43:12 +02:00
Alexandre Julliard 9254476d13 wineboot: Display a wait dialog while processing wine.inf. 2010-03-30 16:54:57 +02:00
Alexandre Julliard 39e5f44883 wineboot: Start an additional 32-bit instance of rundll32 on 64-bit platforms to do the Wow64-specific setup. 2010-03-30 16:43:52 +02:00
Alexandre Julliard 2d08d3e084 wineboot: Use rundll32 to apply wine.inf instead of calling setupapi directly. 2010-03-30 16:38:58 +02:00