From ff2712ba8938afe204dcbb0b50036b36fe057c42 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 28 Apr 2011 17:20:35 +0200 Subject: Fix typos in comments (interupt -> interrupt) Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- cpu-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index 395cd8cf90..2cdcdc5e76 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -569,7 +569,7 @@ int cpu_exec(CPUState *env1) next_tb = 0; } #endif - /* Don't use the cached interupt_request value, + /* Don't use the cached interrupt_request value, do_interrupt may have updated the EXITTB flag. */ if (env->interrupt_request & CPU_INTERRUPT_EXITTB) { env->interrupt_request &= ~CPU_INTERRUPT_EXITTB; -- cgit v1.2.3 From a1c7273b82dc084d85e2344e0562f5ee4e414d59 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 28 Apr 2011 17:20:38 +0200 Subject: Fix typos in comments and code (occured -> occurred and related) The code changed here is an unused data type name (evt_flush_occurred). Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- cpu-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index 2cdcdc5e76..1b20f7b22b 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -509,7 +509,7 @@ int cpu_exec(CPUState *env1) jump normally, then does the exception return when the CPU tries to execute code at the magic address. This will cause the magic PC value to be pushed to - the stack if an interrupt occured at the wrong time. + the stack if an interrupt occurred at the wrong time. We avoid this by disabling interrupts when pc contains a magic address. */ if (interrupt_request & CPU_INTERRUPT_HARD -- cgit v1.2.3