Module Name: src
Committed By: cliff
Date: Mon Mar 29 23:34:58 UTC 2010
Modified Files:
src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_cpu.c
Log Message:
- cpu_setup_trampoline_fmn() is #ifdef NOTYET until we make it work...
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/arch/mips/rmi/rmixl_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/mips/rmi/rmixl_cpu.c
diff -u src/sys/arch/mips/rmi/rmixl_cpu.c:1.1.2.8 src/sys/arch/mips/rmi/rmixl_cpu.c:1.1.2.9
--- src/sys/arch/mips/rmi/rmixl_cpu.c:1.1.2.8 Mon Mar 22 07:45:48 2010
+++ src/sys/arch/mips/rmi/rmixl_cpu.c Mon Mar 29 23:34:57 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: rmixl_cpu.c,v 1.1.2.8 2010/03/22 07:45:48 cliff Exp $ */
+/* $NetBSD: rmixl_cpu.c,v 1.1.2.9 2010/03/29 23:34:57 cliff Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -38,7 +38,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_cpu.c,v 1.1.2.8 2010/03/22 07:45:48 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_cpu.c,v 1.1.2.9 2010/03/29 23:34:57 cliff Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -326,7 +326,6 @@
}
#endif /* NOTYET */
-static uint64_t argv[4] = { 0x1234, 0x2345, 0x3456, 0x4567 }; /* XXX TMP */
static void
cpu_setup_trampoline_callback(struct device *self, struct cpu_info *ci)
@@ -398,9 +397,11 @@
static void
cpu_setup_trampoline_fmn(struct device *self, struct cpu_info *ci)
{
+#ifdef NOTYET
rmixl_fmn_msg_t msg;
intptr_t sp;
extern void rmixl_cpu_trampoline(void *);
+ static const uint64_t argv[4] = { 0x1234, 0x2345, 0x3456, 0x4567 }; /* XXX TMP */
sp = (intptr_t)malloc(4096, M_DEVBUF, M_NOWAIT);
if (sp == 0)
@@ -418,6 +419,7 @@
rmixl_fmn_msg_send(4, RMIXL_FMN_CODE_PSB_WAKEUP,
RMIXL_FMN_CORE_DESTID(ci->ci_cpuid, 0), &msg); /* XXX FIXME */
+#endif
}
#ifdef DEBUG