Author: dgorbachev
Date: Sat Jan 2 00:14:10 2010
New Revision: 44864
URL: http://svn.reactos.org/svn/reactos?rev=44864&view=rev
Log:
Fix parameter type of NtQueryInformationThread; do not call ExitThread from itself. Bug #5076.
Modified:
trunk/reactos/dll/win32/kernel32/thread/thread.c
Modified: trunk/reactos/dll/win32/kernel32/thread/thread.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/thread/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/thread/thread.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/thread/thread.c [iso-8859-1] Sat Jan 2 00:14:10 2010
@@ -242,7 +242,7 @@
ExitThread(DWORD uExitCode)
{
NTSTATUS Status;
- BOOLEAN LastThread;
+ ULONG LastThread;
/*
* Terminate process if this is the last thread
@@ -251,7 +251,7 @@
Status = NtQueryInformationThread(NtCurrentThread(),
ThreadAmILastThread,
&LastThread,
- sizeof(BOOLEAN),
+ sizeof(LastThread),
NULL);
if (NT_SUCCESS(Status) && LastThread)
{
@@ -266,8 +266,9 @@
NtCurrentTeb()->FreeStackOnTermination = TRUE;
NtTerminateThread(NULL, uExitCode);
- /* We will never reach this place. This silences the compiler */
- ExitThread(uExitCode);
+ /* We should never reach this place */
+ DPRINT1("It should not happen\n");
+ while (TRUE) ;
}
/*
Author: ros-arm-bringup
Date: Fri Jan 1 22:05:41 2010
New Revision: 44862
URL: http://svn.reactos.org/svn/reactos?rev=44862&view=rev
Log:
NMI Support Patch 7 Straggler:
[HAL]: Piggyback on V8086 handler (don't restore kernel GPF handler) during an NMI, so that we don't enter another fault context during a recursive NMI after display reset. If another NMI does happen, the V8086 GPF handler will just spin.
Modified:
trunk/reactos/hal/halx86/generic/bios.c
Modified: trunk/reactos/hal/halx86/generic/bios.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/bios.c?…
==============================================================================
--- trunk/reactos/hal/halx86/generic/bios.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/generic/bios.c [iso-8859-1] Fri Jan 1 22:05:41 2010
@@ -313,9 +313,19 @@
HalpRestoreTrapHandlers(VOID)
{
//
- // We're back, restore the handlers we over-wrote
- //
- KeRegisterInterruptHandler(13, HalpGpfHandler);
+ // Keep dummy GPF handler in case we get an NMI during V8086
+ //
+ if (!HalpNMIInProgress)
+ {
+ //
+ // Not an NMI -- put back the original handler
+ //
+ KeRegisterInterruptHandler(13, HalpGpfHandler);
+ }
+
+ //
+ // Restore invalid opcode handler
+ //
KeRegisterInterruptHandler(6, HalpBopHandler);
}
Author: dchapyshev
Date: Fri Jan 1 20:09:55 2010
New Revision: 44859
URL: http://svn.reactos.org/svn/reactos?rev=44859&view=rev
Log:
- Update Russian translation
Modified:
trunk/reactos/dll/win32/devmgr/lang/ru-RU.rc
Modified: trunk/reactos/dll/win32/devmgr/lang/ru-RU.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/lang/ru-R…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/lang/ru-RU.rc [iso-8859-1] Fri Jan 1 20:09:55 2010
@@ -38,7 +38,7 @@
IDS_DEV_ENTRY_IS_WRONG_TYPE "This device is not working properly because one of its drivers may be bad, or your registry may be bad."
IDS_DEV_LACKED_ARBITRATOR "The driver for this device requested a resource that ReactOS does not know how to handle."
IDS_DEV_BOOT_CONFIG_CONFLICT "Another device is using the resources this device needs."
- IDS_DEV_FAILED_FILTER "The drivers for this device need to be reinstalled."
+ IDS_DEV_FAILED_FILTER "Äðàéâåðû äëÿ ýòîãî óñòðîéñòâà äîëæíû áûòü ïåðåóñòàíîâëåíû."
IDS_DEV_DEVLOADER_NOT_FOUND "This device is not working properly because ReactOS cannot load the file $1 that loads the drivers for the device."
IDS_DEV_DEVLOADER_NOT_FOUND2 "This device is not working properly because the file $1 that loads the drivers for this device is bad."
IDS_DEV_DEVLOADER_NOT_FOUND3 "Device failure: Try changing the driver for this device. If that doesn\'t work, see your hardware documentation."
@@ -50,20 +50,20 @@
IDS_DEV_NOT_VERIFIED "Äàííîå óñòðîéñòâî ÿâëÿåòñÿ íåèçâåñòíûì, ðàáîòàåò íåêîððåêòíî èëè íå èìååò óñòàíîâëåííûõ äðàéâåðîâ."
IDS_DEV_NEED_RESTART "Äàííîå óñòðîéñòâî íå ñìîæåò êîððåêòíî ðàáîòàòü äî âûïîëíåíèÿ ïåðåçàãðóçêè."
IDS_DEV_REENUMERATION "Äàííîå óñòðîéñòâî âûçâàëî êîíôëèêò ðåñóðñîâ."
- IDS_DEV_PARTIAL_LOG_CONF "ReactOS could not identify all the resources this device uses."
+ IDS_DEV_PARTIAL_LOG_CONF "ReactOS íå ìîæåò èäåíòèôèöèðîâàòü ðåñóðñû, èñïîëüçóåìûå óñòðîéñòâîì."
IDS_DEV_UNKNOWN_RESOURCE "The driver information file $1 is telling this child device to use a resource that the parent device does not have or recognize."
IDS_DEV_REINSTALL "Äðàéâåðû ýòîãî óñòðîéñòâà äîëæíû áûòü ïåðåóñòàíîâëåíû."
IDS_DEV_REGISTRY "Âàø ñèñòåìíûé ðååñòð ïîâðåæäåí."
IDS_DEV_WILL_BE_REMOVED "ReactOS óäàëèò ýòî óñòðîéñòâî."
IDS_DEV_DISABLED "Ýòî óñòðîéñòâî íå çàïóùåíî."
IDS_DEV_DISABLED2 "Ýòî óñòðîéñòâî îòêëþ÷åíî."
- IDS_DEV_DEVLOADER_NOT_READY "The loaders for this device cannot load the required drivers."
+ IDS_DEV_DEVLOADER_NOT_READY "Çàãðóç÷èê ýòîãî óñòðîéñòâà íå ìîæåò çàãðóçèòü íåîáõîäèìûå äðàéâåðû."
IDS_DEV_DEVLOADER_NOT_READY2 "Ýòîò àäàïòåð ýêðàíà ôóíêöèîíèðóåò êîððåêòíî."
- IDS_DEV_DEVLOADER_NOT_READY3 "The loaders for this device cannot load the required drivers."
- IDS_DEV_DEVICE_NOT_THERE "This device is either not present, not working properly, or does not have all the drivers installed."
- IDS_DEV_MOVED "ReactOS is in the process of setting up this device."
- IDS_DEV_TOO_EARLY "ReactOS is in the process of setting up this device."
- IDS_DEV_NO_VALID_LOG_CONF "ReactOS can\'t specify the resources for this device."
+ IDS_DEV_DEVLOADER_NOT_READY3 "Çàãðóç÷èê ýòîãî óñòðîéñòâà íå ìîæåò çàãðóçèòü íåîáõîäèìûå äðàéâåðû."
+ IDS_DEV_DEVICE_NOT_THERE "Óñòðîéñòâî îòñóòñòâóåò, ðàáîòàåò íåïðàâèëüíî èëè äëÿ íåãî óñòàíîâëåíû íå âñå äðàéâåðû."
+ IDS_DEV_MOVED "ReactOS íàñòðàèâàåò ýòî óñòðîéñòâî."
+ IDS_DEV_TOO_EARLY "ReactOS íàñòðàèâàåò ýòî óñòðîéñòâî."
+ IDS_DEV_NO_VALID_LOG_CONF "ReactOS íå ìîæåò óêàçàòü ðåñóðñû äëÿ ýòîãî óñòðîéñòâà."
IDS_DEV_FAILED_INSTALL "Äðàéâåðû äëÿ ýòîãî óñòðîéñòâà íå óñòàíîâëåíû."
IDS_DEV_HARDWARE_DISABLED "This device is disabled because the BIOS for the device did not give it any resources."
IDS_DEV_CANT_SHARE_IRQ "This device is using an Interrupt Request (IRQ) resource that is in use by another device and cannot be shared.\nYou must change the conflicting setting or remove the real-mode driver causing the conflict."
@@ -73,7 +73,7 @@
IDS_DEV_NO_SOFTCONFIG "ReactOS cannot determine the settings for this device. Consult the documentation that came with this device and use the Resource tab to set the configuration."
IDS_DEV_BIOS_TABLE "Your computer\'s system firmware does not include enough information to properly configure and use this device. \nTo use this device, contact your computer manufacturer to obtain a firmware or BIOS update."
IDS_DEV_IRQ_TRANSLATION_FAILED "This device is requesting a PCI interrupt but is configured for an ISA interrupt (or vice versa). \nPlease use the computer\'s system setup program to reconfigure the interrupt for this device."
- IDS_DEV_FAILED_DRIVER_ENTRY "ReactOS cannot initialize the device driver for this hardware."
+ IDS_DEV_FAILED_DRIVER_ENTRY "ReactOS íå ìîæåò èíèöèàëèçèðîâàòü äðàéâåð óñòðîéñòâà äëÿ äàííîãî îáîðóäîâàíèÿ."
IDS_DEV_DRIVER_FAILED_PRIOR_UNLOAD "ReactOS cannot load the device driver for this hardware because a previous instance of the device driver is still in memory."
IDS_DEV_DRIVER_FAILED_LOAD "ReactOS cannot load the device driver for this hardware. The driver may be corrupted or missing."
IDS_DEV_DRIVER_SERVICE_KEY_INVALID "ReactOS cannot access this hardware because its service key information in the registry is missing or recorded incorrectly."
@@ -81,7 +81,7 @@
IDS_DEV_DUPLICATE_DEVICE "ReactOS cannot load the device driver for this hardware because there is a duplicate device already running in the system."
IDS_DEV_FAILED_POST_START "ReactOS îñòàíîâèë äàííîå óñòðîéñòâî, òàê êàê â åãî ðàáîòå îáíàðóæèëèñü ïðîáëåìû."
IDS_DEV_HALTED "Ïðèëîæåíèå èëè ñëóæáà îòêëþ÷èëè äàííîå óñòðîéñòâî."
- IDS_DEV_PHANTOM "Currently, this hardware device is not connected to the computer."
+ IDS_DEV_PHANTOM " íàñòîÿùåå âðåìÿ äàííîå óñòðîéñòâî íå ïîäêëþ÷åíî ê êîìïüþòåðó."
IDS_DEV_SYSTEM_SHUTDOWN "ReactOS cannot gain access to this hardware device because the operating system is in the process of shutting down."
IDS_DEV_HELD_FOR_EJECT "ReactOS cannot use this hardware device because it has been prepared for safe removal, but it has not been removed from the computer"
IDS_DEV_DRIVER_BLOCKED "The software for this device has been blocked from starting because it is known to have problems with ReactOS. Contact the hardware vendor for a new driver."
@@ -97,7 +97,7 @@
IDS_PROP_MATCHINGDEVICEID "Ñîîòâåòñòâóþùèé êîä (ID) óñòðîéñòâà"
IDS_PROP_SERVICE "Ñëóæáà"
IDS_PROP_ENUMERATOR "Ïåðå÷èñëèòåëü"
- IDS_PROP_CAPABILITIES "Capabilities"
+ IDS_PROP_CAPABILITIES "Õàðàêòåðèñòèêè"
IDS_PROP_DEVNODEFLAGS "Ôëàãè Devnode"
IDS_PROP_CONFIGFLAGS "Ôëàãè Config"
IDS_PROP_CSCONFIGFLAGS "Ôëàãè CSConfig"
@@ -111,10 +111,10 @@
IDS_PROP_CLASSINSTALLER "Óñòàíîâùèê êëàññîâ"
IDS_PROP_CLASSCOINSTALLER "Ñîóñòàíîâùèêè êëàññîâ"
IDS_PROP_DEVICECOINSTALLER "Ñîóñòàíîâùèêè óñòðîéñòâ"
- IDS_PROP_FIRMWAREREVISION "Firmware Revision"
- IDS_PROP_CURRENTPOWERSTATE "Current Power State"
- IDS_PROP_POWERCAPABILITIES "Power Capabilities"
- IDS_PROP_POWERSTATEMAPPINGS "Power State Mappings"
+ IDS_PROP_FIRMWAREREVISION "Ìèêðîïðîãðàììà"
+ IDS_PROP_CURRENTPOWERSTATE "Òåêóøåå ñîñòîÿíèå ýëåêòðîïèòàíèÿ"
+ IDS_PROP_POWERCAPABILITIES "Âîçìîæíîñòè ýëåêòðîïèòàíèÿ"
+ IDS_PROP_POWERSTATEMAPPINGS "Ñîïîñòàâëåíèÿ ýíåðãîñáåðåæåíèÿ"
END
IDD_HARDWARE DIALOGEX DISCARDABLE 0, 0, 300, 400