/** @file\r
Main file for DevTree shell Driver1 function.\r
\r
+ Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>\r
Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
ChildCount = 0;\r
\r
ASSERT(TheHandle != NULL);\r
+ \r
+ if (ShellGetExecutionBreakFlag()) {\r
+ ShellStatus = SHELL_ABORTED;\r
+ return ShellStatus;\r
+ }\r
+ \r
//\r
// We want controller handles. they will not have LoadedImage or DriverBinding (or others...)\r
//\r
ParseHandleDatabaseForChildControllers(TheHandle, &ChildCount, &ChildHandleBuffer);\r
for (LoopVar = 0 ; LoopVar < ChildCount && ShellStatus == SHELL_SUCCESS; LoopVar++){\r
ShellStatus = DoDevTreeForHandle(ChildHandleBuffer[LoopVar], Lang, UseDevPaths, IndentCharCount+2, HiiString);\r
+ if (ShellStatus == SHELL_ABORTED) {\r
+ break;\r
+ }\r
}\r
\r
if (ChildHandleBuffer != NULL) {\r