Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/i386 xen_shm_size isn't patchable because _xen_...



details:   https://anonhg.NetBSD.org/src/rev/52eee6647434
branches:  trunk
changeset: 581970:52eee6647434
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Jun 12 14:59:48 2005 +0000

description:
xen_shm_size isn't patchable because _xen_shm_vaddr2ma[] is static, so
remove comment saying it is. Pointed out by Jed Davis.

diffstat:

 sys/arch/xen/i386/xen_shm_machdep.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r 0ca066bad477 -r 52eee6647434 sys/arch/xen/i386/xen_shm_machdep.c
--- a/sys/arch/xen/i386/xen_shm_machdep.c       Sun Jun 12 12:30:25 2005 +0000
+++ b/sys/arch/xen/i386/xen_shm_machdep.c       Sun Jun 12 14:59:48 2005 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xen_shm_machdep.c,v 1.8 2005/05/10 20:36:01 bouyer Exp $      */
+/*      $NetBSD: xen_shm_machdep.c,v 1.9 2005/06/12 14:59:48 bouyer Exp $      */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -63,10 +63,8 @@
 vaddr_t xen_shm_base_address;
 u_long xen_shm_base_address_pg;
 vaddr_t xen_shm_end_address;
-/*
- * Grab enouth VM space to map an entire vbd ring. Make it a variable to that
- * it can be patched in the binary.
- */
+
+/* Grab enouth VM space to map an entire vbd ring. */
 #define XENSHM_MAX_PAGES_PER_REQUEST (BLKIF_MAX_SEGMENTS_PER_REQUEST + 1)
 
 vsize_t xen_shm_size =



Home | Main Index | Thread Index | Old Index