jhibbits ce282b868b Use unsigned intptr_t type for framebuffer addresses
Summary:
Some architectures (powerpc Book-E) have a vm_paddr_t larger than intptr_t.
Casting from the intptr_t to vm_paddr_t causes sign extension, leading to a
potentially invalid address.

This was seen when running X on a PowerPC P1022 machine, which mapped the
backing framebuffer at 0xc1800000.  When mmap()d by X, this yielded an invalid
address of 0xffffffffc1800000, or, as the hardware would see it, 0xfc1800000.

Reviewed By: ray
Differential Revision: https://reviews.freebsd.org/D13332
2017-12-06 02:05:21 +00:00
..
2017-11-28 18:23:17 +00:00
2017-12-05 21:21:23 +00:00
2017-12-04 13:28:56 +00:00
2017-12-06 00:44:49 +00:00
2017-11-30 20:33:45 +00:00
2017-12-01 22:51:02 +00:00
2017-05-09 05:08:47 +00:00
2017-11-30 20:33:45 +00:00