diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-03 19:51:57 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-03 19:51:57 +0000 |
commit | 1235fc066ac7146bb3ed8ae97efeb710bb57644a (patch) | |
tree | 6c9b3759440f9030b7ee796b69af5467a8c26c6a /target-i386/op_helper.c | |
parent | c8a706fe6242a553960ccc3071a4e75ceba6f3d2 (diff) |
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4655 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op_helper.c')
-rw-r--r-- | target-i386/op_helper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 5e78494917..83fa69a136 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -689,7 +689,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code, } dpl = (e2 >> DESC_DPL_SHIFT) & 3; cpl = env->hflags & HF_CPL_MASK; - /* check privledge if software int */ + /* check privilege if software int */ if (is_int && dpl < cpl) raise_exception_err(EXCP0D_GPF, intno * 8 + 2); /* check valid bit */ @@ -900,7 +900,7 @@ static void do_interrupt64(int intno, int is_int, int error_code, } dpl = (e2 >> DESC_DPL_SHIFT) & 3; cpl = env->hflags & HF_CPL_MASK; - /* check privledge if software int */ + /* check privilege if software int */ if (is_int && dpl < cpl) raise_exception_err(EXCP0D_GPF, intno * 16 + 2); /* check valid bit */ @@ -1166,7 +1166,7 @@ void do_interrupt_user(int intno, int is_int, int error_code, dpl = (e2 >> DESC_DPL_SHIFT) & 3; cpl = env->hflags & HF_CPL_MASK; - /* check privledge if software int */ + /* check privilege if software int */ if (is_int && dpl < cpl) raise_exception_err(EXCP0D_GPF, (intno << shift) + 2); @@ -2698,7 +2698,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend) sp += addend; if (rpl == cpl && (!(env->hflags & HF_CS64_MASK) || ((env->hflags & HF_CS64_MASK) && !is_iret))) { - /* return to same priledge level */ + /* return to same privilege level */ cpu_x86_load_seg_cache(env, R_CS, new_cs, get_seg_base(e1, e2), get_seg_limit(e1, e2), |