mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 23:28:37 -04:00
Summary: The idea behind this is '~0ul' is well-defined, and casting to uintmax_t, on a 32-bit platform, will leave the upper 32 bits as 0. The maximum range of a resource is 0xFFF.... (all bits of the full type set). By dropping the 'ul' suffix, C type promotion rules apply, and the sign extension of ~0 on 32 bit platforms gets it to a type-independent 'unsigned max'. Reviewed By: cem Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D5255 |
||
|---|---|---|
| .. | ||
| bcma | ||
| bhndb | ||
| cores | ||
| nvram | ||
| siba | ||
| tools | ||
| bcmsrom_fmt.h | ||
| bcmsrom_tbl.h | ||
| bhnd.c | ||
| bhnd.h | ||
| bhnd_bus_if.m | ||
| bhnd_core.h | ||
| bhnd_ids.h | ||
| bhnd_subr.c | ||
| bhnd_types.h | ||
| bhndreg.h | ||
| bhndvar.h | ||