[Krafton Jungle] PintOS 2.0.0
크래프톤 정글 PintOS
 
Loading...
Searching...
No Matches
process.h
Go to the documentation of this file.
1#ifndef USERPROG_PROCESS_H
2#define USERPROG_PROCESS_H
3
4#include "threads/thread.h"
5#include "filesys/off_t.h"
6
7tid_t process_create_initd (const char *file_name);
8tid_t process_fork (const char *name, struct intr_frame *if_);
9int process_exec (void *f_name);
11void process_exit (void);
12void process_activate (struct thread *next);
13
14/*-------------------------[P3]Anonoymous page---------------------------------*/
16 struct file *file;
19};
20
21bool setup_stack (struct intr_frame *if_);
22bool lazy_load_segment (struct page *page, void *aux);
23/*-------------------------[P3]Anonoymous page---------------------------------*/
24
25#endif /* userprog/process.h */
static int next(int pos)
Definition: intq.c:74
int32_t off_t
Definition: off_t.h:9
bool setup_stack(struct intr_frame *if_)
Definition: process.c:673
int process_exec(void *f_name)
Definition: process.c:241
int process_wait(tid_t)
tid_t process_fork(const char *name, struct intr_frame *if_)
void process_activate(struct thread *next)
Definition: process.c:379
tid_t process_create_initd(const char *file_name)
Definition: process.c:52
void process_exit(void)
Definition: process.c:328
bool lazy_load_segment(struct page *page, void *aux)
Definition: file.c:7
Definition: interrupt.h:37
Definition: vm.h:51
Definition: process.h:15
struct file * file
Definition: process.h:16
off_t offset
Definition: process.h:17
size_t page_read_bytes
Definition: process.h:18
Definition: thread.h:100
int tid_t
Definition: thread.h:25