PERFORCE change 158593 for review

Arnar Mar Sig antab at FreeBSD.org
Mon Mar 2 11:26:02 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=158593

Change 158593 by antab at antab_farm on 2009/03/02 19:25:27

	Move readX and writeX around to make world build
	Add avr32 to gprof

Affected files ...

.. //depot/projects/avr32/src/sys/avr32/include/cpufunc.h#4 edit
.. //depot/projects/avr32/src/usr.bin/gprof/avr32.h#1 add
.. //depot/projects/avr32/src/usr.bin/gprof/gprof.h#2 edit

Differences ...

==== //depot/projects/avr32/src/sys/avr32/include/cpufunc.h#4 (text+ko) ====

@@ -34,6 +34,11 @@
 
 #include <sys/types.h>
 
+register_t intr_disable(void);
+void intr_restore(register_t s);
+
+#endif	/* _KERNEL */
+
 #define readb(va)	(*(volatile uint8_t *) (va))
 #define readw(va)	(*(volatile uint16_t *) (va))
 #define readl(va)	(*(volatile uint32_t *) (va))
@@ -42,11 +47,6 @@
 #define writew(va, d)	(*(volatile uint16_t *) (va) = (d))
 #define writel(va, d)	(*(volatile uint32_t *) (va) = (d))
 
-register_t intr_disable(void);
-void intr_restore(register_t s);
-
-#endif	/* _KERNEL */
-
 static __inline void
 breakpoint(void)
 {

==== //depot/projects/avr32/src/usr.bin/gprof/gprof.h#2 (text+ko) ====

@@ -47,6 +47,9 @@
 #if __arm__
 #   include "arm.h"
 #endif
+#if __avr32__
+#   include "avr32.h"
+#endif
 #if __i386__
 #   include "i386.h"
 #endif


More information about the p4-projects mailing list