pintos/src/userprog/syscall.c File Reference

#include "userprog/syscall.h"
#include <stdio.h>
#include <syscall-nr.h>
#include "threads/interrupt.h"
#include "threads/thread.h"

Go to the source code of this file.

Functions

static void syscall_handler (struct intr_frame *)
void syscall_init (void)
static void syscall_handler (struct intr_frame *f UNUSED)


Function Documentation

static void syscall_handler ( struct intr_frame *f  UNUSED  )  [static]

Definition at line 17 of file syscall.c.

References printf(), and thread_exit().

static void syscall_handler ( struct intr_frame  )  [static]

Referenced by syscall_init().

void syscall_init ( void   ) 

Definition at line 11 of file syscall.c.

References INTR_ON, intr_register_int(), and syscall_handler().

Referenced by main().


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6