* Get a pointer from an offset. This function assumes the ROM is located * in the host address space at [4G - romsize -> 4G). It also assume all * pointers have values within this address range. */
| 124 | * pointers have values within this address range. |
| 125 | */ |
| 126 | static inline uint32_t offset_to_ptr(fit_offset_converter_t helper, |
| 127 | const struct buffer *region, int offset) |
| 128 | { |
| 129 | return -helper(region, offset); |
| 130 | } |
| 131 | |
| 132 | /* |
| 133 | * Return the number of FIT entries. |
no outgoing calls
no test coverage detected