haiku/headers/private/kernel/faults_priv.h
Axel Dörfler 74b043d98d Removed execute property that was set accidently (since CVS days).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:50:45 +00:00

24 lines
484 B
C

/*
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef _KERNEL_FAULTS_PRIV_H
#define _KERNEL_FAULTS_PRIV_H
int general_protection_fault(int errorcode);
enum fpu_faults {
FPU_FAULT_CODE_UNKNOWN = 0,
FPU_FAULT_CODE_DIVBYZERO,
FPU_FAULT_CODE_INVALID_OP,
FPU_FAULT_CODE_OVERFLOW,
FPU_FAULT_CODE_UNDERFLOW,
FPU_FAULT_CODE_INEXACT
};
int fpu_fault(int fpu_fault);
int fpu_disable_fault(void);
#endif