2019-06-15 13:42:30 +02:00
|
|
|
// 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
|
|
|
|
};
|
|
|
|
|
2019-06-16 12:48:30 +02:00
|
|
|
extern int dying;
|
|
|
|
|
2019-06-15 13:42:30 +02:00
|
|
|
void _except(ctx_t *, int, char *, ...) __attribute__((__noreturn__));
|