Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 19:25:57 GMT
From:      Arnar Mar Sig <antab@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 158593 for review
Message-ID:  <200903021925.n22JPv9c030815@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 158593 by antab@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



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