1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/dev/ofw
Zbigniew Bodek a83592093c Fix bug in xrefinfo_find() for 64-bit platforms
uintptr_t may be 64-bit on some platforms, therefore when
finding xrefinfo by pointer to device the high word is being
cut off due to cast to phandle_t which is 32-bit long by definition.
Due to that we loose the high word of the address to compare with
xi->dev's address.
To fix that, first argument of xrefinfo_find() is extended to
uintptr_t and is being cast to appropriate type (phandle_t)
when compared.

Submitted by:  Zbigniew Bodek <zbb@semihalf.com>
Reviewed by:   nwhitehorn
Obtained from: Semihalf
2015-03-30 09:49:54 +00:00
..
ofw_bus_if.m
ofw_bus_subr.c
ofw_bus_subr.h
ofw_bus.h
ofw_console.c
ofw_cpu.c
ofw_cpu.h
ofw_disk.c
ofw_fdt.c
ofw_if.m
ofw_iicbus.c
ofw_pci.h
ofw_standard.c
ofwbus.c Make simplebus a base class of ofwbus. This allows the elimination of 2015-03-27 23:10:15 +00:00
ofwvar.h
openfirm.c Fix bug in xrefinfo_find() for 64-bit platforms 2015-03-30 09:49:54 +00:00
openfirm.h
openfirmio.c
openfirmio.h
openpromio.c
openpromio.h