WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [IA64] NR_hypercalls definition on IA64

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [IA64] NR_hypercalls definition on IA64
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 May 2006 12:44:33 +0000
Delivery-date: Tue, 23 May 2006 05:49:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID d4fa337df8731f1a58a7eebc91cc722d0255c49e
# Parent  08bc4e5ac625d028a38ed0b286a0198e171450dd
[IA64] NR_hypercalls definition on IA64

This is a patch for NR_hypercalls definition.
It effects (on IA64)
1)xenperf work 
2)make perfc=y compile succeed.

At this moment, xenperf@IA64 can monitor 3 counters.
sched: timer
sched: runs through scheduler
sched: context switches

This code is just moved from 
xen/include/asm-x86/config.h

Signed-off-by: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
---
 xen/include/asm-ia64/config.h |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r 08bc4e5ac625 -r d4fa337df873 xen/include/asm-ia64/config.h
--- a/xen/include/asm-ia64/config.h     Thu May 11 13:06:23 2006 -0600
+++ b/xen/include/asm-ia64/config.h     Thu May 11 13:13:37 2006 -0600
@@ -97,6 +97,13 @@ extern char _end[]; /* standard ELF symb
 //#define HZ 1000
 // FIXME SMP: leave SMP for a later time
 
+/* A power-of-two value greater than or equal to number of hypercalls. */
+#define NR_hypercalls 64
+
+#if NR_hypercalls & (NR_hypercalls - 1)
+#error "NR_hypercalls must be a power-of-two value"
+#endif
+
 ///////////////////////////////////////////////////////////////
 // xen/include/asm/config.h
 // Natural boundary upon TR size to define xenheap space

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] NR_hypercalls definition on IA64, Xen patchbot-unstable <=