Change-Id: I0cba99070f251d86679c068bb737c05178f4a7c5 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77771 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
13 lines
360 B
C
13 lines
360 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#include <console/console.h>
|
|
|
|
void __div0(void); // called from asm so no need for a prototype in a header
|
|
|
|
/* Replacement (=dummy) for GNU/Linux division-by zero handler */
|
|
/* recursion is ok here because we have no formats ... */
|
|
void __div0(void)
|
|
{
|
|
printk(BIOS_EMERG, "DIVIDE BY ZERO! continuing ...\n");
|
|
}
|