summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb/vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fb/vesa.c')
-rw-r--r--sys/dev/fb/vesa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c
index 13f03f7..96b9943 100644
--- a/sys/dev/fb/vesa.c
+++ b/sys/dev/fb/vesa.c
@@ -1528,12 +1528,12 @@ vesa_blank_display(video_adapter_t *adp, int mode)
}
static int
-vesa_mmap(video_adapter_t *adp, vm_offset_t offset, vm_paddr_t *paddr,
- int prot)
+vesa_mmap(video_adapter_t *adp, vm_ooffset_t offset, vm_paddr_t *paddr,
+ int prot, vm_memattr_t *memattr)
{
#if VESA_DEBUG > 0
- printf("vesa_mmap(): window:0x%tx, buffer:0x%tx, offset:0x%tx\n",
+ printf("vesa_mmap(): window:0x%tx, buffer:0x%tx, offset:0x%jx\n",
adp->va_info.vi_window, adp->va_info.vi_buffer, offset);
#endif
@@ -1546,7 +1546,7 @@ vesa_mmap(video_adapter_t *adp, vm_offset_t offset, vm_paddr_t *paddr,
*paddr = adp->va_info.vi_buffer + offset;
return (0);
}
- return ((*prevvidsw->mmap)(adp, offset, paddr, prot));
+ return ((*prevvidsw->mmap)(adp, offset, paddr, prot, memattr));
}
static int
OpenPOWER on IntegriCloud