Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 20:16:20 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 14361 for review
Message-ID:  <200207170316.g6H3GKKB057901@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14361

Change 14361 by peter@peter_ia64 on 2002/07/16 20:15:30

	Make this compile on ia64.
	Note that we cannot abuse 'struct trapframe' for this.

Affected files ...

.. //depot/projects/ia64/sys/kern/kern_thread.c#2 edit

Differences ...

==== //depot/projects/ia64/sys/kern/kern_thread.c#2 (text+ko) ====

@@ -51,6 +51,15 @@
 #include <vm/uma.h>
 #include <vm/vm_map.h>
 
+#ifdef __ia64__
+/*
+ * We cannot use 'struct trapframe' for KSE.
+ */
+struct trapframe {
+	int not_bloody_likely;
+};
+#endif
+
 /*
  * Thread related storage.
  */
@@ -266,6 +275,9 @@
 	void *addr2;
 	int error;
 
+#ifdef __ia64__
+	td2_mbx = 0;		/* pacify gcc */
+#endif
 	/* Export the register contents. */
 	error = cpu_export_context(td);
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207170316.g6H3GKKB057901>