Clean up handling of stack frames.
[pintos-anon] / src / threads / thread.h
index a9b3251249d11f6415065866cda95032f9a67194..8a0df6e254052ff7c8a8ee1b44fda01876fc1e4e 100644 (file)
@@ -20,7 +20,7 @@ struct thread
   {
     enum thread_status status;
     char name[16];
-    uint32_t *stack;
+    uint8_t *stack;
     list_elem rq_elem;
 #ifdef USERPROG
     struct addrspace addrspace;
@@ -35,7 +35,7 @@ void thread_destroy (struct thread *);
 struct thread *thread_current (void);
 
 #ifdef USERPROG
-void thread_execute (const char *filename);
+bool thread_execute (const char *filename);
 #endif
 
 void thread_start (struct thread *);