PERFORCE change 29449 for review

Peter Wemm peter at FreeBSD.org
Tue Apr 22 14:14:17 PDT 2003


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

Change 29449 by peter at peter_daintree on 2003/04/22 14:13:16

	stub out the asm macros for pcpu stuff as well (for now)

Affected files ...

.. //depot/projects/hammer/sys/x86_64/include/asmacros.h#4 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/include/asmacros.h#4 (text+ko) ====

@@ -64,9 +64,13 @@
 #define NON_GPROF_RET		.byte 0xc3	/* opcode for `ret' */
 
 #ifdef LOCORE
+#if 0
 #define	PCPU(member)	%fs:PC_ ## member
 #define	PCPU_ADDR(member, reg)	movq %fs:PC_PRVSPACE,reg; \
 			addq $PC_ ## member,reg
+#else
+#define PCPU(member)	__pcpu + PC_ ## member
+#endif
 #endif
 
 #ifdef GPROF


More information about the p4-projects mailing list