mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Set hw.ofwfb.relax_mmap=1 by default. While these checks may be a good
idea in principle, X does not work without them on basically any hardware, and this is probably the most frequent problem people run into on PowerPC. Prodded by: rnoland MFC after: 1 week
This commit is contained in:
parent
435d267423
commit
e0cbed6815
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205795
@ -55,10 +55,10 @@ __FBSDID("$FreeBSD$");
|
||||
#include <dev/ofw/ofw_pci.h>
|
||||
#include <powerpc/ofw/ofw_syscons.h>
|
||||
|
||||
static int ofwfb_ignore_mmap_checks;
|
||||
static int ofwfb_ignore_mmap_checks = 1;
|
||||
SYSCTL_NODE(_hw, OID_AUTO, ofwfb, CTLFLAG_RD, 0, "ofwfb");
|
||||
SYSCTL_INT(_hw_ofwfb, OID_AUTO, relax_mmap, CTLFLAG_RW,
|
||||
&ofwfb_ignore_mmap_checks, 0, "relax mmap bounds checking");
|
||||
&ofwfb_ignore_mmap_checks, 0, "relaxed mmap bounds checking");
|
||||
|
||||
extern u_char dflt_font_16[];
|
||||
extern u_char dflt_font_14[];
|
||||
|
Loading…
Reference in New Issue
Block a user