It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
** 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
|
||||
|
||||
Reference in New Issue
Block a user