Commit 3a8d0f64 authored by benkma's avatar benkma

Updated Code

parent 6610fd13
......@@ -40,10 +40,7 @@ proc::~proc() {
}
bool proc::isUserProcess(){
if(this->pagetable_->entry[256] == early_pagetable->entry[256]) {
return true;
}
return false;
return pagetable_ != early_pagetable;
}
// proc::init_user(pid, pt)
......
Markdown is supported
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