diff options
author | Laszlo Ersek <lersek@redhat.com> | 2021-05-26 22:14:13 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-04 16:01:50 +0000 |
commit | cc302b799e06d2ef4879f93472344a5e27e95bd0 (patch) | |
tree | 705b67bc3051e4d23cc26a9a315904a35d41df62 /OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.c | |
parent | 747b1ef72543c321c386198641a29de7f8537520 (diff) | |
download | edk2-cc302b799e06d2ef4879f93472344a5e27e95bd0.tar.gz edk2-cc302b799e06d2ef4879f93472344a5e27e95bd0.tar.bz2 edk2-cc302b799e06d2ef4879f93472344a5e27e95bd0.zip |
OvmfPkg/AcpiPlatformDxe: consolidate #includes and [LibraryClasses]
- #include only such public headers in "AcpiPlatform.h" that are required
by the function declarations and type definitions introduced in
"AcpiPlatform.h". Don't use "AcpiPlatform.h" as a convenience #include
file.
- In every file, list every necessary public #include individually, with
an example identifier that's actually consumed.
- Remove unnecessary lib classes, add unlisted lib classes.
- Remove unnecessary #include directives, add unlisted #include
directives.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210526201446.12554-11-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.c')
0 files changed, 0 insertions, 0 deletions