PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
syscall.c File Reference
#include "userprog/syscall.h"
#include <stdio.h>
#include <syscall-nr.h>
#include "threads/interrupt.h"
#include "threads/thread.h"
Include dependency graph for syscall.c:

Go to the source code of this file.

Functions

static void syscall_handler (struct intr_frame *)
 
void syscall_init (void)
 userprog/syscall.h More...
 
static void syscall_handler (struct intr_frame *f UNUSED)
 

Function Documentation

◆ syscall_handler() [1/2]

static void syscall_handler ( struct intr_frame )
static

Referenced by syscall_init().

Here is the caller graph for this function:

◆ syscall_handler() [2/2]

static void syscall_handler ( struct intr_frame *f  UNUSED)
static

Definition at line 16 of file syscall.c.

References printf(), and thread_exit().

Here is the call graph for this function:

◆ syscall_init()

void syscall_init ( void  )

userprog/syscall.h

Definition at line 10 of file syscall.c.

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

Referenced by pintos_init().

Here is the call graph for this function:
Here is the caller graph for this function: