summaryrefslogtreecommitdiff
path: root/core/minute-ia/mia_panic_internal.h
blob: b73e3ffdfd02ac2d69d688078bf512046cc02ca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Copyright 2019 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/**
 * Handle an exception and reboot. The parameters after 'vector' are
 * convenientely in the same order as pushed by hardwared during a
 * processor exception.
 */
noreturn
void exception_panic(
	uint32_t vector,
	uint32_t errorcode,
	uint32_t eip,
	uint32_t cs,
	uint32_t eflags);