#include <list.h>
#include <stdint.h>
-#ifdef USERPROG
-#include "userprog/addrspace.h"
-#endif
-
/* States in a thread's life cycle. */
enum thread_status
{
list_elem elem; /* List element. */
#ifdef USERPROG
- /* Owned by userprog/addrspace.c. */
+ /* Owned by userprog/process.c. */
uint32_t *pagedir; /* Page directory. */
#endif
typedef void thread_func (void *aux);
tid_t thread_create (const char *name, int priority, thread_func *, void *);
-#ifdef USERPROG
-tid_t thread_execute (const char *filename);
-#endif
void thread_unblock (struct thread *);