From 6fbc1fa90b0d41153f004b1772ad8975d3a69f13 Mon Sep 17 00:00:00 2001 From: ArchStacker Date: Sun, 7 Jun 2015 08:03:34 +0800 Subject: [PATCH] Correct the wrong spelling of put_pgdir --- labcodes/lab5/kern/process/proc.c | 2 +- labcodes/lab6/kern/process/proc.c | 2 +- labcodes/lab7/kern/process/proc.c | 2 +- labcodes/lab8/kern/process/proc.c | 2 +- labcodes_answer/lab5_result/kern/process/proc.c | 2 +- labcodes_answer/lab6_result/kern/process/proc.c | 2 +- labcodes_answer/lab7_result/kern/process/proc.c | 2 +- labcodes_answer/lab8_result/kern/process/proc.c | 2 +- related_info/lab5/lab5-spoc-discuss/kern/process/proc.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/labcodes/lab5/kern/process/proc.c b/labcodes/lab5/kern/process/proc.c index 569728a..e6ff1f3 100644 --- a/labcodes/lab5/kern/process/proc.c +++ b/labcodes/lab5/kern/process/proc.c @@ -615,7 +615,7 @@ bad_mm: goto out; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, size_t len, unsigned char *binary, size_t size) { diff --git a/labcodes/lab6/kern/process/proc.c b/labcodes/lab6/kern/process/proc.c index 874e835..54aea05 100644 --- a/labcodes/lab6/kern/process/proc.c +++ b/labcodes/lab6/kern/process/proc.c @@ -625,7 +625,7 @@ bad_mm: goto out; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, size_t len, unsigned char *binary, size_t size) { diff --git a/labcodes/lab7/kern/process/proc.c b/labcodes/lab7/kern/process/proc.c index 1929aa0..33821f7 100644 --- a/labcodes/lab7/kern/process/proc.c +++ b/labcodes/lab7/kern/process/proc.c @@ -625,7 +625,7 @@ bad_mm: goto out; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, size_t len, unsigned char *binary, size_t size) { diff --git a/labcodes/lab8/kern/process/proc.c b/labcodes/lab8/kern/process/proc.c index 2288968..fc239eb 100644 --- a/labcodes/lab8/kern/process/proc.c +++ b/labcodes/lab8/kern/process/proc.c @@ -609,7 +609,7 @@ failed_cleanup: return ret; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, int argc, const char **argv) { diff --git a/labcodes_answer/lab5_result/kern/process/proc.c b/labcodes_answer/lab5_result/kern/process/proc.c index 8f4c2e7..31e42ad 100644 --- a/labcodes_answer/lab5_result/kern/process/proc.c +++ b/labcodes_answer/lab5_result/kern/process/proc.c @@ -647,7 +647,7 @@ bad_mm: goto out; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, size_t len, unsigned char *binary, size_t size) { diff --git a/labcodes_answer/lab6_result/kern/process/proc.c b/labcodes_answer/lab6_result/kern/process/proc.c index 0b47a0d..993869c 100644 --- a/labcodes_answer/lab6_result/kern/process/proc.c +++ b/labcodes_answer/lab6_result/kern/process/proc.c @@ -653,7 +653,7 @@ bad_mm: goto out; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, size_t len, unsigned char *binary, size_t size) { diff --git a/labcodes_answer/lab7_result/kern/process/proc.c b/labcodes_answer/lab7_result/kern/process/proc.c index 98090e0..9431cf6 100644 --- a/labcodes_answer/lab7_result/kern/process/proc.c +++ b/labcodes_answer/lab7_result/kern/process/proc.c @@ -667,7 +667,7 @@ bad_mm: goto out; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, size_t len, unsigned char *binary, size_t size) { diff --git a/labcodes_answer/lab8_result/kern/process/proc.c b/labcodes_answer/lab8_result/kern/process/proc.c index f3f3ca9..6182379 100644 --- a/labcodes_answer/lab8_result/kern/process/proc.c +++ b/labcodes_answer/lab8_result/kern/process/proc.c @@ -801,7 +801,7 @@ failed_cleanup: return ret; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, int argc, const char **argv) { diff --git a/related_info/lab5/lab5-spoc-discuss/kern/process/proc.c b/related_info/lab5/lab5-spoc-discuss/kern/process/proc.c index 8f4c2e7..31e42ad 100644 --- a/related_info/lab5/lab5-spoc-discuss/kern/process/proc.c +++ b/related_info/lab5/lab5-spoc-discuss/kern/process/proc.c @@ -647,7 +647,7 @@ bad_mm: goto out; } -// do_execve - call exit_mmap(mm)&pug_pgdir(mm) to reclaim memory space of current process +// do_execve - call exit_mmap(mm)&put_pgdir(mm) to reclaim memory space of current process // - call load_icode to setup new memory space accroding binary prog. int do_execve(const char *name, size_t len, unsigned char *binary, size_t size) {