summaryrefslogtreecommitdiff
path: root/sys/netmpls
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-12-25 21:02:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-12-25 21:02:19 +0000
commit3836ca8306b726cffaf7e80d5dfb0a635b09c6b0 (patch)
treeadd3a4bf286f00beaa238d506fad53482f7f0d2e /sys/netmpls
parentca308c11ec65dd43d8b9a8592692d0479e41c60b (diff)
Pass both the virtual address and the physical address of the memory range
when invoking the cache functions. The physical address is needed when operating on physically-indexed caches, such as the L2 cache on Loongson processors. Preprocessor abuse makes sure that the physical address computation gets compiled out when running on a kernel compiled for virtually-indexed caches only, such as the sgi kernel.
Diffstat (limited to 'sys/netmpls')
0 files changed, 0 insertions, 0 deletions