freebsd-dev/sys/boot/i386/libi386
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
..
amd64_tramp.S don't set CR4 PSE bit on amd64 2014-07-23 15:53:29 +00:00
biosacpi.c Set the hint for physical address of RSDP in hexadecimal as before r223262. 2013-08-23 18:52:36 +00:00
bioscd.c
biosdisk.c Add the flags parameter to the disk_open() function and DISK_F_NOCACHE 2012-10-21 12:14:58 +00:00
biosmem.c Add missing smbios.h #include to mute a -Wimplicit-function-declaration warning 2015-12-20 02:46:51 +00:00
biospci.c Add support for calling pcibios routines from the 2014-09-10 21:07:00 +00:00
biospnp.c
biossmap.c
bootinfo32.c
bootinfo64.c loader: fix the size of MODINFOMD_MODULEP 2015-01-20 12:28:24 +00:00
bootinfo.c howto_names: unify declaration 2014-03-11 10:13:06 +00:00
comconsole.c Add support for serial and null console to UEFI boot loader. 2014-09-12 17:32:28 +00:00
devicename.c Quiesce some clang warnings while we're here doing stuff. 2013-01-14 15:05:22 +00:00
elf32_freebsd.c
elf64_freebsd.c loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
i386_copy.c
i386_module.c
libi386.h pxeboot: make the tftp loader use the option root-path directive 2015-12-16 17:13:09 +00:00
Makefile Since clang 3.6.0 now implements the archetype 'freebsd_kprintf' for 2015-01-28 18:36:33 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
multiboot_tramp.S loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
multiboot.c multiboot: fix error codes 2015-04-01 10:10:20 +00:00
multiboot.h loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
nullconsole.c
pread.c
pxe.c Use human readable representation of ip for the pxeboot.ip kenv 2015-12-16 17:45:03 +00:00
pxe.h Make pxe device in lsdev really include device name, looking like this: 2012-09-12 21:00:37 +00:00
pxetramp.s
smbios.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
smbios.h SMBIOS support for EFI. 2015-04-06 06:55:47 +00:00
spinconsole.c Make this compile when TERM_EMU is not defined. 2014-12-22 19:10:11 +00:00
time.c
vidconsole.c