freebsd-skq/sys/boot/common
Steven Hartland 022e692a47 Enable warnings in EFI boot code
Set WARNS if not set for EFI boot code and fix the issues highlighted by
setting it.

Most components are set to WARNS level 6 with few being left at lower
levels due to the amount of changes needed to fix at higher levels.

Error types fixed:
* Missing / invalid casts
* Missing inner structs
* Unused vars
* Missing static for internal only funcs
* Missing prototypes
* Alignment changes
* Use of uninitialised vars
* Unknown pragma (intrinsic)
* Missing types etc due to missing includes
* printf formatting types

Reviewed by:	emaste (in part)
MFC after:	2 weeks
X-MFC-With:	r293268
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D4839
2016-01-12 02:17:39 +00:00
..
bcache.c
boot.c
bootstrap.h loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
commands.c
console.c Add a new loader(8) variable, twiddle_divisor, allowing control over the 2014-12-22 22:07:22 +00:00
crc32.c
crc32.h
dev_net.c Refactor net_getparams() to make it easier to get params from sources other 2015-05-18 15:46:43 +00:00
dev_net.h Refactor net_getparams() to make it easier to get params from sources other 2015-05-18 15:46:43 +00:00
devopen.c
disk.c Implement simple ops for umass_disk 2015-11-27 18:17:53 +00:00
disk.h Implement simple ops for umass_disk 2015-11-27 18:17:53 +00:00
gpt.c
gpt.h
help.common
install.c Change the order of the arguments to file_loadraw(). They were swapped 2014-11-01 18:51:48 +00:00
interp_backslash.c
interp_forth.c Give loaders more control over the Forth initialization process. In 2014-07-27 16:12:51 +00:00
interp_parse.c
interp.c Give loaders more control over the Forth initialization process. In 2014-07-27 16:12:51 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
load_elf32.c Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
load_elf64_obj.c
load_elf64.c
load_elf_obj.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
load_elf.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
loader.8 Document loader(8) dumpdev option 2015-11-18 09:42:36 +00:00
ls.c
Makefile Install loader(8) and zfsloader(8) only once 2015-06-19 05:42:24 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
Makefile.inc Install loader(8) and zfsloader(8) only once 2015-06-19 05:42:24 +00:00
md.c Small change in header order to allow this to compile. 2015-04-27 07:38:46 +00:00
merge_help.awk
misc.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
module.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
newvers.sh Make vers.c creation atomic by using a temporary file, then moving 2015-10-24 21:59:58 +00:00
panic.c
part.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
part.h
pnp.c
reloc_elf32.c
reloc_elf64.c
reloc_elf.c
self_reloc.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
ufsread.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
util.c
util.h
zfsloader.8 Misc mdoc fixes: 2014-11-23 21:00:00 +00:00