mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 15:24:40 -05:00
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 |
||
|---|---|---|
| .. | ||
| ofw_bus.h | ||
| ofw_bus_if.m | ||
| ofw_bus_subr.c | ||
| ofw_bus_subr.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 | ||
| ofwvar.h | ||
| openfirm.c | ||
| openfirm.h | ||
| openfirmio.c | ||
| openfirmio.h | ||
| openpromio.c | ||
| openpromio.h | ||