Module Name: src
Committed By: rmind
Date: Mon Jun 28 00:47:53 UTC 2010
Modified Files:
src/sys/arch/xen/x86: cpu.c
Log Message:
mp_cpu_start: although fragment is commented out, add pmap_update(), just
in case somebody would come up with a clever idea to copy-paste that.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/xen/x86/cpu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/x86/cpu.c
diff -u src/sys/arch/xen/x86/cpu.c:1.44 src/sys/arch/xen/x86/cpu.c:1.45
--- src/sys/arch/xen/x86/cpu.c:1.44 Tue May 4 23:27:14 2010
+++ src/sys/arch/xen/x86/cpu.c Mon Jun 28 00:47:53 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.44 2010/05/04 23:27:14 jym Exp $ */
+/* $NetBSD: cpu.c,v 1.45 2010/06/28 00:47:53 rmind Exp $ */
/* NetBSD: cpu.c,v 1.18 2004/02/20 17:35:01 yamt Exp */
/*-
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.44 2010/05/04 23:27:14 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.45 2010/06/28 00:47:53 rmind Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -934,8 +934,12 @@
dwordptr[1] = target >> 4;
pmap_kenter_pa (0, 0, VM_PROT_READ|VM_PROT_WRITE, 0);
+ pmap_update(pmap_kernel());
+
memcpy ((uint8_t *) 0x467, dwordptr, 4);
+
pmap_kremove (0, PAGE_SIZE);
+ pmap_update(pmap_kernel());
#if NLAPIC > 0
/*