src/kernel/arch/i386/exception.c File Reference

#include "../../kernel.h"
#include "proto.h"
#include <signal.h>
#include <string.h>
#include "../../proc.h"
#include "../../proto.h"

Go to the source code of this file.

Defines

#define PRCOPY(pr, pv, v, n)

Functions

void pagefault (struct proc *pr, struct exception_frame *frame, int is_nested)
PUBLIC void exception_handler (int is_nested, struct exception_frame *frame)
PUBLIC void proc_stacktrace (struct proc *whichproc)

Variables

int vm_copy_in_progress
int catch_pagefaults
struct procvm_copy_from
struct procvm_copy_to


Define Documentation

#define PRCOPY ( pr,
pv,
v,
n   ) 

Value:

(iskernel ? (memcpy((char *) v, (char *) pv, n), OK) : \
     data_copy(pr->p_endpoint, pv, SYSTEM, (vir_bytes) (v), n))


Function Documentation

PUBLIC void exception_handler ( int  is_nested,
struct exception_frame frame 
)

Definition at line 101 of file exception.c.

void pagefault ( struct proc pr,
struct exception_frame frame,
int  is_nested 
)

Definition at line 16 of file exception.c.

PUBLIC void proc_stacktrace ( struct proc whichproc  ) 

Definition at line 203 of file exception.c.


Variable Documentation

Definition at line 78 of file glo.h.

struct proc* vm_copy_from

struct proc * vm_copy_to


Generated on Tue Mar 9 04:36:56 2010 for Minix by  doxygen 1.5.8