clang-format
This commit is contained in:
@@ -60,17 +60,17 @@ struct vnode;
|
||||
* without sleeping.
|
||||
*/
|
||||
struct proc {
|
||||
char *p_name; /* Name of this process */
|
||||
struct spinlock p_lock; /* Lock for this structure */
|
||||
unsigned p_numthreads; /* Number of threads in this process */
|
||||
char *p_name; /* Name of this process */
|
||||
struct spinlock p_lock; /* Lock for this structure */
|
||||
unsigned p_numthreads; /* Number of threads in this process */
|
||||
|
||||
/* VM */
|
||||
struct addrspace *p_addrspace; /* virtual address space */
|
||||
/* VM */
|
||||
struct addrspace *p_addrspace; /* virtual address space */
|
||||
|
||||
/* VFS */
|
||||
struct vnode *p_cwd; /* current working directory */
|
||||
/* VFS */
|
||||
struct vnode *p_cwd; /* current working directory */
|
||||
|
||||
/* add more material here as needed */
|
||||
/* add more material here as needed */
|
||||
};
|
||||
|
||||
/* This is the process structure for the kernel and for kernel-only threads. */
|
||||
@@ -97,5 +97,4 @@ struct addrspace *proc_getas(void);
|
||||
/* Change the address space of the current process, and return the old one. */
|
||||
struct addrspace *proc_setas(struct addrspace *);
|
||||
|
||||
|
||||
#endif /* _PROC_H_ */
|
||||
|
||||
Reference in New Issue
Block a user