diff --git a/sys/arm/include/pmap-v6.h b/sys/arm/include/pmap-v6.h index 10296db2ccbf..9c586155c121 100644 --- a/sys/arm/include/pmap-v6.h +++ b/sys/arm/include/pmap-v6.h @@ -166,7 +166,6 @@ extern ttb_entry_t pmap_kern_ttb; /* TTB for kernel pmap */ void pmap_bootstrap(vm_offset_t); void pmap_kenter(vm_offset_t, vm_paddr_t); void pmap_kremove(vm_offset_t); -void *pmap_mapdev_attr(vm_paddr_t, vm_size_t, int); boolean_t pmap_page_is_mapped(vm_page_t); void pmap_tlb_flush(pmap_t, vm_offset_t); diff --git a/sys/arm/include/pmap.h b/sys/arm/include/pmap.h index 044483ddace7..5debffcef51c 100644 --- a/sys/arm/include/pmap.h +++ b/sys/arm/include/pmap.h @@ -53,6 +53,12 @@ void pmap_page_set_memattr(vm_page_t, vm_memattr_t); void *pmap_mapdev(vm_paddr_t, vm_size_t); void pmap_unmapdev(vm_offset_t, vm_size_t); +static inline void * +pmap_mapdev_attr(vm_paddr_t addr, vm_size_t size, int attr) +{ + panic("%s is not implemented yet!\n", __func__); +} + struct pcb; void pmap_set_pcb_pagedir(pmap_t, struct pcb *);