Nathan Whitehorn
9a8196ce19
Remove SFBUF_OPTIONAL_DIRECT_MAP and such hacks, replacing them across the
...
kernel by PHYS_TO_DMAP() as previously present on amd64, arm64, riscv, and
powerpc64. This introduces a new MI macro (PMAP_HAS_DMAP) that can be
evaluated at runtime to determine if the architecture has a direct map;
if it does not (or does) unconditionally and PMAP_HAS_DMAP is either 0 or
1, the compiler can remove the conditional logic.
As part of this, implement PHYS_TO_DMAP() on sparc64 and mips64, which had
similar things but spelled differently. 32-bit MIPS has a partial direct-map
that maps poorly to this concept and is unchanged.
Reviewed by: kib
Suggestions from: marius, alc, kib
Runtime tested on: amd64, powerpc64, powerpc, mips64
2018-01-19 17:46:31 +00:00
..
2017-11-18 14:26:50 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:04:10 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:04:10 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-05-17 00:34:34 +00:00
2017-01-29 13:31:56 +00:00
2017-12-20 20:41:51 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-05 16:52:54 +00:00
2017-11-05 16:52:54 +00:00
2016-05-25 19:44:26 +00:00
2017-11-27 15:04:10 +00:00
2017-06-13 12:07:18 +00:00
2017-03-26 18:46:35 +00:00
2016-05-29 17:35:38 +00:00
2017-11-27 15:04:10 +00:00
2016-10-13 06:56:23 +00:00
2017-11-27 15:04:10 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-20 19:43:44 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-20 19:43:44 +00:00
2017-10-16 12:53:54 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-07-11 16:30:16 +00:00
2016-04-22 06:32:27 +00:00
2017-09-19 23:41:55 +00:00
2017-06-13 12:07:18 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:04:10 +00:00
2017-11-18 14:26:50 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:04:10 +00:00
2016-02-19 09:23:32 +00:00
2017-07-27 23:14:17 +00:00
2017-09-14 15:03:43 +00:00
2017-03-24 11:46:49 +00:00
2017-11-18 14:26:50 +00:00
2015-12-02 14:24:14 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-20 19:43:44 +00:00
2016-04-15 16:05:41 +00:00
2017-12-25 20:54:00 +00:00
2017-11-27 15:04:10 +00:00
2017-12-14 13:19:43 +00:00
2015-12-05 09:32:36 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2017-11-27 15:04:10 +00:00
2018-01-19 17:46:31 +00:00