opnsense-src/sys/boot/powerpc/ps3
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 Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix 2011-08-14 00:20:37 +00:00
devicename.c Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix 2011-08-14 00:20:37 +00:00
help.ps3
ldscript.powerpc Rename elf*-powerpc into elf*-powerpc-freebsd in binutils 2014-10-10 06:24:09 +00:00
lv1call.h Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix 2011-08-14 00:20:37 +00:00
lv1call.S Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix 2011-08-14 00:20:37 +00:00
main.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00
Makefile Remove guards around overwriting loader.rc and menu.rc 2015-08-06 16:07:27 +00:00
metadata.c howto_names: unify declaration 2014-03-11 10:13:06 +00:00
ppc64_elf_freebsd.c Allow loader to load 64-bit ELFv2 PowerPC kernels. 2015-12-01 17:01:27 +00:00
ps3.h
ps3bus.h Add support for booting PS3s from disk. This is still a little hackish until 2011-07-16 19:01:09 +00:00
ps3cdrom.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
ps3cons.c
ps3devdesc.h Add support for booting PS3s from disk. This is still a little hackish until 2011-07-16 19:01:09 +00:00
ps3disk.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
ps3mmu.c Fix some unreliability problems related to MSR bits inherited from kboot by 2012-01-15 16:58:44 +00:00
ps3net.c
ps3repo.c Add support for booting PS3s from disk. This is still a little hackish until 2011-07-16 19:01:09 +00:00
ps3repo.h Add support for booting PS3s from disk. This is still a little hackish until 2011-07-16 19:01:09 +00:00
ps3stor.c Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix 2011-08-14 00:20:37 +00:00
ps3stor.h Add support for booting PS3s from disk. This is still a little hackish until 2011-07-16 19:01:09 +00:00
start.S Fix build after r257162. 2013-10-26 23:41:11 +00:00
version Add support for booting PS3s from disk. This is still a little hackish until 2011-07-16 19:01:09 +00:00