clang-format

This commit is contained in:
2024-09-10 13:03:02 -04:00
parent 53c617d779
commit d66450e427
381 changed files with 28864 additions and 34170 deletions

View File

@@ -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_ */