mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
We now have a function to install a (currently default) vector table, meaning that any exceptions (or interrupts for that matter) will be caught by the processor and routed to one of the vectors inside the table.
15 lines
348 B
C
15 lines
348 B
C
/*
|
|
* Copyright (c) 2021, Marcin Undak <mcinek@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
extern "C" void wait_cycles(int n);
|
|
extern "C" void el1_vector_table_install(void* vector_table);
|
|
|
|
// CPU initialization functions
|
|
extern "C" [[noreturn]] void return_from_el2();
|
|
extern "C" [[noreturn]] void return_from_el3();
|