diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-04-23 17:05:54 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-04-23 17:05:54 +0000 |
| commit | fe3e92e6868dce2ed94c98428b8df1f27ed3ef63 (patch) | |
| tree | 027b31b44e12081aab6c139aedb8b2a6a11bd86d /sys/arm | |
| parent | c49cbf849dee9121ed3b972df56d240068d0423e (diff) | |
Diffstat (limited to 'sys/arm')
| -rw-r--r-- | sys/arm/include/vmparam.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h index 03145d7e322a..712b9124b795 100644 --- a/sys/arm/include/vmparam.h +++ b/sys/arm/include/vmparam.h @@ -183,7 +183,8 @@ extern vm_offset_t vm_max_kernel_address; #define SFBUF_MAP #define PMAP_HAS_DMAP 0 -#define PHYS_TO_DMAP(x) ({ panic("No direct map exists"); 0; }) +#define PHYS_TO_DMAP_ADDR(x) ({ panic("No direct map exists"); 0; }) +#define PHYS_TO_DMAP(x) ((void *)PHYS_TO_DMAP_ADDR(x)) #define DMAP_TO_PHYS(x) ({ panic("No direct map exists"); 0; }) #define DEVMAP_MAX_VADDR ARM_VECTORS_HIGH |
