* Now we deal with all x86 exceptions, i.e. we no longer panic() when a

user application performs a division by zero or causes a general
  protection fault. For some exceptions (e.g. machine check) I wasn't
  quite sure whether they can be caused by user apps at all, so we panic()
  in those cases. Wouldn't harm, if someone more knowledgable would check
  this, though.
* Removed the unused fault handling stuff, respectively moved the little
  that was used into x86/arch_int.c.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13795 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-07-21 23:47:08 +00:00
parent 7d971e51a1
commit d08379a80b
10 changed files with 117 additions and 177 deletions
-13
View File
@@ -1,13 +0,0 @@
/*
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef KERNEL_ARCH_FAULTS_H
#define KERNEL_ARCH_FAULTS_H
struct kernel_args;
int faults_init(kernel_args *ka);
int arch_faults_init(kernel_args *ka);
#endif /* KERNEL_ARCH_FAULTS_H */
-14
View File
@@ -1,14 +0,0 @@
/*
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef _NEWOS_KERNEL_ARCH_I386_FAULTS
#define _NEWOS_KERNEL_ARCH_I386_FAULTS
struct iframe;
int i386_general_protection_fault(int errorcode);
int i386_double_fault(struct iframe *frame);
#endif