Date: Fri, 19 Feb 2021 20:56:11 GMT From: "Alfredo Dal'Ava Junior" <alfredo@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: a78bb831a17f - main - fbio: Use appropriate types for the physical and virtual framebuffer address Message-ID: <202102192056.11JKuBlj072356@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by alfredo: URL: https://cgit.FreeBSD.org/src/commit/?id=a78bb831a17f9ba4b3d833ae6a9c2ce4f5cb5d1e commit a78bb831a17f9ba4b3d833ae6a9c2ce4f5cb5d1e Author: Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> AuthorDate: 2021-02-19 23:50:50 +0000 Commit: Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> CommitDate: 2021-02-19 23:55:54 +0000 fbio: Use appropriate types for the physical and virtual framebuffer address Use appropriate types for the physical and virtual framebuffer address. Fixes framebuffers mapped above 4G physical on 32-bit systems that support physical address extensions like i386 and Book-E powerpc. Patch developed by bdragon Reviewed by: bdragon, luporl Relnotes: yes Differential Revision: https://reviews.freebsd.org/D28604 --- sys/sys/fbio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h index 4cc0cc6debba..3b47b11345cf 100644 --- a/sys/sys/fbio.h +++ b/sys/sys/fbio.h @@ -136,8 +136,8 @@ struct fb_info { fb_leave_t *leave; fb_setblankmode_t *setblankmode; - uintptr_t fb_pbase; /* For FB mmap. */ - uintptr_t fb_vbase; /* if NULL, use fb_write/fb_read. */ + vm_paddr_t fb_pbase; /* For FB mmap. */ + vm_offset_t fb_vbase; /* if NULL, use fb_write/fb_read. */ void *fb_priv; /* First argument for read/write. */ const char *fb_name; uint32_t fb_flags;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102192056.11JKuBlj072356>