1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/boot/efi/include
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 Fix _MSC_EXTENSIONS checks 2016-01-06 20:22:28 +00:00
arm
arm64 Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
i386 Fix _MSC_EXTENSIONS checks 2016-01-06 20:22:28 +00:00
efi_nii.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efi.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efiapi.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
eficon.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
eficonsctl.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efidebug.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efidef.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efidevp.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efierr.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efifpswa.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efifs.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efigop.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efilib.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efinet.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efipart.h Revert accidental whitespace changes included with r292623 2015-12-22 20:40:34 +00:00
efipciio.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efiprot.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efipxebc.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efiser.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
efistdarg.h
efiuga.h Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
README

/* $FreeBSD$ */
/*-

Files in this directory and subdirectories are subject to the following
copyright unless superceded or supplemented by additional specific license
terms found in the file headers of individual files.

Copyright (c) 1998-2000 Intel Corporation

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL INTEL BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE. THE EFI SPECIFICATION AND ALL
OTHER INFORMATION ON THIS WEB SITE ARE PROVIDED "AS IS" WITH NO
WARRANTIES, AND ARE SUBJECT TO CHANGE WITHOUT NOTICE.

*/