summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-12-13 09:23:53 +0000
committerjake <jake@FreeBSD.org>2000-12-13 09:23:53 +0000
commit90d90d0c248fbcde27a7d443098c2bf514aaa199 (patch)
tree48852dbfa3490f6dfe3145145122f26ee2991cd5 /sys/netinet6/in6.h
parent46b93fb7883b21c43eeac8eb6f58b1288edb2518 (diff)
downloadFreeBSD-src-90d90d0c248fbcde27a7d443098c2bf514aaa199.zip
FreeBSD-src-90d90d0c248fbcde27a7d443098c2bf514aaa199.tar.gz
Introduce a new potientially cleaner interface for accessing per-cpu
variables from i386 assembly language. The syntax is PCPU(member) where member is the capitalized name of the per-cpu variable, without the gd_ prefix. Example: movl %eax,PCPU(CURPROC). The capitalization is due to using the offsets generated by genassym rather than the symbols provided by linking with globals.o. asmacros.h is the wrong place for this but it seemed as good a place as any for now. The old implementation in asnames.h has not been removed because it is still used to de-mangle the symbols used by the C variables for the UP case.
Diffstat (limited to 'sys/netinet6/in6.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud