diff options
author | jake <jake@FreeBSD.org> | 2000-12-13 09:23:53 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-12-13 09:23:53 +0000 |
commit | 90d90d0c248fbcde27a7d443098c2bf514aaa199 (patch) | |
tree | 48852dbfa3490f6dfe3145145122f26ee2991cd5 /sys/vm/vm_map.c | |
parent | 46b93fb7883b21c43eeac8eb6f58b1288edb2518 (diff) | |
download | FreeBSD-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/vm/vm_map.c')
0 files changed, 0 insertions, 0 deletions