freebsd-src/stand/libofw
Justin Hibbits cd6e526e26 loader/libofw: Fix disk size truncation
At present OF_ioctl first multiplies, then casts to 64-bit, meaning at
the asm level it truncates the result to 32-bit, then zero-extends it to
64-bit to return.  Cast `n` to 64-bit before multiplying, so that the
correct result is returned.
2024-02-20 22:17:26 -05:00
..
devicename.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
libofw.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ofw_console.c stand: Use modern function definitions 2024-01-28 13:04:31 -07:00
ofw_copy.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ofw_disk.c loader/libofw: Fix disk size truncation 2024-02-20 22:17:26 -05:00
ofw_memory.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_module.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ofw_net.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_reboot.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ofw_time.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
openfirm.c stand: Use modern function definitions 2024-01-28 13:04:31 -07:00
openfirm.h stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00