PERFORCE change 94525 for review

Kip Macy kmacy at FreeBSD.org
Mon Apr 3 07:38:07 UTC 2006


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

Change 94525 by kmacy at kmacy_storage:sun4v_work on 2006/04/03 07:37:31

	drop cpumask down to 32-bits the rest of freebsd hardcodes the ASSumption
	move tte_t typedef

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/_types.h#3 edit
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/tte.h#7 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/_types.h#3 (text+ko) ====

@@ -55,7 +55,7 @@
  * Standard type definitions.
  */
 typedef	__int32_t	__clock_t;		/* clock()... */
-typedef	__uint64_t	__cpumask_t;
+typedef	__uint32_t	__cpumask_t;
 typedef	__int64_t	__critical_t;
 typedef	double		__double_t;
 typedef	float		__float_t;
@@ -108,4 +108,6 @@
 typedef __va_list		__gnuc_va_list;	/* compatibility w/GNU headers*/
 #endif
 
+typedef __uint64_t      tte_t;
+
 #endif /* !_MACHINE__TYPES_H_ */

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/tte.h#7 (text+ko) ====

@@ -228,8 +228,6 @@
 
 struct pmap;
 
-typedef uint64_t tte_t;
-
 void tte_clear_phys_bit(vm_page_t m, uint64_t flags);
 
 void tte_set_phys_bit(vm_page_t m, uint64_t flags);


More information about the p4-projects mailing list