Commit 3a8d0f64 authored by benkma's avatar benkma
Browse files

Updated Code

parent 6610fd13
...@@ -40,10 +40,7 @@ proc::~proc() { ...@@ -40,10 +40,7 @@ proc::~proc() {
} }
bool proc::isUserProcess(){ bool proc::isUserProcess(){
if(this->pagetable_->entry[256] == early_pagetable->entry[256]) { return pagetable_ != early_pagetable;
return true;
}
return false;
} }
// proc::init_user(pid, pt) // proc::init_user(pid, pt)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment