mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 09:20:30 +00:00
- quit sysreg when checkpoint USETUP_COMPLETED is reached
svn path=/trunk/; revision=24594
This commit is contained in:
parent
c58fc3041a
commit
af697b174a
1 changed files with 15 additions and 0 deletions
|
@ -137,6 +137,21 @@ namespace Sysreg_
|
||||||
|
|
||||||
cerr << line << endl;
|
cerr << line << endl;
|
||||||
|
|
||||||
|
if (line.find (_T("SYSREG_CHECKPOINT")) != string::npos)
|
||||||
|
{
|
||||||
|
line.erase (0, line.find (_T("SYSREG_CHECKPOINT")) + 19);
|
||||||
|
if (!_tcsncmp(line.c_str (), _T("USETUP_COMPLETE"), 15))
|
||||||
|
{
|
||||||
|
///
|
||||||
|
/// we need to stop the emulator to avoid
|
||||||
|
/// looping again into USETUP (at least with bootcdregtest)
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (line.find (_T("*** Fatal System Error")) != string::npos)
|
if (line.find (_T("*** Fatal System Error")) != string::npos)
|
||||||
{
|
{
|
||||||
cerr << "BSOD detected" <<endl;
|
cerr << "BSOD detected" <<endl;
|
||||||
|
|
Loading…
Reference in a new issue