#include "threads/flags.h"
#include "threads/init.h"
#include "threads/interrupt.h"
-#include "threads/mmu.h"
#include "threads/palloc.h"
#include "threads/thread.h"
+#include "threads/vaddr.h"
static thread_func execute_thread NO_RETURN;
static bool load (const char *cmdline, void (**eip) (void), void **esp);
or disk read error occurs. */
static bool
load_segment (struct file *file, off_t ofs, uint8_t *upage,
- uint32_t read_bytes, uint32_t zero_bytes,
- bool writable)
+ uint32_t read_bytes, uint32_t zero_bytes, bool writable)
{
ASSERT ((read_bytes + zero_bytes) % PGSIZE == 0);
ASSERT (pg_ofs (upage) == 0);