svn commit: r221136 - projects/altix/sys/ia64/ia64

Marcel Moolenaar marcel at FreeBSD.org
Wed Apr 27 19:50:21 UTC 2011


Author: marcel
Date: Wed Apr 27 19:50:20 2011
New Revision: 221136
URL: http://svn.freebsd.org/changeset/base/221136

Log:
  Do not register the OS boot rendezvous entry point here/now.
  We want to pass a GP value that is useful during the wakeup,
  such as the physical address of a structure containing all
  the information and state necessary to bootstrap an AP.
  As such, it's better done in mp_machdep.c.

Modified:
  projects/altix/sys/ia64/ia64/sal.c

Modified: projects/altix/sys/ia64/ia64/sal.c
==============================================================================
--- projects/altix/sys/ia64/ia64/sal.c	Wed Apr 27 19:46:57 2011	(r221135)
+++ projects/altix/sys/ia64/ia64/sal.c	Wed Apr 27 19:50:20 2011	(r221136)
@@ -101,10 +101,6 @@ ia64_sal_init(void)
 		}
 		case 5: {
 			struct sal_ap_wakeup_descriptor *dp;
-#ifdef SMP
-			struct ia64_sal_result result;
-			struct ia64_fdesc *fd;
-#endif
 
 			dp = (struct sal_ap_wakeup_descriptor*)p;
 			if (dp->sale_mechanism != 0) {
@@ -126,14 +122,6 @@ ia64_sal_init(void)
 			if (bootverbose)
 				printf("SAL: AP wake-up XIV: %#x\n",
 				    ia64_ipi_wakeup);
-
-#ifdef SMP
-			fd = (struct ia64_fdesc *) os_boot_rendez;
-			result = ia64_sal_entry(SAL_SET_VECTORS,
-			    SAL_OS_BOOT_RENDEZ, ia64_tpa(fd->func),
-			    ia64_tpa(fd->gp), 0, 0, 0, 0);
-#endif
-
 			break;
 		}
 		}


More information about the svn-src-projects mailing list