Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 14:14:15 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 29449 for review
Message-ID:  <200304222114.h3MLEFmC096056@repoman.freebsd.org>

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

Change 29449 by peter@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



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