summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-03 19:51:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-03 19:51:57 +0000
commit1235fc066ac7146bb3ed8ae97efeb710bb57644a (patch)
tree6c9b3759440f9030b7ee796b69af5467a8c26c6a /target-i386
parentc8a706fe6242a553960ccc3071a4e75ceba6f3d2 (diff)
downloadqemu-1235fc066ac7146bb3ed8ae97efeb710bb57644a.zip
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')
-rw-r--r--target-i386/cpu.h2
-rw-r--r--target-i386/op_helper.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 56cdd97506..d9253a14ed 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -351,7 +351,7 @@
enum {
CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */
- CC_OP_EFLAGS, /* all cc are explicitely computed, CC_SRC = flags */
+ CC_OP_EFLAGS, /* all cc are explicitly computed, CC_SRC = flags */
CC_OP_MULB, /* modify all flags, C, O = (CC_SRC != 0) */
CC_OP_MULW,
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),