mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
19 lines
583 B
C
19 lines
583 B
C
// The OS/K Team licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
enum
|
|
{
|
|
E_SHT, // Shutdown instruction
|
|
E_UDF, // Undefined behavior
|
|
E_IMP, // Not implemented
|
|
E_ILL, // Ill-formed
|
|
E_ACC, // Invalid access
|
|
E_SYS, // Supervisor only
|
|
E_ALI, // Alignment error
|
|
E_STA, // Stack misalignment
|
|
E_STU, // Stack underflow
|
|
NEXCPTS
|
|
};
|
|
|
|
void _except(ctx_t *, int, char *, ...) __attribute__((__noreturn__));
|