Page MenuHomeFreeBSD

D13331.diff
No OneTemporary

D13331.diff

Index: head/sys/dev/vt/hw/fb/vt_fb.c
===================================================================
--- head/sys/dev/vt/hw/fb/vt_fb.c
+++ head/sys/dev/vt/hw/fb/vt_fb.c
@@ -143,8 +143,11 @@
*paddr = vtophys((uint8_t *)info->fb_vbase + offset);
} else {
*paddr = info->fb_pbase + offset;
+ if (info->fb_flags & FB_FLAG_MEMATTR)
+ *memattr = info->fb_memattr;
#ifdef VM_MEMATTR_WRITE_COMBINING
- *memattr = VM_MEMATTR_WRITE_COMBINING;
+ else
+ *memattr = VM_MEMATTR_WRITE_COMBINING;
#endif
}
return (0);

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 27, 6:04 AM (56 m, 34 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28051376
Default Alt Text
D13331.diff (537 B)

Event Timeline