xv6-simplified 0.1
简化版xv6
Loading...
Searching...
No Matches
Data Fields
proc Struct Reference

#include <proc.h>

Collaboration diagram for proc:
Collaboration graph
[legend]

Data Fields

enum procstate state
 
void * chan
 
int killed
 
int xstate
 
int pid
 
struct procparent
 
uint64 kstack
 
uint64 sz
 
pagetable_t pagetable
 
struct trapframetrapframe
 
struct context context
 
struct fileofile [NOFILE]
 
struct direntcwd
 
char name [16]
 

Field Documentation

◆ chan

void* chan

◆ context

struct context context

◆ cwd

struct dirent* cwd

◆ killed

int killed

◆ kstack

uint64 kstack

◆ name

char name[16]

◆ ofile

struct file* ofile[NOFILE]

◆ pagetable

pagetable_t pagetable

◆ parent

struct proc* parent

◆ pid

int pid

◆ state

enum procstate state

◆ sz

uint64 sz

◆ trapframe

◆ xstate

int xstate

The documentation for this struct was generated from the following file: