summaryrefslogtreecommitdiff
path: root/core/minute-ia/mia_panic_internal.h
blob: a1c593ec0548477b37de9cbaacd88e829fc55a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Copyright 2019 The Chromium OS Authors. All rights reserved.
 * 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);