freebsd-dev/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 Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus 2014-05-04 04:01:26 +00:00
ofw_bus_subr.c Introduce ofw_bus_reg_to_rl() to replace part of common bus code 2015-01-13 00:00:09 +00:00
ofw_bus_subr.h Introduce ofw_bus_reg_to_rl() to replace part of common bus code 2015-01-13 00:00:09 +00:00
ofw_bus.h Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus 2014-05-04 04:01:26 +00:00
ofw_console.c Use callout(9) instead of timeout(9). 2014-09-02 18:57:19 +00:00
ofw_cpu.c Adda function to iterate over the cpu nodes in the OFW or FDT data. This 2015-02-19 16:34:48 +00:00
ofw_cpu.h Adda function to iterate over the cpu nodes in the OFW or FDT data. This 2015-02-19 16:34:48 +00:00
ofw_disk.c
ofw_fdt.c Return an appropriate error code in the case of a missing property rather 2015-01-17 07:01:51 +00:00
ofw_if.m
ofw_iicbus.c Allow i2c bus speed to be configured via hints, FDT data, and sysctl. 2014-11-18 01:54:31 +00:00
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 Revert rr271190, it was based on a misunderstanding. The problem of 2014-09-06 17:50:59 +00:00
openfirmio.c
openfirmio.h
openpromio.c
openpromio.h