]> xenbits.xensource.com Git - xen.git/commit
xen/mm: Introduce mm-types.h
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 25 Apr 2025 10:20:09 +0000 (11:20 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 May 2025 23:02:42 +0000 (00:02 +0100)
commit08d03e12d3ab5b00ac3e0e0add695659e1c879b3
treedb2f447d7644e74468990b256b462c03f84ef442
parent2ad413f031f061c72a170f8822158133aab40328
xen/mm: Introduce mm-types.h

The type used for pagetable attributes/permissions is currently unsigned int,
but needs to become architecture dependent as PPC needs unsigned long.

Introduce mm-types.h to house pte_attr_t.

Given the new toolchain baseline, we can use __has_include() now to remove the
need for boilerplate on most architectures.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/xen/mm-types.h [new file with mode: 0644]