Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2006 07:42:50 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 92575 for review
Message-ID:  <200603010742.k217gooT007240@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92575

Change 92575 by kmacy@kmacy_storage:sun4v_work on 2006/03/01 07:42:21

	it suffices to set the trap through OF

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/trap.c#6 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/trap.c#6 (text+ko) ====

@@ -233,17 +233,15 @@
     &debugger_on_signal, 0, "");
 #endif
 
-
 void 
 trap_init(void)
 {
 	vm_paddr_t mmfsa;
-
 	mmfsa = mmu_fault_status_area + (MMFSA_SIZE*PCPU_GET(cpuid));
 	set_wstate(WSTATE_KERN);
 	set_mmfsa_scratchpad(mmfsa);
-	OF_set_mmfsa_traptable(tl0_base, mmfsa);
-	set_tba(tl0_base);
+
+	OF_set_mmfsa_traptable(&tl0_base, mmfsa);
 	pmap_set_tsbs();
 }
 



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