opnsense-src/sys/boot/powerpc/kboot
Stephen J. Kiernan 5c6b397ff1 The getsecs() function is implemented in platform- and bootfw-specific
files and, in a number of these places, there were problems with how they
were declared.

Some used int return instead of time_t. On some architectures the bit
width of time_t did not naturally fit into an integer and could lead to
some unexpected behavior. (For example, 32-bit ARM builds uses a 64-bit
time_t.)

Make sure the function prototypes always specify void for the argument
list when they do not have any arguemnts, otherwise some compilers can
complain about the prototype.

Reported by:	Kevin Zheng
Reviewed by:	sjg
Approved by:	sjg (mentor)
Obtained from:	Juniper Networks, Inc.
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D7463
2016-09-22 06:24:40 +00:00
..
conf.c Relocate kernel to high address space (a static + 64 MB for now) to avoid 2015-01-31 19:42:08 +00:00
help.kboot
host_syscall.h Allow this to work with disks greater than 4 GB and with names not beginning 2015-02-01 02:02:50 +00:00
host_syscall.S Allow this to work with disks greater than 4 GB and with names not beginning 2015-02-01 02:02:50 +00:00
hostcons.c
hostdisk.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
kbootfdt.c
kerneltramp.S Relocate kernel to high address space (a static + 64 MB for now) to avoid 2015-01-31 19:42:08 +00:00
ldscript.powerpc
main.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00
Makefile The Linux kexec boot loader doesn't need a font built in to it. This got 2015-11-19 01:57:23 +00:00
metadata.c
ppc64_elf_freebsd.c Allow loader to load 64-bit ELFv2 PowerPC kernels. 2015-12-01 17:01:27 +00:00
version