Allow setting a couple of EFLAGS bits.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11534 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -97,7 +97,8 @@ arch_set_debug_cpu_state(const struct debug_cpu_state *cpuState)
|
||||
// frame->error_code = cpuState->error_code;
|
||||
frame->eip = cpuState->eip;
|
||||
// frame->cs = cpuState->cs;
|
||||
// frame->eflags = cpuState->flags;
|
||||
frame->flags = (frame->flags & ~X86_EFLAGS_USER_SETTABLE_FLAGS)
|
||||
| (cpuState->eflags & X86_EFLAGS_USER_SETTABLE_FLAGS);
|
||||
frame->user_esp = cpuState->user_esp;
|
||||
// frame->user_ss = cpuState->user_ss;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user