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
@ -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…
x
Reference in New Issue
Block a user