2N/A * GRUB -- GRand Unified Bootloader 2N/A * Copyright (C) 2002,2005,2007,2008 Free Software Foundation, Inc. 2N/A * GRUB is free software: you can redistribute it and/or modify 2N/A * it under the terms of the GNU General Public License as published by 2N/A * the Free Software Foundation, either version 3 of the License, or 2N/A * (at your option) any later version. 2N/A * GRUB is distributed in the hope that it will be useful, 2N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 2N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2N/A * GNU General Public License for more details. 2N/A * You should have received a copy of the GNU General Public License 2N/A /* Only add items to stack, if there is enough room. */ 2N/A /* Copy active error message to stack. */ 2N/A /* Advance to next error stack position. */ 2N/A /* There is no room for new error message. Discard new error message 2N/A and mark error stack assertion flag. */ 2N/A /* Allow further operation of other components by resetting 2N/A active errno to GRUB_ERR_NONE. */ 2N/A /* Pop error message from error stack to current active error. */ 2N/A /* There is no more items on error stack, reset to no error state. */ 2N/A /* Print error messages in reverse order. First print active error message 2N/A and then empty error stack. */ 2N/A /* If there was an assert while using error stack, report about it. */