vbefb.c (b9f3b63ab21ed5d1288de1acff511eb733201139) | vbefb.c (7ae99f80b6661760c5de3edd330b279f04b092a2) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2014 The FreeBSD Foundation 5 * 6 * This software was developed by Aleksandr Rybalko under sponsorship from the 7 * FreeBSD Foundation. 8 * --- 145 unchanged lines hidden (view full) --- 154} 155 156static void 157vt_vbefb_fini(struct vt_device *vd, void *softc) 158{ 159 struct fb_info *info = softc; 160 161 vt_fb_fini(vd, softc); | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2014 The FreeBSD Foundation 5 * 6 * This software was developed by Aleksandr Rybalko under sponsorship from the 7 * FreeBSD Foundation. 8 * --- 145 unchanged lines hidden (view full) --- 154} 155 156static void 157vt_vbefb_fini(struct vt_device *vd, void *softc) 158{ 159 struct fb_info *info = softc; 160 161 vt_fb_fini(vd, softc); |
162 pmap_unmapdev(info->fb_vbase, info->fb_size); | 162 pmap_unmapdev((void *)info->fb_vbase, info->fb_size); |
163} | 163} |